You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

102 lines
4.8 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/monitoring/v3/dropped_labels.proto
  3. package monitoring // import "google.golang.org/genproto/googleapis/monitoring/v3"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "google.golang.org/genproto/googleapis/api/annotations"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // A set of (label, value) pairs which were dropped during aggregation, attached
  18. // to google.api.Distribution.Exemplars in google.api.Distribution values during
  19. // aggregation.
  20. //
  21. // These values are used in combination with the label values that remain on the
  22. // aggregated Distribution timeseries to construct the full label set for the
  23. // exemplar values. The resulting full label set may be used to identify the
  24. // specific task/job/instance (for example) which may be contributing to a
  25. // long-tail, while allowing the storage savings of only storing aggregated
  26. // distribution values for a large group.
  27. //
  28. // Note that there are no guarantees on ordering of the labels from
  29. // exemplar-to-exemplar and from distribution-to-distribution in the same
  30. // stream, and there may be duplicates. It is up to clients to resolve any
  31. // ambiguities.
  32. type DroppedLabels struct {
  33. // Map from label to its value, for all labels dropped in any aggregation.
  34. 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"`
  35. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  36. XXX_unrecognized []byte `json:"-"`
  37. XXX_sizecache int32 `json:"-"`
  38. }
  39. func (m *DroppedLabels) Reset() { *m = DroppedLabels{} }
  40. func (m *DroppedLabels) String() string { return proto.CompactTextString(m) }
  41. func (*DroppedLabels) ProtoMessage() {}
  42. func (*DroppedLabels) Descriptor() ([]byte, []int) {
  43. return fileDescriptor_dropped_labels_c5acb2f32342b6c7, []int{0}
  44. }
  45. func (m *DroppedLabels) XXX_Unmarshal(b []byte) error {
  46. return xxx_messageInfo_DroppedLabels.Unmarshal(m, b)
  47. }
  48. func (m *DroppedLabels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  49. return xxx_messageInfo_DroppedLabels.Marshal(b, m, deterministic)
  50. }
  51. func (dst *DroppedLabels) XXX_Merge(src proto.Message) {
  52. xxx_messageInfo_DroppedLabels.Merge(dst, src)
  53. }
  54. func (m *DroppedLabels) XXX_Size() int {
  55. return xxx_messageInfo_DroppedLabels.Size(m)
  56. }
  57. func (m *DroppedLabels) XXX_DiscardUnknown() {
  58. xxx_messageInfo_DroppedLabels.DiscardUnknown(m)
  59. }
  60. var xxx_messageInfo_DroppedLabels proto.InternalMessageInfo
  61. func (m *DroppedLabels) GetLabel() map[string]string {
  62. if m != nil {
  63. return m.Label
  64. }
  65. return nil
  66. }
  67. func init() {
  68. proto.RegisterType((*DroppedLabels)(nil), "google.monitoring.v3.DroppedLabels")
  69. proto.RegisterMapType((map[string]string)(nil), "google.monitoring.v3.DroppedLabels.LabelEntry")
  70. }
  71. func init() {
  72. proto.RegisterFile("google/monitoring/v3/dropped_labels.proto", fileDescriptor_dropped_labels_c5acb2f32342b6c7)
  73. }
  74. var fileDescriptor_dropped_labels_c5acb2f32342b6c7 = []byte{
  75. // 219 bytes of a gzipped FileDescriptorProto
  76. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4c, 0xcf, 0xcf, 0x4f,
  77. 0xcf, 0x49, 0xd5, 0xcf, 0xcd, 0xcf, 0xcb, 0x2c, 0xc9, 0x2f, 0xca, 0xcc, 0x4b, 0xd7, 0x2f, 0x33,
  78. 0xd6, 0x4f, 0x29, 0xca, 0x2f, 0x28, 0x48, 0x4d, 0x89, 0xcf, 0x49, 0x4c, 0x4a, 0xcd, 0x29, 0xd6,
  79. 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x81, 0x28, 0xd5, 0x43, 0x28, 0xd5, 0x2b, 0x33, 0x96,
  80. 0x92, 0x81, 0x1a, 0x90, 0x58, 0x90, 0xa9, 0x9f, 0x98, 0x97, 0x97, 0x5f, 0x92, 0x58, 0x92, 0x99,
  81. 0x9f, 0x07, 0xd5, 0xa3, 0xd4, 0xcf, 0xc8, 0xc5, 0xeb, 0x02, 0x31, 0xcc, 0x07, 0x6c, 0x96, 0x90,
  82. 0x0b, 0x17, 0x2b, 0xd8, 0x54, 0x09, 0x46, 0x05, 0x66, 0x0d, 0x6e, 0x23, 0x3d, 0x3d, 0x6c, 0xa6,
  83. 0xea, 0xa1, 0xe8, 0xd1, 0x03, 0x53, 0xae, 0x79, 0x25, 0x45, 0x95, 0x41, 0x10, 0xcd, 0x52, 0x16,
  84. 0x5c, 0x5c, 0x08, 0x41, 0x21, 0x01, 0x2e, 0xe6, 0xec, 0xd4, 0x4a, 0x09, 0x46, 0x05, 0x46, 0x0d,
  85. 0xce, 0x20, 0x10, 0x53, 0x48, 0x84, 0x8b, 0xb5, 0x2c, 0x31, 0xa7, 0x34, 0x55, 0x82, 0x09, 0x2c,
  86. 0x06, 0xe1, 0x58, 0x31, 0x59, 0x30, 0x3a, 0x39, 0x44, 0xd9, 0x41, 0x6d, 0x4c, 0xcf, 0xcf, 0x49,
  87. 0xcc, 0x4b, 0xd7, 0xcb, 0x2f, 0x4a, 0xd7, 0x4f, 0x4f, 0xcd, 0x03, 0xbb, 0x57, 0x1f, 0x22, 0x95,
  88. 0x58, 0x90, 0x59, 0x8c, 0x1a, 0x22, 0xd6, 0x08, 0x5e, 0x12, 0x1b, 0x58, 0xa9, 0x31, 0x20, 0x00,
  89. 0x00, 0xff, 0xff, 0x7e, 0x29, 0xf8, 0x00, 0x3b, 0x01, 0x00, 0x00,
  90. }