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 package extendedops
27
28 import (
29 reflect "reflect"
30 sync "sync"
31
32 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
33 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
34 descriptorpb "google.golang.org/protobuf/types/descriptorpb"
35 )
36
37 const (
38
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44
45
46
47
48 type OperationResponseMapping int32
49
50 const (
51
52 OperationResponseMapping_UNDEFINED OperationResponseMapping = 0
53
54
55 OperationResponseMapping_NAME OperationResponseMapping = 1
56
57
58
59
60
61
62 OperationResponseMapping_STATUS OperationResponseMapping = 2
63
64
65 OperationResponseMapping_ERROR_CODE OperationResponseMapping = 3
66
67
68 OperationResponseMapping_ERROR_MESSAGE OperationResponseMapping = 4
69 )
70
71
72 var (
73 OperationResponseMapping_name = map[int32]string{
74 0: "UNDEFINED",
75 1: "NAME",
76 2: "STATUS",
77 3: "ERROR_CODE",
78 4: "ERROR_MESSAGE",
79 }
80 OperationResponseMapping_value = map[string]int32{
81 "UNDEFINED": 0,
82 "NAME": 1,
83 "STATUS": 2,
84 "ERROR_CODE": 3,
85 "ERROR_MESSAGE": 4,
86 }
87 )
88
89 func (x OperationResponseMapping) Enum() *OperationResponseMapping {
90 p := new(OperationResponseMapping)
91 *p = x
92 return p
93 }
94
95 func (x OperationResponseMapping) String() string {
96 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
97 }
98
99 func (OperationResponseMapping) Descriptor() protoreflect.EnumDescriptor {
100 return file_google_cloud_extended_operations_proto_enumTypes[0].Descriptor()
101 }
102
103 func (OperationResponseMapping) Type() protoreflect.EnumType {
104 return &file_google_cloud_extended_operations_proto_enumTypes[0]
105 }
106
107 func (x OperationResponseMapping) Number() protoreflect.EnumNumber {
108 return protoreflect.EnumNumber(x)
109 }
110
111
112 func (OperationResponseMapping) EnumDescriptor() ([]byte, []int) {
113 return file_google_cloud_extended_operations_proto_rawDescGZIP(), []int{0}
114 }
115
116 var file_google_cloud_extended_operations_proto_extTypes = []protoimpl.ExtensionInfo{
117 {
118 ExtendedType: (*descriptorpb.FieldOptions)(nil),
119 ExtensionType: (*OperationResponseMapping)(nil),
120 Field: 1149,
121 Name: "google.cloud.operation_field",
122 Tag: "varint,1149,opt,name=operation_field,enum=google.cloud.OperationResponseMapping",
123 Filename: "google/cloud/extended_operations.proto",
124 },
125 {
126 ExtendedType: (*descriptorpb.FieldOptions)(nil),
127 ExtensionType: (*string)(nil),
128 Field: 1150,
129 Name: "google.cloud.operation_request_field",
130 Tag: "bytes,1150,opt,name=operation_request_field",
131 Filename: "google/cloud/extended_operations.proto",
132 },
133 {
134 ExtendedType: (*descriptorpb.FieldOptions)(nil),
135 ExtensionType: (*string)(nil),
136 Field: 1151,
137 Name: "google.cloud.operation_response_field",
138 Tag: "bytes,1151,opt,name=operation_response_field",
139 Filename: "google/cloud/extended_operations.proto",
140 },
141 {
142 ExtendedType: (*descriptorpb.MethodOptions)(nil),
143 ExtensionType: (*string)(nil),
144 Field: 1249,
145 Name: "google.cloud.operation_service",
146 Tag: "bytes,1249,opt,name=operation_service",
147 Filename: "google/cloud/extended_operations.proto",
148 },
149 {
150 ExtendedType: (*descriptorpb.MethodOptions)(nil),
151 ExtensionType: (*bool)(nil),
152 Field: 1250,
153 Name: "google.cloud.operation_polling_method",
154 Tag: "varint,1250,opt,name=operation_polling_method",
155 Filename: "google/cloud/extended_operations.proto",
156 },
157 }
158
159
160 var (
161
162
163
164
165
166 E_OperationField = &file_google_cloud_extended_operations_proto_extTypes[0]
167
168
169
170
171
172
173
174
175
176
177
178 E_OperationRequestField = &file_google_cloud_extended_operations_proto_extTypes[1]
179
180
181
182
183
184
185
186
187
188
189
190 E_OperationResponseField = &file_google_cloud_extended_operations_proto_extTypes[2]
191 )
192
193
194 var (
195
196
197
198
199
200
201
202 E_OperationService = &file_google_cloud_extended_operations_proto_extTypes[3]
203
204
205
206
207 E_OperationPollingMethod = &file_google_cloud_extended_operations_proto_extTypes[4]
208 )
209
210 var File_google_cloud_extended_operations_proto protoreflect.FileDescriptor
211
212 var file_google_cloud_extended_operations_proto_rawDesc = []byte{
213 0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65,
214 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
215 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
216 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
217 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
218 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x62, 0x0a, 0x18, 0x4f, 0x70, 0x65, 0x72,
219 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x61, 0x70,
220 0x70, 0x69, 0x6e, 0x67, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45,
221 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a,
222 0x06, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x52, 0x52,
223 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x52, 0x52,
224 0x4f, 0x52, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x04, 0x3a, 0x6f, 0x0a, 0x0f,
225 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12,
226 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
227 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xfd,
228 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
229 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
230 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x6f,
231 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a, 0x56, 0x0a,
232 0x17, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65,
233 0x73, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
234 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
235 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xfe, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15,
236 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
237 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a, 0x58, 0x0a, 0x18, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
238 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c,
239 0x64, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
240 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
241 0x18, 0xff, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
242 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a,
243 0x4c, 0x0a, 0x11, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72,
244 0x76, 0x69, 0x63, 0x65, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
245 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74,
246 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe1, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x70, 0x65,
247 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x59, 0x0a,
248 0x18, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x6c, 0x69,
249 0x6e, 0x67, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
250 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68,
251 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe2, 0x09, 0x20, 0x01, 0x28, 0x08,
252 0x52, 0x16, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x6c, 0x69,
253 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x42, 0x79, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e,
254 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x42, 0x17, 0x45, 0x78,
255 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
256 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
257 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72,
258 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63,
259 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x6f, 0x70, 0x73,
260 0x3b, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x6f, 0x70, 0x73, 0xa2, 0x02, 0x04, 0x47,
261 0x41, 0x50, 0x49, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
262 }
263
264 var (
265 file_google_cloud_extended_operations_proto_rawDescOnce sync.Once
266 file_google_cloud_extended_operations_proto_rawDescData = file_google_cloud_extended_operations_proto_rawDesc
267 )
268
269 func file_google_cloud_extended_operations_proto_rawDescGZIP() []byte {
270 file_google_cloud_extended_operations_proto_rawDescOnce.Do(func() {
271 file_google_cloud_extended_operations_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_extended_operations_proto_rawDescData)
272 })
273 return file_google_cloud_extended_operations_proto_rawDescData
274 }
275
276 var file_google_cloud_extended_operations_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
277 var file_google_cloud_extended_operations_proto_goTypes = []interface{}{
278 (OperationResponseMapping)(0),
279 (*descriptorpb.FieldOptions)(nil),
280 (*descriptorpb.MethodOptions)(nil),
281 }
282 var file_google_cloud_extended_operations_proto_depIdxs = []int32{
283 1,
284 1,
285 1,
286 2,
287 2,
288 0,
289 6,
290 6,
291 5,
292 0,
293 0,
294 }
295
296 func init() { file_google_cloud_extended_operations_proto_init() }
297 func file_google_cloud_extended_operations_proto_init() {
298 if File_google_cloud_extended_operations_proto != nil {
299 return
300 }
301 type x struct{}
302 out := protoimpl.TypeBuilder{
303 File: protoimpl.DescBuilder{
304 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
305 RawDescriptor: file_google_cloud_extended_operations_proto_rawDesc,
306 NumEnums: 1,
307 NumMessages: 0,
308 NumExtensions: 5,
309 NumServices: 0,
310 },
311 GoTypes: file_google_cloud_extended_operations_proto_goTypes,
312 DependencyIndexes: file_google_cloud_extended_operations_proto_depIdxs,
313 EnumInfos: file_google_cloud_extended_operations_proto_enumTypes,
314 ExtensionInfos: file_google_cloud_extended_operations_proto_extTypes,
315 }.Build()
316 File_google_cloud_extended_operations_proto = out.File
317 file_google_cloud_extended_operations_proto_rawDesc = nil
318 file_google_cloud_extended_operations_proto_goTypes = nil
319 file_google_cloud_extended_operations_proto_depIdxs = nil
320 }
321
View as plain text