Debian Codegraph @

go/svc/environment/v1/service.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.36.5
4 // protoc (unknown)
5 // source: svc/environment/v1/service.proto
6
7 package environmentv1
8
9 import (
10 v1 "github.com/humanlogio/api/go/types/v1"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 reflect "reflect"
14 sync "sync"
15 unsafe "unsafe"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 type ListMachineRequest struct {
26 state protoimpl.MessageState `protogen:"open.v1"`
27 Cursor *v1.Cursor `protobuf:"bytes,1,opt,name=cursor,proto3" json:"cursor,omitempty"`
28 Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
29 EnvironmentId int64 `protobuf:"varint,3,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
30 unknownFields protoimpl.UnknownFields
31 sizeCache protoimpl.SizeCache
32 }
33
34 func (x *ListMachineRequest) Reset() {
35 *x = ListMachineRequest{}
36 mi := &file_svc_environment_v1_service_proto_msgTypes[0]
37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
38 ms.StoreMessageInfo(mi)
39 }
40
41 func (x *ListMachineRequest) String() string {
42 return protoimpl.X.MessageStringOf(x)
43 }
44
45 func (*ListMachineRequest) ProtoMessage() {}
46
47 func (x *ListMachineRequest) ProtoReflect() protoreflect.Message {
48 mi := &file_svc_environment_v1_service_proto_msgTypes[0]
49 if x != nil {
50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
51 if ms.LoadMessageInfo() == nil {
52 ms.StoreMessageInfo(mi)
53 }
54 return ms
55 }
56 return mi.MessageOf(x)
57 }
58
59 // Deprecated: Use ListMachineRequest.ProtoReflect.Descriptor instead.
60 func (*ListMachineRequest) Descriptor() ([]byte, []int) {
61 return file_svc_environment_v1_service_proto_rawDescGZIP(), []int{0}
62 }
63
64 func (x *ListMachineRequest) GetCursor() *v1.Cursor {
65 if x != nil {
66 return x.Cursor
67 }
68 return nil
69 }
70
71 func (x *ListMachineRequest) GetLimit() int32 {
72 if x != nil {
73 return x.Limit
74 }
75 return 0
76 }
77
78 func (x *ListMachineRequest) GetEnvironmentId() int64 {
79 if x != nil {
80 return x.EnvironmentId
81 }
82 return 0
83 }
84
85 type ListMachineResponse struct {
86 state protoimpl.MessageState `protogen:"open.v1"`
87 Next *v1.Cursor `protobuf:"bytes,1,opt,name=next,proto3" json:"next,omitempty"`
88 Items []*ListMachineResponse_ListItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
89 unknownFields protoimpl.UnknownFields
90 sizeCache protoimpl.SizeCache
91 }
92
93 func (x *ListMachineResponse) Reset() {
94 *x = ListMachineResponse{}
95 mi := &file_svc_environment_v1_service_proto_msgTypes[1]
96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
97 ms.StoreMessageInfo(mi)
98 }
99
100 func (x *ListMachineResponse) String() string {
101 return protoimpl.X.MessageStringOf(x)
102 }
103
104 func (*ListMachineResponse) ProtoMessage() {}
105
106 func (x *ListMachineResponse) ProtoReflect() protoreflect.Message {
107 mi := &file_svc_environment_v1_service_proto_msgTypes[1]
108 if x != nil {
109 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
110 if ms.LoadMessageInfo() == nil {
111 ms.StoreMessageInfo(mi)
112 }
113 return ms
114 }
115 return mi.MessageOf(x)
116 }
117
118 // Deprecated: Use ListMachineResponse.ProtoReflect.Descriptor instead.
119 func (*ListMachineResponse) Descriptor() ([]byte, []int) {
120 return file_svc_environment_v1_service_proto_rawDescGZIP(), []int{1}
121 }
122
123 func (x *ListMachineResponse) GetNext() *v1.Cursor {
124 if x != nil {
125 return x.Next
126 }
127 return nil
128 }
129
130 func (x *ListMachineResponse) GetItems() []*ListMachineResponse_ListItem {
131 if x != nil {
132 return x.Items
133 }
134 return nil
135 }
136
137 type ListMachineResponse_ListItem struct {
138 state protoimpl.MessageState `protogen:"open.v1"`
139 Machine *v1.Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"`
140 unknownFields protoimpl.UnknownFields
141 sizeCache protoimpl.SizeCache
142 }
143
144 func (x *ListMachineResponse_ListItem) Reset() {
145 *x = ListMachineResponse_ListItem{}
146 mi := &file_svc_environment_v1_service_proto_msgTypes[2]
147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
148 ms.StoreMessageInfo(mi)
149 }
150
151 func (x *ListMachineResponse_ListItem) String() string {
152 return protoimpl.X.MessageStringOf(x)
153 }
154
155 func (*ListMachineResponse_ListItem) ProtoMessage() {}
156
157 func (x *ListMachineResponse_ListItem) ProtoReflect() protoreflect.Message {
158 mi := &file_svc_environment_v1_service_proto_msgTypes[2]
159 if x != nil {
160 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
161 if ms.LoadMessageInfo() == nil {
162 ms.StoreMessageInfo(mi)
163 }
164 return ms
165 }
166 return mi.MessageOf(x)
167 }
168
169 // Deprecated: Use ListMachineResponse_ListItem.ProtoReflect.Descriptor instead.
170 func (*ListMachineResponse_ListItem) Descriptor() ([]byte, []int) {
171 return file_svc_environment_v1_service_proto_rawDescGZIP(), []int{1, 0}
172 }
173
174 func (x *ListMachineResponse_ListItem) GetMachine() *v1.Machine {
175 if x != nil {
176 return x.Machine
177 }
178 return nil
179 }
180
181 var File_svc_environment_v1_service_proto protoreflect.FileDescriptor
182
183 var file_svc_environment_v1_service_proto_rawDesc = string([]byte{
184 0x0a, 0x20, 0x73, 0x76, 0x63, 0x2f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e,
185 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
186 0x74, 0x6f, 0x12, 0x12, 0x73, 0x76, 0x63, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d,
187 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x15, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31,
188 0x2f, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x74,
189 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d,
190 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x74, 0x79, 0x70, 0x65, 0x73,
191 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
192 0x6f, 0x22, 0x7b, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65,
193 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f,
194 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
195 0x76, 0x31, 0x2e, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x52, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f,
196 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
197 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x76, 0x69, 0x72,
198 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
199 0x0d, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xbc,
200 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x52, 0x65,
201 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x18, 0x01,
202 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
203 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x52, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x12, 0x46, 0x0a, 0x05,
204 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x73, 0x76,
205 0x63, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31,
206 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70,
207 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x69,
208 0x74, 0x65, 0x6d, 0x73, 0x1a, 0x37, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d,
209 0x12, 0x2b, 0x0a, 0x07, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
210 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x63,
211 0x68, 0x69, 0x6e, 0x65, 0x52, 0x07, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x32, 0x74, 0x0a,
212 0x12, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76,
213 0x69, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69,
214 0x6e, 0x65, 0x12, 0x26, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e,
215 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68,
216 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x76, 0x63,
217 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e,
218 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
219 0x6e, 0x73, 0x65, 0x42, 0xcf, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x76, 0x63, 0x2e,
220 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0c,
221 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d,
222 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x75, 0x6d, 0x61, 0x6e,
223 0x6c, 0x6f, 0x67, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x76, 0x63,
224 0x2f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x3b,
225 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03,
226 0x53, 0x45, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x76, 0x63, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f,
227 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x12, 0x53, 0x76, 0x63, 0x5c, 0x45,
228 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1e,
229 0x53, 0x76, 0x63, 0x5c, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5c,
230 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02,
231 0x14, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e,
232 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
233 })
234
235 var (
236 file_svc_environment_v1_service_proto_rawDescOnce sync.Once
237 file_svc_environment_v1_service_proto_rawDescData []byte
238 )
239
240 func file_svc_environment_v1_service_proto_rawDescGZIP() []byte {
241 file_svc_environment_v1_service_proto_rawDescOnce.Do(func() {
242 file_svc_environment_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_svc_environment_v1_service_proto_rawDesc), len(file_svc_environment_v1_service_proto_rawDesc)))
243 })
244 return file_svc_environment_v1_service_proto_rawDescData
245 }
246
247 var file_svc_environment_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
248 var file_svc_environment_v1_service_proto_goTypes = []any{
249 (*ListMachineRequest)(nil), // 0: svc.environment.v1.ListMachineRequest
250 (*ListMachineResponse)(nil), // 1: svc.environment.v1.ListMachineResponse
251 (*ListMachineResponse_ListItem)(nil), // 2: svc.environment.v1.ListMachineResponse.ListItem
252 (*v1.Cursor)(nil), // 3: types.v1.Cursor
253 (*v1.Machine)(nil), // 4: types.v1.Machine
254 }
255 var file_svc_environment_v1_service_proto_depIdxs = []int32{
256 3, // 0: svc.environment.v1.ListMachineRequest.cursor:type_name -> types.v1.Cursor
257 3, // 1: svc.environment.v1.ListMachineResponse.next:type_name -> types.v1.Cursor
258 2, // 2: svc.environment.v1.ListMachineResponse.items:type_name -> svc.environment.v1.ListMachineResponse.ListItem
259 4, // 3: svc.environment.v1.ListMachineResponse.ListItem.machine:type_name -> types.v1.Machine
260 0, // 4: svc.environment.v1.EnvironmentService.ListMachine:input_type -> svc.environment.v1.ListMachineRequest
261 1, // 5: svc.environment.v1.EnvironmentService.ListMachine:output_type -> svc.environment.v1.ListMachineResponse
262 5, // [5:6] is the sub-list for method output_type
263 4, // [4:5] is the sub-list for method input_type
264 4, // [4:4] is the sub-list for extension type_name
265 4, // [4:4] is the sub-list for extension extendee
266 0, // [0:4] is the sub-list for field type_name
267 }
268
269 func init() { file_svc_environment_v1_service_proto_init() }
270 func file_svc_environment_v1_service_proto_init() {
271 if File_svc_environment_v1_service_proto != nil {
272 return
273 }
274 type x struct{}
275 out := protoimpl.TypeBuilder{
276 File: protoimpl.DescBuilder{
277 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
278 RawDescriptor: unsafe.Slice(unsafe.StringData(file_svc_environment_v1_service_proto_rawDesc), len(file_svc_environment_v1_service_proto_rawDesc)),
279 NumEnums: 0,
280 NumMessages: 3,
281 NumExtensions: 0,
282 NumServices: 1,
283 },
284 GoTypes: file_svc_environment_v1_service_proto_goTypes,
285 DependencyIndexes: file_svc_environment_v1_service_proto_depIdxs,
286 MessageInfos: file_svc_environment_v1_service_proto_msgTypes,
287 }.Build()
288 File_svc_environment_v1_service_proto = out.File
289 file_svc_environment_v1_service_proto_goTypes = nil
290 file_svc_environment_v1_service_proto_depIdxs = nil
291 }