-
Notifications
You must be signed in to change notification settings - Fork 1
/
list_metric_states.pb.go
170 lines (152 loc) · 7.1 KB
/
list_metric_states.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: list_metric_states.proto
package stream
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
metadata_center "github.com/easyopsapis/easyops-api-go/protorepo-models/easyops/model/metadata_center"
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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//ListMetricStates返回
type ListMetricStatesResponse struct {
//
//指标项列表
States []*metadata_center.StreamMetricSchema `protobuf:"bytes,1,rep,name=states,proto3" json:"states" form:"states"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListMetricStatesResponse) Reset() { *m = ListMetricStatesResponse{} }
func (m *ListMetricStatesResponse) String() string { return proto.CompactTextString(m) }
func (*ListMetricStatesResponse) ProtoMessage() {}
func (*ListMetricStatesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_6eb20b8db076fffc, []int{0}
}
func (m *ListMetricStatesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListMetricStatesResponse.Unmarshal(m, b)
}
func (m *ListMetricStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListMetricStatesResponse.Marshal(b, m, deterministic)
}
func (m *ListMetricStatesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListMetricStatesResponse.Merge(m, src)
}
func (m *ListMetricStatesResponse) XXX_Size() int {
return xxx_messageInfo_ListMetricStatesResponse.Size(m)
}
func (m *ListMetricStatesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListMetricStatesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListMetricStatesResponse proto.InternalMessageInfo
func (m *ListMetricStatesResponse) GetStates() []*metadata_center.StreamMetricSchema {
if m != nil {
return m.States
}
return nil
}
//
//ListMetricStatesApi返回
type ListMetricStatesResponseWrapper struct {
//
//返回码
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
//
//返回码解释
CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
//
//错误详情
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
//
//返回数据
Data *ListMetricStatesResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListMetricStatesResponseWrapper) Reset() { *m = ListMetricStatesResponseWrapper{} }
func (m *ListMetricStatesResponseWrapper) String() string { return proto.CompactTextString(m) }
func (*ListMetricStatesResponseWrapper) ProtoMessage() {}
func (*ListMetricStatesResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_6eb20b8db076fffc, []int{1}
}
func (m *ListMetricStatesResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListMetricStatesResponseWrapper.Unmarshal(m, b)
}
func (m *ListMetricStatesResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListMetricStatesResponseWrapper.Marshal(b, m, deterministic)
}
func (m *ListMetricStatesResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListMetricStatesResponseWrapper.Merge(m, src)
}
func (m *ListMetricStatesResponseWrapper) XXX_Size() int {
return xxx_messageInfo_ListMetricStatesResponseWrapper.Size(m)
}
func (m *ListMetricStatesResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_ListMetricStatesResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_ListMetricStatesResponseWrapper proto.InternalMessageInfo
func (m *ListMetricStatesResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *ListMetricStatesResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *ListMetricStatesResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *ListMetricStatesResponseWrapper) GetData() *ListMetricStatesResponse {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*ListMetricStatesResponse)(nil), "stream.ListMetricStatesResponse")
proto.RegisterType((*ListMetricStatesResponseWrapper)(nil), "stream.ListMetricStatesResponseWrapper")
}
func init() { proto.RegisterFile("list_metric_states.proto", fileDescriptor_6eb20b8db076fffc) }
var fileDescriptor_6eb20b8db076fffc = []byte{
// 338 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0xcf, 0x4a, 0xc3, 0x40,
0x10, 0xc6, 0x89, 0xfd, 0x03, 0x6e, 0x14, 0x35, 0x07, 0x09, 0xbd, 0x24, 0x6c, 0x41, 0x72, 0xe9,
0x06, 0xea, 0x45, 0x3c, 0x16, 0x7a, 0x53, 0x0f, 0xe9, 0xc1, 0x63, 0xd9, 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