| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/monitoring/v3/dropped_labels.proto |
| |
| package monitoring |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| math "math" |
| ) |
| |
| // 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 |
| |
| // A set of (label, value) pairs which were dropped during aggregation, attached |
| // to google.api.Distribution.Exemplars in google.api.Distribution values during |
| // aggregation. |
| // |
| // These values are used in combination with the label values that remain on the |
| // aggregated Distribution timeseries to construct the full label set for the |
| // exemplar values. The resulting full label set may be used to identify the |
| // specific task/job/instance (for example) which may be contributing to a |
| // long-tail, while allowing the storage savings of only storing aggregated |
| // distribution values for a large group. |
| // |
| // Note that there are no guarantees on ordering of the labels from |
| // exemplar-to-exemplar and from distribution-to-distribution in the same |
| // stream, and there may be duplicates. It is up to clients to resolve any |
| // ambiguities. |
| type DroppedLabels struct { |
| // Map from label to its value, for all labels dropped in any aggregation. |
| Label map[string]string `protobuf:"bytes,1,rep,name=label,proto3" json:"label,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DroppedLabels) Reset() { *m = DroppedLabels{} } |
| func (m *DroppedLabels) String() string { return proto.CompactTextString(m) } |
| func (*DroppedLabels) ProtoMessage() {} |
| func (*DroppedLabels) Descriptor() ([]byte, []int) { |
| return fileDescriptor_15749142c06d7f43, []int{0} |
| } |
| |
| func (m *DroppedLabels) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DroppedLabels.Unmarshal(m, b) |
| } |
| func (m *DroppedLabels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DroppedLabels.Marshal(b, m, deterministic) |
| } |
| func (m *DroppedLabels) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DroppedLabels.Merge(m, src) |
| } |
| func (m *DroppedLabels) XXX_Size() int { |
| return xxx_messageInfo_DroppedLabels.Size(m) |
| } |
| func (m *DroppedLabels) XXX_DiscardUnknown() { |
| xxx_messageInfo_DroppedLabels.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DroppedLabels proto.InternalMessageInfo |
| |
| func (m *DroppedLabels) GetLabel() map[string]string { |
| if m != nil { |
| return m.Label |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*DroppedLabels)(nil), "google.monitoring.v3.DroppedLabels") |
| proto.RegisterMapType((map[string]string)(nil), "google.monitoring.v3.DroppedLabels.LabelEntry") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/monitoring/v3/dropped_labels.proto", fileDescriptor_15749142c06d7f43) |
| } |
| |
| var fileDescriptor_15749142c06d7f43 = []byte{ |
| // 219 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4c, 0xcf, 0xcf, 0x4f, |
| 0xcf, 0x49, 0xd5, 0xcf, 0xcd, 0xcf, 0xcb, 0x2c, 0xc9, 0x2f, 0xca, 0xcc, 0x4b, 0xd7, 0x2f, 0x33, |
| 0xd6, 0x4f, 0x29, 0xca, 0x2f, 0x28, 0x48, 0x4d, 0x89, 0xcf, 0x49, 0x4c, 0x4a, 0xcd, 0x29, 0xd6, |
| 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x81, 0x28, 0xd5, 0x43, 0x28, 0xd5, 0x2b, 0x33, 0x96, |
| 0x92, 0x81, 0x1a, 0x90, 0x58, 0x90, 0xa9, 0x9f, 0x98, 0x97, 0x97, 0x5f, 0x92, 0x58, 0x92, 0x99, |
| 0x9f, 0x07, 0xd5, 0xa3, 0xd4, 0xcf, 0xc8, 0xc5, 0xeb, 0x02, 0x31, 0xcc, 0x07, 0x6c, 0x96, 0x90, |
| 0x0b, 0x17, 0x2b, 0xd8, 0x54, 0x09, 0x46, 0x05, 0x66, 0x0d, 0x6e, 0x23, 0x3d, 0x3d, 0x6c, 0xa6, |
| 0xea, 0xa1, 0xe8, 0xd1, 0x03, 0x53, 0xae, 0x79, 0x25, 0x45, 0x95, 0x41, 0x10, 0xcd, 0x52, 0x16, |
| 0x5c, 0x5c, 0x08, 0x41, 0x21, 0x01, 0x2e, 0xe6, 0xec, 0xd4, 0x4a, 0x09, 0x46, 0x05, 0x46, 0x0d, |
| 0xce, 0x20, 0x10, 0x53, 0x48, 0x84, 0x8b, 0xb5, 0x2c, 0x31, 0xa7, 0x34, 0x55, 0x82, 0x09, 0x2c, |
| 0x06, 0xe1, 0x58, 0x31, 0x59, 0x30, 0x3a, 0x39, 0x44, 0xd9, 0x41, 0x6d, 0x4c, 0xcf, 0xcf, 0x49, |
| 0xcc, 0x4b, 0xd7, 0xcb, 0x2f, 0x4a, 0xd7, 0x4f, 0x4f, 0xcd, 0x03, 0xbb, 0x57, 0x1f, 0x22, 0x95, |
| 0x58, 0x90, 0x59, 0x8c, 0x1a, 0x22, 0xd6, 0x08, 0x5e, 0x12, 0x1b, 0x58, 0xa9, 0x31, 0x20, 0x00, |
| 0x00, 0xff, 0xff, 0x7e, 0x29, 0xf8, 0x00, 0x3b, 0x01, 0x00, 0x00, |
| } |