Debian Codegraph @

googleapis/chromeos/moblab/v1beta1/test_service.pb.go

raw
1 // Copyright 2026 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v4.24.4
19 // source: google/chromeos/moblab/v1beta1/test_service.proto
20
21 package moblab
22
23 import (
24 context "context"
25 reflect "reflect"
26 sync "sync"
27
28 _ "google.golang.org/genproto/googleapis/api/annotations"
29 grpc "google.golang.org/grpc"
30 codes "google.golang.org/grpc/codes"
31 status "google.golang.org/grpc/status"
32 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
33 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
34 )
35
36 const (
37 // Verify that this generated code is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39 // Verify that runtime/protoimpl is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
41 )
42
43 // Request message for creating a session.
44 // -- NEXT_TAG: 3 --
45 type CreateSessionRequest struct {
46 state protoimpl.MessageState
47 sizeCache protoimpl.SizeCache
48 unknownFields protoimpl.UnknownFields
49
50 // Required. The session to create.
51 Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
52 // Optional. The ID to use for the session, which will become the final
53 // component of the session's resource name.
54 SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
55 }
56
57 func (x *CreateSessionRequest) Reset() {
58 *x = CreateSessionRequest{}
59 if protoimpl.UnsafeEnabled {
60 mi := &file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[0]
61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62 ms.StoreMessageInfo(mi)
63 }
64 }
65
66 func (x *CreateSessionRequest) String() string {
67 return protoimpl.X.MessageStringOf(x)
68 }
69
70 func (*CreateSessionRequest) ProtoMessage() {}
71
72 func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message {
73 mi := &file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[0]
74 if protoimpl.UnsafeEnabled && x != nil {
75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76 if ms.LoadMessageInfo() == nil {
77 ms.StoreMessageInfo(mi)
78 }
79 return ms
80 }
81 return mi.MessageOf(x)
82 }
83
84 // Deprecated: Use CreateSessionRequest.ProtoReflect.Descriptor instead.
85 func (*CreateSessionRequest) Descriptor() ([]byte, []int) {
86 return file_google_chromeos_moblab_v1beta1_test_service_proto_rawDescGZIP(), []int{0}
87 }
88
89 func (x *CreateSessionRequest) GetSession() *Session {
90 if x != nil {
91 return x.Session
92 }
93 return nil
94 }
95
96 func (x *CreateSessionRequest) GetSessionId() string {
97 if x != nil {
98 return x.SessionId
99 }
100 return ""
101 }
102
103 // Request message for listing test efforts.
104 // Test efforts are queried in reverse chronological order.
105 type ListTestEffortsRequest struct {
106 state protoimpl.MessageState
107 sizeCache protoimpl.SizeCache
108 unknownFields protoimpl.UnknownFields
109
110 // Optional. The maximum number of test efforts to return. The service may
111 // return fewer than this value.
112 // If unspecified, at most 50 test efforts will be returned.
113 // The maximum value is 1000; values above 1000 will be coerced to 1000.
114 PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
115 // Optional. A page token, received from a previous `ListTestEfforts` call.
116 // Provide this to retrieve the subsequent page.
117 PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
118 // Optional. A filter string to restrict the results.
119 // The following fields are supported:
120 // - satlab_id
121 //
122 // For example: "satlab_id=12345"
123 Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
124 }
125
126 func (x *ListTestEffortsRequest) Reset() {
127 *x = ListTestEffortsRequest{}
128 if protoimpl.UnsafeEnabled {
129 mi := &file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[1]
130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
131 ms.StoreMessageInfo(mi)
132 }
133 }
134
135 func (x *ListTestEffortsRequest) String() string {
136 return protoimpl.X.MessageStringOf(x)
137 }
138
139 func (*ListTestEffortsRequest) ProtoMessage() {}
140
141 func (x *ListTestEffortsRequest) ProtoReflect() protoreflect.Message {
142 mi := &file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[1]
143 if protoimpl.UnsafeEnabled && x != nil {
144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
145 if ms.LoadMessageInfo() == nil {
146 ms.StoreMessageInfo(mi)
147 }
148 return ms
149 }
150 return mi.MessageOf(x)
151 }
152
153 // Deprecated: Use ListTestEffortsRequest.ProtoReflect.Descriptor instead.
154 func (*ListTestEffortsRequest) Descriptor() ([]byte, []int) {
155 return file_google_chromeos_moblab_v1beta1_test_service_proto_rawDescGZIP(), []int{1}
156 }
157
158 func (x *ListTestEffortsRequest) GetPageSize() int32 {
159 if x != nil {
160 return x.PageSize
161 }
162 return 0
163 }
164
165 func (x *ListTestEffortsRequest) GetPageToken() string {
166 if x != nil {
167 return x.PageToken
168 }
169 return ""
170 }
171
172 func (x *ListTestEffortsRequest) GetFilter() string {
173 if x != nil {
174 return x.Filter
175 }
176 return ""
177 }
178
179 // Response message for listing test efforts.
180 type ListTestEffortsResponse struct {
181 state protoimpl.MessageState
182 sizeCache protoimpl.SizeCache
183 unknownFields protoimpl.UnknownFields
184
185 // The list of test efforts.
186 TestEfforts []*TestEffort `protobuf:"bytes,1,rep,name=test_efforts,json=testEfforts,proto3" json:"test_efforts,omitempty"`
187 // Token to retrieve the next page of test efforts. If this field
188 // is omitted, there are no subsequent pages.
189 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
190 // Total number of test efforts.
191 TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
192 }
193
194 func (x *ListTestEffortsResponse) Reset() {
195 *x = ListTestEffortsResponse{}
196 if protoimpl.UnsafeEnabled {
197 mi := &file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[2]
198 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
199 ms.StoreMessageInfo(mi)
200 }
201 }
202
203 func (x *ListTestEffortsResponse) String() string {
204 return protoimpl.X.MessageStringOf(x)
205 }
206
207 func (*ListTestEffortsResponse) ProtoMessage() {}
208
209 func (x *ListTestEffortsResponse) ProtoReflect() protoreflect.Message {
210 mi := &file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[2]
211 if protoimpl.UnsafeEnabled && x != nil {
212 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
213 if ms.LoadMessageInfo() == nil {
214 ms.StoreMessageInfo(mi)
215 }
216 return ms
217 }
218 return mi.MessageOf(x)
219 }
220
221 // Deprecated: Use ListTestEffortsResponse.ProtoReflect.Descriptor instead.
222 func (*ListTestEffortsResponse) Descriptor() ([]byte, []int) {
223 return file_google_chromeos_moblab_v1beta1_test_service_proto_rawDescGZIP(), []int{2}
224 }
225
226 func (x *ListTestEffortsResponse) GetTestEfforts() []*TestEffort {
227 if x != nil {
228 return x.TestEfforts
229 }
230 return nil
231 }
232
233 func (x *ListTestEffortsResponse) GetNextPageToken() string {
234 if x != nil {
235 return x.NextPageToken
236 }
237 return ""
238 }
239
240 func (x *ListTestEffortsResponse) GetTotalSize() int32 {
241 if x != nil {
242 return x.TotalSize
243 }
244 return 0
245 }
246
247 // Request message for cancelling a test effort.
248 type CancelTestEffortRequest struct {
249 state protoimpl.MessageState
250 sizeCache protoimpl.SizeCache
251 unknownFields protoimpl.UnknownFields
252
253 // Required. The resource name of the test effort to cancel.
254 // Format: testEfforts/{test_effort}
255 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
256 }
257
258 func (x *CancelTestEffortRequest) Reset() {
259 *x = CancelTestEffortRequest{}
260 if protoimpl.UnsafeEnabled {
261 mi := &file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[3]
262 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
263 ms.StoreMessageInfo(mi)
264 }
265 }
266
267 func (x *CancelTestEffortRequest) String() string {
268 return protoimpl.X.MessageStringOf(x)
269 }
270
271 func (*CancelTestEffortRequest) ProtoMessage() {}
272
273 func (x *CancelTestEffortRequest) ProtoReflect() protoreflect.Message {
274 mi := &file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[3]
275 if protoimpl.UnsafeEnabled && x != nil {
276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
277 if ms.LoadMessageInfo() == nil {
278 ms.StoreMessageInfo(mi)
279 }
280 return ms
281 }
282 return mi.MessageOf(x)
283 }
284
285 // Deprecated: Use CancelTestEffortRequest.ProtoReflect.Descriptor instead.
286 func (*CancelTestEffortRequest) Descriptor() ([]byte, []int) {
287 return file_google_chromeos_moblab_v1beta1_test_service_proto_rawDescGZIP(), []int{3}
288 }
289
290 func (x *CancelTestEffortRequest) GetName() string {
291 if x != nil {
292 return x.Name
293 }
294 return ""
295 }
296
297 // Response message for cancelling a test effort.
298 type CancelTestEffortResponse struct {
299 state protoimpl.MessageState
300 sizeCache protoimpl.SizeCache
301 unknownFields protoimpl.UnknownFields
302
303 // The cancelled test effort.
304 TestEffort *TestEffort `protobuf:"bytes,1,opt,name=test_effort,json=testEffort,proto3" json:"test_effort,omitempty"`
305 }
306
307 func (x *CancelTestEffortResponse) Reset() {
308 *x = CancelTestEffortResponse{}
309 if protoimpl.UnsafeEnabled {
310 mi := &file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[4]
311 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
312 ms.StoreMessageInfo(mi)
313 }
314 }
315
316 func (x *CancelTestEffortResponse) String() string {
317 return protoimpl.X.MessageStringOf(x)
318 }
319
320 func (*CancelTestEffortResponse) ProtoMessage() {}
321
322 func (x *CancelTestEffortResponse) ProtoReflect() protoreflect.Message {
323 mi := &file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[4]
324 if protoimpl.UnsafeEnabled && x != nil {
325 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
326 if ms.LoadMessageInfo() == nil {
327 ms.StoreMessageInfo(mi)
328 }
329 return ms
330 }
331 return mi.MessageOf(x)
332 }
333
334 // Deprecated: Use CancelTestEffortResponse.ProtoReflect.Descriptor instead.
335 func (*CancelTestEffortResponse) Descriptor() ([]byte, []int) {
336 return file_google_chromeos_moblab_v1beta1_test_service_proto_rawDescGZIP(), []int{4}
337 }
338
339 func (x *CancelTestEffortResponse) GetTestEffort() *TestEffort {
340 if x != nil {
341 return x.TestEffort
342 }
343 return nil
344 }
345
346 // Request message for creating a test effort.
347 type CreateTestEffortRequest struct {
348 state protoimpl.MessageState
349 sizeCache protoimpl.SizeCache
350 unknownFields protoimpl.UnknownFields
351
352 // Required. The test effort to create.
353 TestEffort *TestEffort `protobuf:"bytes,1,opt,name=test_effort,json=testEffort,proto3" json:"test_effort,omitempty"`
354 // Optional. The ID to use for the test effort, which will become the final
355 // component of the test effort's resource name.
356 TestEffortId string `protobuf:"bytes,2,opt,name=test_effort_id,json=testEffortId,proto3" json:"test_effort_id,omitempty"`
357 }
358
359 func (x *CreateTestEffortRequest) Reset() {
360 *x = CreateTestEffortRequest{}
361 if protoimpl.UnsafeEnabled {
362 mi := &file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[5]
363 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
364 ms.StoreMessageInfo(mi)
365 }
366 }
367
368 func (x *CreateTestEffortRequest) String() string {
369 return protoimpl.X.MessageStringOf(x)
370 }
371
372 func (*CreateTestEffortRequest) ProtoMessage() {}
373
374 func (x *CreateTestEffortRequest) ProtoReflect() protoreflect.Message {
375 mi := &file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[5]
376 if protoimpl.UnsafeEnabled && x != nil {
377 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
378 if ms.LoadMessageInfo() == nil {
379 ms.StoreMessageInfo(mi)
380 }
381 return ms
382 }
383 return mi.MessageOf(x)
384 }
385
386 // Deprecated: Use CreateTestEffortRequest.ProtoReflect.Descriptor instead.
387 func (*CreateTestEffortRequest) Descriptor() ([]byte, []int) {
388 return file_google_chromeos_moblab_v1beta1_test_service_proto_rawDescGZIP(), []int{5}
389 }
390
391 func (x *CreateTestEffortRequest) GetTestEffort() *TestEffort {
392 if x != nil {
393 return x.TestEffort
394 }
395 return nil
396 }
397
398 func (x *CreateTestEffortRequest) GetTestEffortId() string {
399 if x != nil {
400 return x.TestEffortId
401 }
402 return ""
403 }
404
405 var File_google_chromeos_moblab_v1beta1_test_service_proto protoreflect.FileDescriptor
406
407 var file_google_chromeos_moblab_v1beta1_test_service_proto_rawDesc = []byte{
408 0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f,
409 0x73, 0x2f, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
410 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72,
411 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x68, 0x72, 0x6f,
412 0x6d, 0x65, 0x6f, 0x73, 0x2e, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65,
413 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
414 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
415 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c,
416 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
417 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
418 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
419 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
420 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63,
421 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x2f, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2f, 0x76,
422 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
423 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74,
424 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
425 0x46, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
426 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65,
427 0x6f, 0x73, 0x2e, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
428 0x31, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07,
429 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69,
430 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
431 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x7b, 0x0a, 0x16, 0x4c,
432 0x69, 0x73, 0x74, 0x54, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x73, 0x52, 0x65,
433 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69,
434 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70,
435 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f,
436 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
437 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x06, 0x66,
438 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
439 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xaf, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73,
440 0x74, 0x54, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
441 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0c, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x65, 0x66, 0x66,
442 0x6f, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f,
443 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x2e, 0x6d, 0x6f, 0x62,
444 0x6c, 0x61, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74,
445 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x52, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f,
446 0x72, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65,
447 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65,
448 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74,
449 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
450 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x5f, 0x0a, 0x17, 0x43, 0x61,
451 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x52, 0x65,
452 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
453 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x63, 0x68, 0x72,
454 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
455 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x65, 0x73, 0x74, 0x45,
456 0x66, 0x66, 0x6f, 0x72, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x67, 0x0a, 0x18, 0x43,
457 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x52,
458 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x5f,
459 0x65, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67,
460 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x2e, 0x6d,
461 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65,
462 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x52, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x45, 0x66,
463 0x66, 0x6f, 0x72, 0x74, 0x22, 0x96, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,
464 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
465 0x12, 0x50, 0x0a, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x65, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x18,
466 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
467 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x2e, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x76,
468 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72,
469 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f,
470 0x72, 0x74, 0x12, 0x29, 0x0a, 0x0e, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x65, 0x66, 0x66, 0x6f, 0x72,
471 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
472 0x0c, 0x74, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x32, 0xfe, 0x05,
473 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa7, 0x01,
474 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12,
475 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f,
476 0x73, 0x2e, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
477 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65,
478 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
479 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x2e, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x76,
480 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x37,
481 0xda, 0x41, 0x12, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2c, 0x73, 0x65, 0x73, 0x73, 0x69,
482 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x22, 0x11, 0x2f, 0x76, 0x31,
483 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x07,
484 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0xa0, 0x01, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74,
485 0x54, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x36, 0x2e, 0x67, 0x6f,
486 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x2e, 0x6d, 0x6f,
487 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73,
488 0x74, 0x54, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
489 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x68, 0x72,
490 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x2e, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x76, 0x31, 0x62,
491 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66,
492 0x6f, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, 0xd3,
493 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74,
494 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x73, 0x12, 0xbd, 0x01, 0x0a, 0x10, 0x43,
495 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x12,
496 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f,
497 0x73, 0x2e, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
498 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72,
499 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
500 0x65, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x2e, 0x6d, 0x6f, 0x62, 0x6c, 0x61,
501 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c,
502 0x54, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
503 0x73, 0x65, 0x22, 0x36, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02,
504 0x29, 0x22, 0x24, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
505 0x65, 0x3d, 0x74, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x73, 0x2f, 0x2a, 0x7d,
506 0x3a, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x3a, 0x01, 0x2a, 0x12, 0xbf, 0x01, 0x0a, 0x10, 0x43,
507 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x12,
508 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f,
509 0x73, 0x2e, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
510 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72,
511 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
512 0x65, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x2e, 0x6d, 0x6f, 0x62, 0x6c, 0x61,
513 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x45, 0x66,
514 0x66, 0x6f, 0x72, 0x74, 0x22, 0x46, 0xda, 0x41, 0x1a, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x65, 0x66,
515 0x66, 0x6f, 0x72, 0x74, 0x2c, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x65, 0x66, 0x66, 0x6f, 0x72, 0x74,
516 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, 0x14, 0x2f, 0x76, 0x31, 0x62, 0x65,
517 0x74, 0x61, 0x31, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x73, 0x3a,
518 0x0b, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x65, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x1a, 0x20, 0xca, 0x41,
519 0x1d, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e,
520 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x42, 0x80,
521 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x68,
522 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x2e, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x76, 0x31,
523 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x10, 0x54, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69,
524 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x01, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x6f, 0x6f,
525 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67,
526 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
527 0x69, 0x73, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x2f, 0x6d, 0x6f, 0x62, 0x6c,
528 0x61, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x6d, 0x6f, 0x62, 0x6c, 0x61,
529 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
530 }
531
532 var (
533 file_google_chromeos_moblab_v1beta1_test_service_proto_rawDescOnce sync.Once
534 file_google_chromeos_moblab_v1beta1_test_service_proto_rawDescData = file_google_chromeos_moblab_v1beta1_test_service_proto_rawDesc
535 )
536
537 func file_google_chromeos_moblab_v1beta1_test_service_proto_rawDescGZIP() []byte {
538 file_google_chromeos_moblab_v1beta1_test_service_proto_rawDescOnce.Do(func() {
539 file_google_chromeos_moblab_v1beta1_test_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_chromeos_moblab_v1beta1_test_service_proto_rawDescData)
540 })
541 return file_google_chromeos_moblab_v1beta1_test_service_proto_rawDescData
542 }
543
544 var file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
545 var file_google_chromeos_moblab_v1beta1_test_service_proto_goTypes = []interface{}{
546 (*CreateSessionRequest)(nil), // 0: google.chromeos.moblab.v1beta1.CreateSessionRequest
547 (*ListTestEffortsRequest)(nil), // 1: google.chromeos.moblab.v1beta1.ListTestEffortsRequest
548 (*ListTestEffortsResponse)(nil), // 2: google.chromeos.moblab.v1beta1.ListTestEffortsResponse
549 (*CancelTestEffortRequest)(nil), // 3: google.chromeos.moblab.v1beta1.CancelTestEffortRequest
550 (*CancelTestEffortResponse)(nil), // 4: google.chromeos.moblab.v1beta1.CancelTestEffortResponse
551 (*CreateTestEffortRequest)(nil), // 5: google.chromeos.moblab.v1beta1.CreateTestEffortRequest
552 (*Session)(nil), // 6: google.chromeos.moblab.v1beta1.Session
553 (*TestEffort)(nil), // 7: google.chromeos.moblab.v1beta1.TestEffort
554 }
555 var file_google_chromeos_moblab_v1beta1_test_service_proto_depIdxs = []int32{
556 6, // 0: google.chromeos.moblab.v1beta1.CreateSessionRequest.session:type_name -> google.chromeos.moblab.v1beta1.Session
557 7, // 1: google.chromeos.moblab.v1beta1.ListTestEffortsResponse.test_efforts:type_name -> google.chromeos.moblab.v1beta1.TestEffort
558 7, // 2: google.chromeos.moblab.v1beta1.CancelTestEffortResponse.test_effort:type_name -> google.chromeos.moblab.v1beta1.TestEffort
559 7, // 3: google.chromeos.moblab.v1beta1.CreateTestEffortRequest.test_effort:type_name -> google.chromeos.moblab.v1beta1.TestEffort
560 0, // 4: google.chromeos.moblab.v1beta1.TestService.CreateSession:input_type -> google.chromeos.moblab.v1beta1.CreateSessionRequest
561 1, // 5: google.chromeos.moblab.v1beta1.TestService.ListTestEfforts:input_type -> google.chromeos.moblab.v1beta1.ListTestEffortsRequest
562 3, // 6: google.chromeos.moblab.v1beta1.TestService.CancelTestEffort:input_type -> google.chromeos.moblab.v1beta1.CancelTestEffortRequest
563 5, // 7: google.chromeos.moblab.v1beta1.TestService.CreateTestEffort:input_type -> google.chromeos.moblab.v1beta1.CreateTestEffortRequest
564 6, // 8: google.chromeos.moblab.v1beta1.TestService.CreateSession:output_type -> google.chromeos.moblab.v1beta1.Session
565 2, // 9: google.chromeos.moblab.v1beta1.TestService.ListTestEfforts:output_type -> google.chromeos.moblab.v1beta1.ListTestEffortsResponse
566 4, // 10: google.chromeos.moblab.v1beta1.TestService.CancelTestEffort:output_type -> google.chromeos.moblab.v1beta1.CancelTestEffortResponse
567 7, // 11: google.chromeos.moblab.v1beta1.TestService.CreateTestEffort:output_type -> google.chromeos.moblab.v1beta1.TestEffort
568 8, // [8:12] is the sub-list for method output_type
569 4, // [4:8] is the sub-list for method input_type
570 4, // [4:4] is the sub-list for extension type_name
571 4, // [4:4] is the sub-list for extension extendee
572 0, // [0:4] is the sub-list for field type_name
573 }
574
575 func init() { file_google_chromeos_moblab_v1beta1_test_service_proto_init() }
576 func file_google_chromeos_moblab_v1beta1_test_service_proto_init() {
577 if File_google_chromeos_moblab_v1beta1_test_service_proto != nil {
578 return
579 }
580 file_google_chromeos_moblab_v1beta1_resources_proto_init()
581 if !protoimpl.UnsafeEnabled {
582 file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
583 switch v := v.(*CreateSessionRequest); i {
584 case 0:
585 return &v.state
586 case 1:
587 return &v.sizeCache
588 case 2:
589 return &v.unknownFields
590 default:
591 return nil
592 }
593 }
594 file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
595 switch v := v.(*ListTestEffortsRequest); i {
596 case 0:
597 return &v.state
598 case 1:
599 return &v.sizeCache
600 case 2:
601 return &v.unknownFields
602 default:
603 return nil
604 }
605 }
606 file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
607 switch v := v.(*ListTestEffortsResponse); i {
608 case 0:
609 return &v.state
610 case 1:
611 return &v.sizeCache
612 case 2:
613 return &v.unknownFields
614 default:
615 return nil
616 }
617 }
618 file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
619 switch v := v.(*CancelTestEffortRequest); i {
620 case 0:
621 return &v.state
622 case 1:
623 return &v.sizeCache
624 case 2:
625 return &v.unknownFields
626 default:
627 return nil
628 }
629 }
630 file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
631 switch v := v.(*CancelTestEffortResponse); i {
632 case 0:
633 return &v.state
634 case 1:
635 return &v.sizeCache
636 case 2:
637 return &v.unknownFields
638 default:
639 return nil
640 }
641 }
642 file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
643 switch v := v.(*CreateTestEffortRequest); i {
644 case 0:
645 return &v.state
646 case 1:
647 return &v.sizeCache
648 case 2:
649 return &v.unknownFields
650 default:
651 return nil
652 }
653 }
654 }
655 type x struct{}
656 out := protoimpl.TypeBuilder{
657 File: protoimpl.DescBuilder{
658 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
659 RawDescriptor: file_google_chromeos_moblab_v1beta1_test_service_proto_rawDesc,
660 NumEnums: 0,
661 NumMessages: 6,
662 NumExtensions: 0,
663 NumServices: 1,
664 },
665 GoTypes: file_google_chromeos_moblab_v1beta1_test_service_proto_goTypes,
666 DependencyIndexes: file_google_chromeos_moblab_v1beta1_test_service_proto_depIdxs,
667 MessageInfos: file_google_chromeos_moblab_v1beta1_test_service_proto_msgTypes,
668 }.Build()
669 File_google_chromeos_moblab_v1beta1_test_service_proto = out.File
670 file_google_chromeos_moblab_v1beta1_test_service_proto_rawDesc = nil
671 file_google_chromeos_moblab_v1beta1_test_service_proto_goTypes = nil
672 file_google_chromeos_moblab_v1beta1_test_service_proto_depIdxs = nil
673 }
674
675 // Reference imports to suppress errors if they are not otherwise used.
676 var _ context.Context
677 var _ grpc.ClientConnInterface
678
679 // This is a compile-time assertion to ensure that this generated file
680 // is compatible with the grpc package it is being compiled against.
681 const _ = grpc.SupportPackageIsVersion6
682
683 // TestServiceClient is the client API for TestService service.
684 //
685 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
686 type TestServiceClient interface {
687 // Creates a session to run on-demand tests.
688 CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*Session, error)
689 // Lists test efforts.
690 ListTestEfforts(ctx context.Context, in *ListTestEffortsRequest, opts ...grpc.CallOption) (*ListTestEffortsResponse, error)
691 // Cancels a test effort.
692 CancelTestEffort(ctx context.Context, in *CancelTestEffortRequest, opts ...grpc.CallOption) (*CancelTestEffortResponse, error)
693 // Creates a test effort.
694 CreateTestEffort(ctx context.Context, in *CreateTestEffortRequest, opts ...grpc.CallOption) (*TestEffort, error)
695 }
696
697 type testServiceClient struct {
698 cc grpc.ClientConnInterface
699 }
700
701 func NewTestServiceClient(cc grpc.ClientConnInterface) TestServiceClient {
702 return &testServiceClient{cc}
703 }
704
705 func (c *testServiceClient) CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*Session, error) {
706 out := new(Session)
707 err := c.cc.Invoke(ctx, "/google.chromeos.moblab.v1beta1.TestService/CreateSession", in, out, opts...)
708 if err != nil {
709 return nil, err
710 }
711 return out, nil
712 }
713
714 func (c *testServiceClient) ListTestEfforts(ctx context.Context, in *ListTestEffortsRequest, opts ...grpc.CallOption) (*ListTestEffortsResponse, error) {
715 out := new(ListTestEffortsResponse)
716 err := c.cc.Invoke(ctx, "/google.chromeos.moblab.v1beta1.TestService/ListTestEfforts", in, out, opts...)
717 if err != nil {
718 return nil, err
719 }
720 return out, nil
721 }
722
723 func (c *testServiceClient) CancelTestEffort(ctx context.Context, in *CancelTestEffortRequest, opts ...grpc.CallOption) (*CancelTestEffortResponse, error) {
724 out := new(CancelTestEffortResponse)
725 err := c.cc.Invoke(ctx, "/google.chromeos.moblab.v1beta1.TestService/CancelTestEffort", in, out, opts...)
726 if err != nil {
727 return nil, err
728 }
729 return out, nil
730 }
731
732 func (c *testServiceClient) CreateTestEffort(ctx context.Context, in *CreateTestEffortRequest, opts ...grpc.CallOption) (*TestEffort, error) {
733 out := new(TestEffort)
734 err := c.cc.Invoke(ctx, "/google.chromeos.moblab.v1beta1.TestService/CreateTestEffort", in, out, opts...)
735 if err != nil {
736 return nil, err
737 }
738 return out, nil
739 }
740
741 // TestServiceServer is the server API for TestService service.
742 type TestServiceServer interface {
743 // Creates a session to run on-demand tests.
744 CreateSession(context.Context, *CreateSessionRequest) (*Session, error)
745 // Lists test efforts.
746 ListTestEfforts(context.Context, *ListTestEffortsRequest) (*ListTestEffortsResponse, error)
747 // Cancels a test effort.
748 CancelTestEffort(context.Context, *CancelTestEffortRequest) (*CancelTestEffortResponse, error)
749 // Creates a test effort.
750 CreateTestEffort(context.Context, *CreateTestEffortRequest) (*TestEffort, error)
751 }
752
753 // UnimplementedTestServiceServer can be embedded to have forward compatible implementations.
754 type UnimplementedTestServiceServer struct {
755 }
756
757 func (*UnimplementedTestServiceServer) CreateSession(context.Context, *CreateSessionRequest) (*Session, error) {
758 return nil, status.Errorf(codes.Unimplemented, "method CreateSession not implemented")
759 }
760 func (*UnimplementedTestServiceServer) ListTestEfforts(context.Context, *ListTestEffortsRequest) (*ListTestEffortsResponse, error) {
761 return nil, status.Errorf(codes.Unimplemented, "method ListTestEfforts not implemented")
762 }
763 func (*UnimplementedTestServiceServer) CancelTestEffort(context.Context, *CancelTestEffortRequest) (*CancelTestEffortResponse, error) {
764 return nil, status.Errorf(codes.Unimplemented, "method CancelTestEffort not implemented")
765 }
766 func (*UnimplementedTestServiceServer) CreateTestEffort(context.Context, *CreateTestEffortRequest) (*TestEffort, error) {
767 return nil, status.Errorf(codes.Unimplemented, "method CreateTestEffort not implemented")
768 }
769
770 func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer) {
771 s.RegisterService(&_TestService_serviceDesc, srv)
772 }
773
774 func _TestService_CreateSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
775 in := new(CreateSessionRequest)
776 if err := dec(in); err != nil {
777 return nil, err
778 }
779 if interceptor == nil {
780 return srv.(TestServiceServer).CreateSession(ctx, in)
781 }
782 info := &grpc.UnaryServerInfo{
783 Server: srv,
784 FullMethod: "/google.chromeos.moblab.v1beta1.TestService/CreateSession",
785 }
786 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
787 return srv.(TestServiceServer).CreateSession(ctx, req.(*CreateSessionRequest))
788 }
789 return interceptor(ctx, in, info, handler)
790 }
791
792 func _TestService_ListTestEfforts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
793 in := new(ListTestEffortsRequest)
794 if err := dec(in); err != nil {
795 return nil, err
796 }
797 if interceptor == nil {
798 return srv.(TestServiceServer).ListTestEfforts(ctx, in)
799 }
800 info := &grpc.UnaryServerInfo{
801 Server: srv,
802 FullMethod: "/google.chromeos.moblab.v1beta1.TestService/ListTestEfforts",
803 }
804 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
805 return srv.(TestServiceServer).ListTestEfforts(ctx, req.(*ListTestEffortsRequest))
806 }
807 return interceptor(ctx, in, info, handler)
808 }
809
810 func _TestService_CancelTestEffort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
811 in := new(CancelTestEffortRequest)
812 if err := dec(in); err != nil {
813 return nil, err
814 }
815 if interceptor == nil {
816 return srv.(TestServiceServer).CancelTestEffort(ctx, in)
817 }
818 info := &grpc.UnaryServerInfo{
819 Server: srv,
820 FullMethod: "/google.chromeos.moblab.v1beta1.TestService/CancelTestEffort",
821 }
822 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
823 return srv.(TestServiceServer).CancelTestEffort(ctx, req.(*CancelTestEffortRequest))
824 }
825 return interceptor(ctx, in, info, handler)
826 }
827
828 func _TestService_CreateTestEffort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
829 in := new(CreateTestEffortRequest)
830 if err := dec(in); err != nil {
831 return nil, err
832 }
833 if interceptor == nil {
834 return srv.(TestServiceServer).CreateTestEffort(ctx, in)
835 }
836 info := &grpc.UnaryServerInfo{
837 Server: srv,
838 FullMethod: "/google.chromeos.moblab.v1beta1.TestService/CreateTestEffort",
839 }
840 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
841 return srv.(TestServiceServer).CreateTestEffort(ctx, req.(*CreateTestEffortRequest))
842 }
843 return interceptor(ctx, in, info, handler)
844 }
845
846 var _TestService_serviceDesc = grpc.ServiceDesc{
847 ServiceName: "google.chromeos.moblab.v1beta1.TestService",
848 HandlerType: (*TestServiceServer)(nil),
849 Methods: []grpc.MethodDesc{
850 {
851 MethodName: "CreateSession",
852 Handler: _TestService_CreateSession_Handler,
853 },
854 {
855 MethodName: "ListTestEfforts",
856 Handler: _TestService_ListTestEfforts_Handler,
857 },
858 {
859 MethodName: "CancelTestEffort",
860 Handler: _TestService_CancelTestEffort_Handler,
861 },
862 {
863 MethodName: "CreateTestEffort",
864 Handler: _TestService_CreateTestEffort_Handler,
865 },
866 },
867 Streams: []grpc.StreamDesc{},
868 Metadata: "google/chromeos/moblab/v1beta1/test_service.proto",
869 }