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.
 
 
 

97 lines
4.1 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/monitoring/v3/span_context.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. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  16. // The context of a span, attached to google.api.Distribution.Exemplars
  17. // in google.api.Distribution values during aggregation.
  18. //
  19. // It contains the name of a span with format:
  20. // projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
  21. type SpanContext struct {
  22. // The resource name of the span in the following format:
  23. //
  24. // projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
  25. //
  26. // [TRACE_ID] is a unique identifier for a trace within a project;
  27. // it is a 32-character hexadecimal encoding of a 16-byte array.
  28. //
  29. // [SPAN_ID] is a unique identifier for a span within a trace; it
  30. // is a 16-character hexadecimal encoding of an 8-byte array.
  31. SpanName string `protobuf:"bytes,1,opt,name=span_name,json=spanName,proto3" json:"span_name,omitempty"`
  32. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  33. XXX_unrecognized []byte `json:"-"`
  34. XXX_sizecache int32 `json:"-"`
  35. }
  36. func (m *SpanContext) Reset() { *m = SpanContext{} }
  37. func (m *SpanContext) String() string { return proto.CompactTextString(m) }
  38. func (*SpanContext) ProtoMessage() {}
  39. func (*SpanContext) Descriptor() ([]byte, []int) {
  40. return fileDescriptor_span_context_aa1fe2a94ea2015a, []int{0}
  41. }
  42. func (m *SpanContext) XXX_Unmarshal(b []byte) error {
  43. return xxx_messageInfo_SpanContext.Unmarshal(m, b)
  44. }
  45. func (m *SpanContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  46. return xxx_messageInfo_SpanContext.Marshal(b, m, deterministic)
  47. }
  48. func (dst *SpanContext) XXX_Merge(src proto.Message) {
  49. xxx_messageInfo_SpanContext.Merge(dst, src)
  50. }
  51. func (m *SpanContext) XXX_Size() int {
  52. return xxx_messageInfo_SpanContext.Size(m)
  53. }
  54. func (m *SpanContext) XXX_DiscardUnknown() {
  55. xxx_messageInfo_SpanContext.DiscardUnknown(m)
  56. }
  57. var xxx_messageInfo_SpanContext proto.InternalMessageInfo
  58. func (m *SpanContext) GetSpanName() string {
  59. if m != nil {
  60. return m.SpanName
  61. }
  62. return ""
  63. }
  64. func init() {
  65. proto.RegisterType((*SpanContext)(nil), "google.monitoring.v3.SpanContext")
  66. }
  67. func init() {
  68. proto.RegisterFile("google/monitoring/v3/span_context.proto", fileDescriptor_span_context_aa1fe2a94ea2015a)
  69. }
  70. var fileDescriptor_span_context_aa1fe2a94ea2015a = []byte{
  71. // 197 bytes of a gzipped FileDescriptorProto
  72. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0xcf, 0xcf, 0x4f,
  73. 0xcf, 0x49, 0xd5, 0xcf, 0xcd, 0xcf, 0xcb, 0x2c, 0xc9, 0x2f, 0xca, 0xcc, 0x4b, 0xd7, 0x2f, 0x33,
  74. 0xd6, 0x2f, 0x2e, 0x48, 0xcc, 0x8b, 0x4f, 0xce, 0xcf, 0x2b, 0x49, 0xad, 0x28, 0xd1, 0x2b, 0x28,
  75. 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x81, 0x28, 0xd4, 0x43, 0x28, 0xd4, 0x2b, 0x33, 0x56, 0xd2, 0xe2,
  76. 0xe2, 0x0e, 0x2e, 0x48, 0xcc, 0x73, 0x86, 0x28, 0x15, 0x92, 0xe6, 0xe2, 0x04, 0x6b, 0xcd, 0x4b,
  77. 0xcc, 0x4d, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0xe2, 0x00, 0x09, 0xf8, 0x25, 0xe6, 0xa6,
  78. 0x3a, 0xad, 0x60, 0xe4, 0x92, 0x48, 0xce, 0xcf, 0xd5, 0xc3, 0x66, 0x90, 0x93, 0x00, 0x92, 0x31,
  79. 0x01, 0x20, 0x0b, 0x03, 0x18, 0xa3, 0xec, 0xa0, 0x2a, 0xd3, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5,
  80. 0xf2, 0x8b, 0xd2, 0xf5, 0xd3, 0x53, 0xf3, 0xc0, 0xce, 0xd1, 0x87, 0x48, 0x25, 0x16, 0x64, 0x16,
  81. 0xa3, 0x3a, 0xdd, 0x1a, 0xc1, 0x5b, 0xc5, 0x24, 0xe5, 0x0e, 0x31, 0xc0, 0x39, 0x27, 0xbf, 0x34,
  82. 0x45, 0xcf, 0x17, 0x61, 0x61, 0x98, 0xf1, 0x29, 0x98, 0x64, 0x0c, 0x58, 0x32, 0x06, 0x21, 0x19,
  83. 0x13, 0x66, 0x9c, 0xc4, 0x06, 0xb6, 0xc4, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xbd, 0x19, 0x01,
  84. 0xcb, 0x1e, 0x01, 0x00, 0x00,
  85. }