diff options
Diffstat (limited to 'pkg/metric')
-rw-r--r-- | pkg/metric/metric_go_proto/metric.pb.go | 41 |
1 files changed, 18 insertions, 23 deletions
diff --git a/pkg/metric/metric_go_proto/metric.pb.go b/pkg/metric/metric_go_proto/metric.pb.go index 7d327e3a0..d690d605d 100644 --- a/pkg/metric/metric_go_proto/metric.pb.go +++ b/pkg/metric/metric_go_proto/metric.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.25.0 -// protoc v3.13.0 +// protoc-gen-go v1.27.1 +// protoc v3.17.0 // source: pkg/metric/metric.proto -package gvisor +package metric_go_proto import ( - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" ) @@ -22,10 +21,6 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - type MetricMetadata_Type int32 const ( @@ -352,9 +347,9 @@ type StageTiming struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Stage string `protobuf:"bytes,1,opt,name=stage,proto3" json:"stage,omitempty"` - Started *timestamp.Timestamp `protobuf:"bytes,2,opt,name=started,proto3" json:"started,omitempty"` - Ended *timestamp.Timestamp `protobuf:"bytes,3,opt,name=ended,proto3" json:"ended,omitempty"` + Stage string `protobuf:"bytes,1,opt,name=stage,proto3" json:"stage,omitempty"` + Started *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=started,proto3" json:"started,omitempty"` + Ended *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=ended,proto3" json:"ended,omitempty"` } func (x *StageTiming) Reset() { @@ -396,14 +391,14 @@ func (x *StageTiming) GetStage() string { return "" } -func (x *StageTiming) GetStarted() *timestamp.Timestamp { +func (x *StageTiming) GetStarted() *timestamppb.Timestamp { if x != nil { return x.Started } return nil } -func (x *StageTiming) GetEnded() *timestamp.Timestamp { +func (x *StageTiming) GetEnded() *timestamppb.Timestamp { if x != nil { return x.Ended } @@ -602,15 +597,15 @@ func file_pkg_metric_metric_proto_rawDescGZIP() []byte { var file_pkg_metric_metric_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_pkg_metric_metric_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_pkg_metric_metric_proto_goTypes = []interface{}{ - (MetricMetadata_Type)(0), // 0: gvisor.MetricMetadata.Type - (MetricMetadata_Units)(0), // 1: gvisor.MetricMetadata.Units - (*MetricMetadata)(nil), // 2: gvisor.MetricMetadata - (*MetricRegistration)(nil), // 3: gvisor.MetricRegistration - (*MetricValue)(nil), // 4: gvisor.MetricValue - (*StageTiming)(nil), // 5: gvisor.StageTiming - (*MetricUpdate)(nil), // 6: gvisor.MetricUpdate - (*MetricMetadata_Field)(nil), // 7: gvisor.MetricMetadata.Field - (*timestamp.Timestamp)(nil), // 8: google.protobuf.Timestamp + (MetricMetadata_Type)(0), // 0: gvisor.MetricMetadata.Type + (MetricMetadata_Units)(0), // 1: gvisor.MetricMetadata.Units + (*MetricMetadata)(nil), // 2: gvisor.MetricMetadata + (*MetricRegistration)(nil), // 3: gvisor.MetricRegistration + (*MetricValue)(nil), // 4: gvisor.MetricValue + (*StageTiming)(nil), // 5: gvisor.StageTiming + (*MetricUpdate)(nil), // 6: gvisor.MetricUpdate + (*MetricMetadata_Field)(nil), // 7: gvisor.MetricMetadata.Field + (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp } var file_pkg_metric_metric_proto_depIdxs = []int32{ 0, // 0: gvisor.MetricMetadata.type:type_name -> gvisor.MetricMetadata.Type |