1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package procurement
22
23 import (
24 context "context"
25 reflect "reflect"
26 sync "sync"
27
28 _ "google.golang.org/genproto/googleapis/api/annotations"
29 longrunning "google.golang.org/genproto/googleapis/longrunning"
30 grpc "google.golang.org/grpc"
31 codes "google.golang.org/grpc/codes"
32 status "google.golang.org/grpc/status"
33 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
34 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
35 )
36
37 const (
38
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44
45 type PlaceOrderRequest struct {
46 state protoimpl.MessageState
47 sizeCache protoimpl.SizeCache
48 unknownFields protoimpl.UnknownFields
49
50
51
52 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
53
54
55 DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
56
57 LineItemInfo []*LineItemInfo `protobuf:"bytes,10,rep,name=line_item_info,json=lineItemInfo,proto3" json:"line_item_info,omitempty"`
58
59
60
61
62
63
64 RequestId string `protobuf:"bytes,7,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
65 }
66
67 func (x *PlaceOrderRequest) Reset() {
68 *x = PlaceOrderRequest{}
69 if protoimpl.UnsafeEnabled {
70 mi := &file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes[0]
71 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
72 ms.StoreMessageInfo(mi)
73 }
74 }
75
76 func (x *PlaceOrderRequest) String() string {
77 return protoimpl.X.MessageStringOf(x)
78 }
79
80 func (*PlaceOrderRequest) ProtoMessage() {}
81
82 func (x *PlaceOrderRequest) ProtoReflect() protoreflect.Message {
83 mi := &file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes[0]
84 if protoimpl.UnsafeEnabled && x != nil {
85 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
86 if ms.LoadMessageInfo() == nil {
87 ms.StoreMessageInfo(mi)
88 }
89 return ms
90 }
91 return mi.MessageOf(x)
92 }
93
94
95 func (*PlaceOrderRequest) Descriptor() ([]byte, []int) {
96 return file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_rawDescGZIP(), []int{0}
97 }
98
99 func (x *PlaceOrderRequest) GetParent() string {
100 if x != nil {
101 return x.Parent
102 }
103 return ""
104 }
105
106 func (x *PlaceOrderRequest) GetDisplayName() string {
107 if x != nil {
108 return x.DisplayName
109 }
110 return ""
111 }
112
113 func (x *PlaceOrderRequest) GetLineItemInfo() []*LineItemInfo {
114 if x != nil {
115 return x.LineItemInfo
116 }
117 return nil
118 }
119
120 func (x *PlaceOrderRequest) GetRequestId() string {
121 if x != nil {
122 return x.RequestId
123 }
124 return ""
125 }
126
127
128
129 type PlaceOrderMetadata struct {
130 state protoimpl.MessageState
131 sizeCache protoimpl.SizeCache
132 unknownFields protoimpl.UnknownFields
133 }
134
135 func (x *PlaceOrderMetadata) Reset() {
136 *x = PlaceOrderMetadata{}
137 if protoimpl.UnsafeEnabled {
138 mi := &file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes[1]
139 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
140 ms.StoreMessageInfo(mi)
141 }
142 }
143
144 func (x *PlaceOrderMetadata) String() string {
145 return protoimpl.X.MessageStringOf(x)
146 }
147
148 func (*PlaceOrderMetadata) ProtoMessage() {}
149
150 func (x *PlaceOrderMetadata) ProtoReflect() protoreflect.Message {
151 mi := &file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes[1]
152 if protoimpl.UnsafeEnabled && x != nil {
153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
154 if ms.LoadMessageInfo() == nil {
155 ms.StoreMessageInfo(mi)
156 }
157 return ms
158 }
159 return mi.MessageOf(x)
160 }
161
162
163 func (*PlaceOrderMetadata) Descriptor() ([]byte, []int) {
164 return file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_rawDescGZIP(), []int{1}
165 }
166
167
168 type GetOrderRequest struct {
169 state protoimpl.MessageState
170 sizeCache protoimpl.SizeCache
171 unknownFields protoimpl.UnknownFields
172
173
174 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
175 }
176
177 func (x *GetOrderRequest) Reset() {
178 *x = GetOrderRequest{}
179 if protoimpl.UnsafeEnabled {
180 mi := &file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes[2]
181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
182 ms.StoreMessageInfo(mi)
183 }
184 }
185
186 func (x *GetOrderRequest) String() string {
187 return protoimpl.X.MessageStringOf(x)
188 }
189
190 func (*GetOrderRequest) ProtoMessage() {}
191
192 func (x *GetOrderRequest) ProtoReflect() protoreflect.Message {
193 mi := &file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes[2]
194 if protoimpl.UnsafeEnabled && x != nil {
195 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
196 if ms.LoadMessageInfo() == nil {
197 ms.StoreMessageInfo(mi)
198 }
199 return ms
200 }
201 return mi.MessageOf(x)
202 }
203
204
205 func (*GetOrderRequest) Descriptor() ([]byte, []int) {
206 return file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_rawDescGZIP(), []int{2}
207 }
208
209 func (x *GetOrderRequest) GetName() string {
210 if x != nil {
211 return x.Name
212 }
213 return ""
214 }
215
216
217 type ListOrdersRequest struct {
218 state protoimpl.MessageState
219 sizeCache protoimpl.SizeCache
220 unknownFields protoimpl.UnknownFields
221
222
223
224 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
225
226
227 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
228
229 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246 Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
247 }
248
249 func (x *ListOrdersRequest) Reset() {
250 *x = ListOrdersRequest{}
251 if protoimpl.UnsafeEnabled {
252 mi := &file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes[3]
253 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
254 ms.StoreMessageInfo(mi)
255 }
256 }
257
258 func (x *ListOrdersRequest) String() string {
259 return protoimpl.X.MessageStringOf(x)
260 }
261
262 func (*ListOrdersRequest) ProtoMessage() {}
263
264 func (x *ListOrdersRequest) ProtoReflect() protoreflect.Message {
265 mi := &file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes[3]
266 if protoimpl.UnsafeEnabled && x != nil {
267 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
268 if ms.LoadMessageInfo() == nil {
269 ms.StoreMessageInfo(mi)
270 }
271 return ms
272 }
273 return mi.MessageOf(x)
274 }
275
276
277 func (*ListOrdersRequest) Descriptor() ([]byte, []int) {
278 return file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_rawDescGZIP(), []int{3}
279 }
280
281 func (x *ListOrdersRequest) GetParent() string {
282 if x != nil {
283 return x.Parent
284 }
285 return ""
286 }
287
288 func (x *ListOrdersRequest) GetPageSize() int32 {
289 if x != nil {
290 return x.PageSize
291 }
292 return 0
293 }
294
295 func (x *ListOrdersRequest) GetPageToken() string {
296 if x != nil {
297 return x.PageToken
298 }
299 return ""
300 }
301
302 func (x *ListOrdersRequest) GetFilter() string {
303 if x != nil {
304 return x.Filter
305 }
306 return ""
307 }
308
309
310 type ListOrdersResponse struct {
311 state protoimpl.MessageState
312 sizeCache protoimpl.SizeCache
313 unknownFields protoimpl.UnknownFields
314
315
316 Orders []*Order `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
317
318 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
319 }
320
321 func (x *ListOrdersResponse) Reset() {
322 *x = ListOrdersResponse{}
323 if protoimpl.UnsafeEnabled {
324 mi := &file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes[4]
325 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
326 ms.StoreMessageInfo(mi)
327 }
328 }
329
330 func (x *ListOrdersResponse) String() string {
331 return protoimpl.X.MessageStringOf(x)
332 }
333
334 func (*ListOrdersResponse) ProtoMessage() {}
335
336 func (x *ListOrdersResponse) ProtoReflect() protoreflect.Message {
337 mi := &file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes[4]
338 if protoimpl.UnsafeEnabled && x != nil {
339 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
340 if ms.LoadMessageInfo() == nil {
341 ms.StoreMessageInfo(mi)
342 }
343 return ms
344 }
345 return mi.MessageOf(x)
346 }
347
348
349 func (*ListOrdersResponse) Descriptor() ([]byte, []int) {
350 return file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_rawDescGZIP(), []int{4}
351 }
352
353 func (x *ListOrdersResponse) GetOrders() []*Order {
354 if x != nil {
355 return x.Orders
356 }
357 return nil
358 }
359
360 func (x *ListOrdersResponse) GetNextPageToken() string {
361 if x != nil {
362 return x.NextPageToken
363 }
364 return ""
365 }
366
367 var File_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto protoreflect.FileDescriptor
368
369 var file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_rawDesc = []byte{
370 0x0a, 0x4d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63,
371 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x63, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72,
372 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x61,
373 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e,
374 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
375 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f,
376 0x6d, 0x6d, 0x65, 0x72, 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x2e,
377 0x70, 0x72, 0x6f, 0x63, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c,
378 0x70, 0x68, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
379 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f,
380 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63,
381 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
382 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65,
383 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f,
384 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
385 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
386 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x63, 0x65, 0x2f, 0x63,
387 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x75, 0x72, 0x65, 0x6d,
388 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6f, 0x72, 0x64,
389 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
390 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65,
391 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x99, 0x02,
392 0x0a, 0x11, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
393 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
394 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x63, 0x6c, 0x6f,
395 0x75, 0x64, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
396 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67,
397 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12,
398 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
399 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70,
400 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x6c, 0x0a, 0x0e, 0x6c, 0x69, 0x6e, 0x65, 0x5f,
401 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32,
402 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63,
403 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72,
404 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x61,
405 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x6e,
406 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x74, 0x65,
407 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
408 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09,
409 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x50, 0x6c, 0x61,
410 0x63, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22,
411 0x2a, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
412 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
413 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x11,
414 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
415 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
416 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b,
417 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
418 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70,
419 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
420 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69,
421 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74,
422 0x65, 0x72, 0x22, 0x90, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72,
423 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x06, 0x6f, 0x72, 0x64,
424 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
425 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x63,
426 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x75,
427 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
428 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a,
429 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
430 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65,
431 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xec, 0x05, 0x0a, 0x1a, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d,
432 0x65, 0x72, 0x50, 0x72, 0x6f, 0x63, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72,
433 0x76, 0x69, 0x63, 0x65, 0x12, 0xcf, 0x01, 0x0a, 0x0a, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x4f, 0x72,
434 0x64, 0x65, 0x72, 0x12, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
435 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x73,
436 0x75, 0x6d, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74,
437 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x4f,
438 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f,
439 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67,
440 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5a, 0x82, 0xd3, 0xe4, 0x93,
441 0x02, 0x36, 0x22, 0x31, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x7b, 0x70,
442 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63,
443 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x3a,
444 0x70, 0x6c, 0x61, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0xca, 0x41, 0x1b, 0x0a, 0x05, 0x4f, 0x72, 0x64,
445 0x65, 0x72, 0x12, 0x12, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4d, 0x65,
446 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xc1, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x4f, 0x72,
447 0x64, 0x65, 0x72, 0x12, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
448 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x73,
449 0x75, 0x6d, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74,
450 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x64,
451 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
452 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x63,
453 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x75,
454 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
455 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f,
456 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x62,
457 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a,
458 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xd2, 0x01, 0x0a, 0x0a, 0x4c,
459 0x69, 0x73, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
460 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x63,
461 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x75,
462 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
463 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
464 0x74, 0x1a, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
465 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d,
466 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x63, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76,
467 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x64, 0x65,
468 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93,
469 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x7b, 0x70,
470 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63,
471 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x1a,
472 0x63, 0xca, 0x41, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x63,
473 0x65, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x70, 0x72, 0x6f, 0x63, 0x75, 0x72, 0x65,
474 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
475 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77,
476 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
477 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74,
478 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x9b, 0x01, 0x0a, 0x37, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
479 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x72,
480 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x63,
481 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
482 0x50, 0x01, 0x5a, 0x5e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
483 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
484 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f,
485 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x63, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65,
486 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31,
487 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x70, 0x72, 0x6f, 0x63, 0x75, 0x72, 0x65, 0x6d, 0x65,
488 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
489 }
490
491 var (
492 file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_rawDescOnce sync.Once
493 file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_rawDescData = file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_rawDesc
494 )
495
496 func file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_rawDescGZIP() []byte {
497 file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_rawDescOnce.Do(func() {
498 file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_rawDescData)
499 })
500 return file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_rawDescData
501 }
502
503 var file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
504 var file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_goTypes = []interface{}{
505 (*PlaceOrderRequest)(nil),
506 (*PlaceOrderMetadata)(nil),
507 (*GetOrderRequest)(nil),
508 (*ListOrdersRequest)(nil),
509 (*ListOrdersResponse)(nil),
510 (*LineItemInfo)(nil),
511 (*Order)(nil),
512 (*longrunning.Operation)(nil),
513 }
514 var file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_depIdxs = []int32{
515 5,
516 6,
517 0,
518 2,
519 3,
520 7,
521 6,
522 4,
523 5,
524 2,
525 2,
526 2,
527 0,
528 }
529
530 func init() {
531 file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_init()
532 }
533 func file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_init() {
534 if File_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto != nil {
535 return
536 }
537 file_google_cloud_commerce_consumer_procurement_v1alpha1_order_proto_init()
538 if !protoimpl.UnsafeEnabled {
539 file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
540 switch v := v.(*PlaceOrderRequest); i {
541 case 0:
542 return &v.state
543 case 1:
544 return &v.sizeCache
545 case 2:
546 return &v.unknownFields
547 default:
548 return nil
549 }
550 }
551 file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
552 switch v := v.(*PlaceOrderMetadata); i {
553 case 0:
554 return &v.state
555 case 1:
556 return &v.sizeCache
557 case 2:
558 return &v.unknownFields
559 default:
560 return nil
561 }
562 }
563 file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
564 switch v := v.(*GetOrderRequest); i {
565 case 0:
566 return &v.state
567 case 1:
568 return &v.sizeCache
569 case 2:
570 return &v.unknownFields
571 default:
572 return nil
573 }
574 }
575 file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
576 switch v := v.(*ListOrdersRequest); i {
577 case 0:
578 return &v.state
579 case 1:
580 return &v.sizeCache
581 case 2:
582 return &v.unknownFields
583 default:
584 return nil
585 }
586 }
587 file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
588 switch v := v.(*ListOrdersResponse); i {
589 case 0:
590 return &v.state
591 case 1:
592 return &v.sizeCache
593 case 2:
594 return &v.unknownFields
595 default:
596 return nil
597 }
598 }
599 }
600 type x struct{}
601 out := protoimpl.TypeBuilder{
602 File: protoimpl.DescBuilder{
603 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
604 RawDescriptor: file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_rawDesc,
605 NumEnums: 0,
606 NumMessages: 5,
607 NumExtensions: 0,
608 NumServices: 1,
609 },
610 GoTypes: file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_goTypes,
611 DependencyIndexes: file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_depIdxs,
612 MessageInfos: file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_msgTypes,
613 }.Build()
614 File_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto = out.File
615 file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_rawDesc = nil
616 file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_goTypes = nil
617 file_google_cloud_commerce_consumer_procurement_v1alpha1_procurement_service_proto_depIdxs = nil
618 }
619
620
621 var _ context.Context
622 var _ grpc.ClientConnInterface
623
624
625
626 const _ = grpc.SupportPackageIsVersion6
627
628
629
630
631 type ConsumerProcurementServiceClient interface {
632
633
634
635
636
637
638 PlaceOrder(ctx context.Context, in *PlaceOrderRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
639
640 GetOrder(ctx context.Context, in *GetOrderRequest, opts ...grpc.CallOption) (*Order, error)
641
642
643 ListOrders(ctx context.Context, in *ListOrdersRequest, opts ...grpc.CallOption) (*ListOrdersResponse, error)
644 }
645
646 type consumerProcurementServiceClient struct {
647 cc grpc.ClientConnInterface
648 }
649
650 func NewConsumerProcurementServiceClient(cc grpc.ClientConnInterface) ConsumerProcurementServiceClient {
651 return &consumerProcurementServiceClient{cc}
652 }
653
654 func (c *consumerProcurementServiceClient) PlaceOrder(ctx context.Context, in *PlaceOrderRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
655 out := new(longrunning.Operation)
656 err := c.cc.Invoke(ctx, "/google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService/PlaceOrder", in, out, opts...)
657 if err != nil {
658 return nil, err
659 }
660 return out, nil
661 }
662
663 func (c *consumerProcurementServiceClient) GetOrder(ctx context.Context, in *GetOrderRequest, opts ...grpc.CallOption) (*Order, error) {
664 out := new(Order)
665 err := c.cc.Invoke(ctx, "/google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService/GetOrder", in, out, opts...)
666 if err != nil {
667 return nil, err
668 }
669 return out, nil
670 }
671
672 func (c *consumerProcurementServiceClient) ListOrders(ctx context.Context, in *ListOrdersRequest, opts ...grpc.CallOption) (*ListOrdersResponse, error) {
673 out := new(ListOrdersResponse)
674 err := c.cc.Invoke(ctx, "/google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService/ListOrders", in, out, opts...)
675 if err != nil {
676 return nil, err
677 }
678 return out, nil
679 }
680
681
682 type ConsumerProcurementServiceServer interface {
683
684
685
686
687
688
689 PlaceOrder(context.Context, *PlaceOrderRequest) (*longrunning.Operation, error)
690
691 GetOrder(context.Context, *GetOrderRequest) (*Order, error)
692
693
694 ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersResponse, error)
695 }
696
697
698 type UnimplementedConsumerProcurementServiceServer struct {
699 }
700
701 func (*UnimplementedConsumerProcurementServiceServer) PlaceOrder(context.Context, *PlaceOrderRequest) (*longrunning.Operation, error) {
702 return nil, status.Errorf(codes.Unimplemented, "method PlaceOrder not implemented")
703 }
704 func (*UnimplementedConsumerProcurementServiceServer) GetOrder(context.Context, *GetOrderRequest) (*Order, error) {
705 return nil, status.Errorf(codes.Unimplemented, "method GetOrder not implemented")
706 }
707 func (*UnimplementedConsumerProcurementServiceServer) ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersResponse, error) {
708 return nil, status.Errorf(codes.Unimplemented, "method ListOrders not implemented")
709 }
710
711 func RegisterConsumerProcurementServiceServer(s *grpc.Server, srv ConsumerProcurementServiceServer) {
712 s.RegisterService(&_ConsumerProcurementService_serviceDesc, srv)
713 }
714
715 func _ConsumerProcurementService_PlaceOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
716 in := new(PlaceOrderRequest)
717 if err := dec(in); err != nil {
718 return nil, err
719 }
720 if interceptor == nil {
721 return srv.(ConsumerProcurementServiceServer).PlaceOrder(ctx, in)
722 }
723 info := &grpc.UnaryServerInfo{
724 Server: srv,
725 FullMethod: "/google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService/PlaceOrder",
726 }
727 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
728 return srv.(ConsumerProcurementServiceServer).PlaceOrder(ctx, req.(*PlaceOrderRequest))
729 }
730 return interceptor(ctx, in, info, handler)
731 }
732
733 func _ConsumerProcurementService_GetOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
734 in := new(GetOrderRequest)
735 if err := dec(in); err != nil {
736 return nil, err
737 }
738 if interceptor == nil {
739 return srv.(ConsumerProcurementServiceServer).GetOrder(ctx, in)
740 }
741 info := &grpc.UnaryServerInfo{
742 Server: srv,
743 FullMethod: "/google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService/GetOrder",
744 }
745 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
746 return srv.(ConsumerProcurementServiceServer).GetOrder(ctx, req.(*GetOrderRequest))
747 }
748 return interceptor(ctx, in, info, handler)
749 }
750
751 func _ConsumerProcurementService_ListOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
752 in := new(ListOrdersRequest)
753 if err := dec(in); err != nil {
754 return nil, err
755 }
756 if interceptor == nil {
757 return srv.(ConsumerProcurementServiceServer).ListOrders(ctx, in)
758 }
759 info := &grpc.UnaryServerInfo{
760 Server: srv,
761 FullMethod: "/google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService/ListOrders",
762 }
763 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
764 return srv.(ConsumerProcurementServiceServer).ListOrders(ctx, req.(*ListOrdersRequest))
765 }
766 return interceptor(ctx, in, info, handler)
767 }
768
769 var _ConsumerProcurementService_serviceDesc = grpc.ServiceDesc{
770 ServiceName: "google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService",
771 HandlerType: (*ConsumerProcurementServiceServer)(nil),
772 Methods: []grpc.MethodDesc{
773 {
774 MethodName: "PlaceOrder",
775 Handler: _ConsumerProcurementService_PlaceOrder_Handler,
776 },
777 {
778 MethodName: "GetOrder",
779 Handler: _ConsumerProcurementService_GetOrder_Handler,
780 },
781 {
782 MethodName: "ListOrders",
783 Handler: _ConsumerProcurementService_ListOrders_Handler,
784 },
785 },
786 Streams: []grpc.StreamDesc{},
787 Metadata: "google/cloud/commerce/consumer/procurement/v1alpha1/procurement_service.proto",
788 }
789
View as plain text