From 91fbd9506ce8e340c20a3cac5128fc2313e9fb0c Mon Sep 17 00:00:00 2001 From: Yang Song Date: Mon, 10 Sep 2018 12:40:45 -0700 Subject: [PATCH] Update gen-go files. (#101) --- gen-go/agent/common/v1/common.pb.go | 107 +++++++++++++++------------- 1 file changed, 59 insertions(+), 48 deletions(-) diff --git a/gen-go/agent/common/v1/common.pb.go b/gen-go/agent/common/v1/common.pb.go index 36a613b..e660a1b 100644 --- a/gen-go/agent/common/v1/common.pb.go +++ b/gen-go/agent/common/v1/common.pb.go @@ -63,7 +63,7 @@ func (x LibraryInfo_Language) String() string { return proto.EnumName(LibraryInfo_Language_name, int32(x)) } func (LibraryInfo_Language) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_common_16e6d73ff146d81e, []int{2, 0} + return fileDescriptor_common_6a3a6d43226976c4, []int{2, 0} } // Identifier metadata of the Node that connects to OpenCensus Agent. @@ -87,7 +87,7 @@ func (m *Node) Reset() { *m = Node{} } func (m *Node) String() string { return proto.CompactTextString(m) } func (*Node) ProtoMessage() {} func (*Node) Descriptor() ([]byte, []int) { - return fileDescriptor_common_16e6d73ff146d81e, []int{0} + return fileDescriptor_common_6a3a6d43226976c4, []int{0} } func (m *Node) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Node.Unmarshal(m, b) @@ -153,7 +153,7 @@ func (m *ProcessIdentifier) Reset() { *m = ProcessIdentifier{} } func (m *ProcessIdentifier) String() string { return proto.CompactTextString(m) } func (*ProcessIdentifier) ProtoMessage() {} func (*ProcessIdentifier) Descriptor() ([]byte, []int) { - return fileDescriptor_common_16e6d73ff146d81e, []int{1} + return fileDescriptor_common_6a3a6d43226976c4, []int{1} } func (m *ProcessIdentifier) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ProcessIdentifier.Unmarshal(m, b) @@ -199,7 +199,9 @@ type LibraryInfo struct { // Language of OpenCensus Library. Language LibraryInfo_Language `protobuf:"varint,1,opt,name=language,proto3,enum=opencensus.proto.agent.common.v1.LibraryInfo_Language" json:"language,omitempty"` // Version of Agent exporter of Library. - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + ExporterVersion string `protobuf:"bytes,2,opt,name=exporter_version,json=exporterVersion,proto3" json:"exporter_version,omitempty"` + // Version of OpenCensus Library. + CoreLibraryVersion string `protobuf:"bytes,3,opt,name=core_library_version,json=coreLibraryVersion,proto3" json:"core_library_version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -209,7 +211,7 @@ func (m *LibraryInfo) Reset() { *m = LibraryInfo{} } func (m *LibraryInfo) String() string { return proto.CompactTextString(m) } func (*LibraryInfo) ProtoMessage() {} func (*LibraryInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_common_16e6d73ff146d81e, []int{2} + return fileDescriptor_common_6a3a6d43226976c4, []int{2} } func (m *LibraryInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LibraryInfo.Unmarshal(m, b) @@ -236,9 +238,16 @@ func (m *LibraryInfo) GetLanguage() LibraryInfo_Language { return LibraryInfo_LANGUAGE_UNSPECIFIED } -func (m *LibraryInfo) GetVersion() string { +func (m *LibraryInfo) GetExporterVersion() string { if m != nil { - return m.Version + return m.ExporterVersion + } + return "" +} + +func (m *LibraryInfo) GetCoreLibraryVersion() string { + if m != nil { + return m.CoreLibraryVersion } return "" } @@ -256,7 +265,7 @@ func (m *ServiceInfo) Reset() { *m = ServiceInfo{} } func (m *ServiceInfo) String() string { return proto.CompactTextString(m) } func (*ServiceInfo) ProtoMessage() {} func (*ServiceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_common_16e6d73ff146d81e, []int{3} + return fileDescriptor_common_6a3a6d43226976c4, []int{3} } func (m *ServiceInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServiceInfo.Unmarshal(m, b) @@ -293,44 +302,46 @@ func init() { } func init() { - proto.RegisterFile("opencensus/proto/agent/common/v1/common.proto", fileDescriptor_common_16e6d73ff146d81e) -} - -var fileDescriptor_common_16e6d73ff146d81e = []byte{ - // 555 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xc1, 0x6f, 0xda, 0x30, - 0x14, 0xc6, 0x17, 0x42, 0x0b, 0xbc, 0x6c, 0x6d, 0x66, 0xf5, 0x80, 0xba, 0xc3, 0x3a, 0x76, 0xe9, - 0x85, 0x44, 0x6d, 0xa5, 0x69, 0x9a, 0xb4, 0x43, 0x4a, 0xb3, 0x96, 0x0a, 0xa5, 0x91, 0x29, 0x95, - 0xba, 0x4b, 0x14, 0xc0, 0xa4, 0xd6, 0x88, 0x8d, 0x62, 0x07, 0x89, 0xd3, 0x8e, 0xd5, 0xfe, 0x81, - 0xfd, 0xbd, 0x93, 0xe3, 0x00, 0xd1, 0x7a, 0xa0, 0xb7, 0xf7, 0xfc, 0xbe, 0xef, 0x97, 0xe8, 0xf3, - 0x93, 0xa1, 0xcb, 0x17, 0x84, 0x4d, 0x08, 0x13, 0xb9, 0x70, 0x17, 0x19, 0x97, 0xdc, 0x8d, 0x13, - 0xc2, 0xa4, 0x3b, 0xe1, 0x69, 0xca, 0x99, 0xbb, 0x3c, 0x2b, 0x2b, 0xa7, 0x18, 0xa2, 0x93, 0xad, - 0x5c, 0x9f, 0x38, 0x85, 0xdc, 0x29, 0x45, 0xcb, 0xb3, 0xe3, 0x8f, 0x09, 0xe7, 0xc9, 0x9c, 0x68, - 0xd8, 0x38, 0x9f, 0xb9, 0x92, 0xa6, 0x44, 0xc8, 0x38, 0x5d, 0x68, 0x43, 0xe7, 0xaf, 0x09, 0xf5, - 0x80, 0x4f, 0x09, 0x1a, 0x02, 0xd0, 0x29, 0x61, 0x92, 0xce, 0x28, 0xc9, 0xda, 0xc6, 0x89, 0x71, - 0x6a, 0x9d, 0x5f, 0x38, 0xbb, 0x3e, 0xe0, 0x84, 0x19, 0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0x75, 0x93, 0x17, 0x0f, 0xc4, 0x78, 0xbf, 0x98, 0x5e, 0xfc, 0x0b, 0x00, - 0x00, 0xff, 0xff, 0x5d, 0x1d, 0xe4, 0xde, 0x4b, 0x04, 0x00, 0x00, + proto.RegisterFile("opencensus/proto/agent/common/v1/common.proto", fileDescriptor_common_6a3a6d43226976c4) +} + +var fileDescriptor_common_6a3a6d43226976c4 = []byte{ + // 590 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x4f, 0x4f, 0xdb, 0x3e, + 0x1c, 0xc6, 0x7f, 0x69, 0x0a, 0xb4, 0xdf, 0xfc, 0x06, 0x99, 0xc5, 0xa1, 0x62, 0x87, 0xb1, 0xee, + 0xc2, 0x0e, 0x4d, 0x06, 0x48, 0xd3, 0x34, 0x69, 0x87, 0x52, 0x3a, 0x28, 0x42, 0x25, 0x72, 0x01, + 0x89, 0x5d, 0xa2, 0xb4, 0xb8, 0xc1, 0x5a, 0x63, 0x57, 0xb6, 0x53, 0x8d, 0xd3, 0x8e, 0xd3, 0xde, + 0xc0, 0x5e, 0xd4, 0x5e, 0xd5, 0x64, 0x3b, 0x69, 0xa3, 0x71, 0x28, 0xb7, 0xef, 0x9f, 0xe7, 0xf9, + 0x38, 0x7a, 0x6c, 0x05, 0x3a, 0x7c, 0x4e, 0xd8, 0x84, 0x30, 0x99, 0xcb, 0x70, 0x2e, 0xb8, 0xe2, + 0x61, 0x92, 0x12, 0xa6, 0xc2, 0x09, 0xcf, 0x32, 0xce, 0xc2, 0xc5, 0x61, 0x51, 0x05, 0x66, 0x89, + 0xf6, 0x57, 0x72, 0x3b, 0x09, 0x8c, 0x3c, 0x28, 0x44, 0x8b, 0xc3, 0xbd, 0xd7, 0x29, 0xe7, 0xe9, + 0x8c, 0x58, 0xd8, 0x38, 0x9f, 0x86, 0x8a, 0x66, 0x44, 0xaa, 0x24, 0x9b, 0x5b, 0x43, 0xfb, 0xb7, + 0x0b, 0xf5, 0x21, 0xbf, 0x27, 0x68, 0x04, 0x40, 0xef, 0x09, 0x53, 0x74, 0x4a, 0x89, 0x68, 0x39, + 0xfb, 0xce, 0x81, 0x77, 0x74, 0x1c, 0xac, 0x3b, 0x20, 0x88, 0x04, 0x9f, 0x10, 0x29, 0x07, 0x4b, + 0x2b, 0xae, 0x60, 0x50, 0x04, 0xff, 0xcf, 0xe8, 0x58, 0x24, 0xe2, 0x31, 0xa6, 0x6c, 0xca, 0x5b, + 0x35, 0x83, 0xed, 0xac, 0xc7, 0x5e, 0x5a, 0xd7, 0x80, 0x4d, 0x39, 0xf6, 0x66, 0xab, 0x46, 0x13, + 0x25, 0x11, 0x0b, 0x3a, 0x21, 0x96, 0xe8, 0x3e, 0x97, 0x38, 0xb2, 0x2e, 0x4b, 0x94, 0xab, 0x06, + 0xdd, 0x02, 0x24, 0x4a, 0x09, 0x3a, 0xce, 0x15, 0x91, 0xad, 0xfa, 0xbe, 0x7b, 0xe0, 0x1d, 0x7d, + 0x58, 0xcf, 0xd3, 0xa1, 0x05, 0xdd, 0xa5, 0xb1, 0xcf, 0x94, 0x78, 0xc4, 0x15, 0xd2, 0xde, 0x67, + 0xd8, 0xf9, 0x67, 0x8d, 0x7c, 0x70, 0xbf, 0x91, 0x47, 0x13, 0x6e, 0x13, 0xeb, 0x12, 0xed, 0xc2, + 0xc6, 0x22, 0x99, 0xe5, 0xc4, 0x24, 0xd3, 0xc4, 0xb6, 0xf9, 0x54, 0xfb, 0xe8, 0xb4, 0x7f, 0x3a, + 0xf0, 0xf2, 0x49, 0xb8, 0xe8, 0x15, 0x34, 0x1f, 0xb8, 0x54, 0x31, 0x4b, 0x32, 0x52, 0x70, 0x1a, + 0x7a, 0x30, 0x4c, 0x32, 0xa2, 0xf1, 0x73, 0x7a, 0x6f, 0x50, 0x2f, 0xb0, 0x2e, 0x51, 0x0f, 0x76, + 0xa4, 0x4a, 0x84, 0x8a, 0x97, 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