Debian Codegraph @

googleapis/appengine/v1beta/operation.pb.go

raw
1 // Copyright 2021 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 v3.12.2
19 // source: google/appengine/v1beta/operation.proto
20
21 package appengine
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // Metadata for the given [google.longrunning.Operation][google.longrunning.Operation].
40 type OperationMetadataV1Beta struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // API method that initiated this operation. Example:
46 // `google.appengine.v1beta.Versions.CreateVersion`.
47 //
48 // @OutputOnly
49 Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
50 // Time that this operation was created.
51 //
52 // @OutputOnly
53 InsertTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=insert_time,json=insertTime,proto3" json:"insert_time,omitempty"`
54 // Time that this operation completed.
55 //
56 // @OutputOnly
57 EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
58 // User who requested this operation.
59 //
60 // @OutputOnly
61 User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
62 // Name of the resource that this operation is acting on. Example:
63 // `apps/myapp/services/default`.
64 //
65 // @OutputOnly
66 Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
67 // Ephemeral message that may change every time the operation is polled.
68 // @OutputOnly
69 EphemeralMessage string `protobuf:"bytes,6,opt,name=ephemeral_message,json=ephemeralMessage,proto3" json:"ephemeral_message,omitempty"`
70 // Durable messages that persist on every operation poll.
71 // @OutputOnly
72 Warning []string `protobuf:"bytes,7,rep,name=warning,proto3" json:"warning,omitempty"`
73 // Metadata specific to the type of operation in progress.
74 // @OutputOnly
75 //
76 // Types that are assignable to MethodMetadata:
77 //
78 // *OperationMetadataV1Beta_CreateVersionMetadata
79 MethodMetadata isOperationMetadataV1Beta_MethodMetadata `protobuf_oneof:"method_metadata"`
80 }
81
82 func (x *OperationMetadataV1Beta) Reset() {
83 *x = OperationMetadataV1Beta{}
84 if protoimpl.UnsafeEnabled {
85 mi := &file_google_appengine_v1beta_operation_proto_msgTypes[0]
86 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
87 ms.StoreMessageInfo(mi)
88 }
89 }
90
91 func (x *OperationMetadataV1Beta) String() string {
92 return protoimpl.X.MessageStringOf(x)
93 }
94
95 func (*OperationMetadataV1Beta) ProtoMessage() {}
96
97 func (x *OperationMetadataV1Beta) ProtoReflect() protoreflect.Message {
98 mi := &file_google_appengine_v1beta_operation_proto_msgTypes[0]
99 if protoimpl.UnsafeEnabled && x != nil {
100 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
101 if ms.LoadMessageInfo() == nil {
102 ms.StoreMessageInfo(mi)
103 }
104 return ms
105 }
106 return mi.MessageOf(x)
107 }
108
109 // Deprecated: Use OperationMetadataV1Beta.ProtoReflect.Descriptor instead.
110 func (*OperationMetadataV1Beta) Descriptor() ([]byte, []int) {
111 return file_google_appengine_v1beta_operation_proto_rawDescGZIP(), []int{0}
112 }
113
114 func (x *OperationMetadataV1Beta) GetMethod() string {
115 if x != nil {
116 return x.Method
117 }
118 return ""
119 }
120
121 func (x *OperationMetadataV1Beta) GetInsertTime() *timestamppb.Timestamp {
122 if x != nil {
123 return x.InsertTime
124 }
125 return nil
126 }
127
128 func (x *OperationMetadataV1Beta) GetEndTime() *timestamppb.Timestamp {
129 if x != nil {
130 return x.EndTime
131 }
132 return nil
133 }
134
135 func (x *OperationMetadataV1Beta) GetUser() string {
136 if x != nil {
137 return x.User
138 }
139 return ""
140 }
141
142 func (x *OperationMetadataV1Beta) GetTarget() string {
143 if x != nil {
144 return x.Target
145 }
146 return ""
147 }
148
149 func (x *OperationMetadataV1Beta) GetEphemeralMessage() string {
150 if x != nil {
151 return x.EphemeralMessage
152 }
153 return ""
154 }
155
156 func (x *OperationMetadataV1Beta) GetWarning() []string {
157 if x != nil {
158 return x.Warning
159 }
160 return nil
161 }
162
163 func (m *OperationMetadataV1Beta) GetMethodMetadata() isOperationMetadataV1Beta_MethodMetadata {
164 if m != nil {
165 return m.MethodMetadata
166 }
167 return nil
168 }
169
170 func (x *OperationMetadataV1Beta) GetCreateVersionMetadata() *CreateVersionMetadataV1Beta {
171 if x, ok := x.GetMethodMetadata().(*OperationMetadataV1Beta_CreateVersionMetadata); ok {
172 return x.CreateVersionMetadata
173 }
174 return nil
175 }
176
177 type isOperationMetadataV1Beta_MethodMetadata interface {
178 isOperationMetadataV1Beta_MethodMetadata()
179 }
180
181 type OperationMetadataV1Beta_CreateVersionMetadata struct {
182 CreateVersionMetadata *CreateVersionMetadataV1Beta `protobuf:"bytes,8,opt,name=create_version_metadata,json=createVersionMetadata,proto3,oneof"`
183 }
184
185 func (*OperationMetadataV1Beta_CreateVersionMetadata) isOperationMetadataV1Beta_MethodMetadata() {}
186
187 // Metadata for the given [google.longrunning.Operation][google.longrunning.Operation] during a
188 // [google.appengine.v1beta.CreateVersionRequest][google.appengine.v1beta.CreateVersionRequest].
189 type CreateVersionMetadataV1Beta struct {
190 state protoimpl.MessageState
191 sizeCache protoimpl.SizeCache
192 unknownFields protoimpl.UnknownFields
193
194 // The Cloud Build ID if one was created as part of the version create.
195 // @OutputOnly
196 CloudBuildId string `protobuf:"bytes,1,opt,name=cloud_build_id,json=cloudBuildId,proto3" json:"cloud_build_id,omitempty"`
197 }
198
199 func (x *CreateVersionMetadataV1Beta) Reset() {
200 *x = CreateVersionMetadataV1Beta{}
201 if protoimpl.UnsafeEnabled {
202 mi := &file_google_appengine_v1beta_operation_proto_msgTypes[1]
203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
204 ms.StoreMessageInfo(mi)
205 }
206 }
207
208 func (x *CreateVersionMetadataV1Beta) String() string {
209 return protoimpl.X.MessageStringOf(x)
210 }
211
212 func (*CreateVersionMetadataV1Beta) ProtoMessage() {}
213
214 func (x *CreateVersionMetadataV1Beta) ProtoReflect() protoreflect.Message {
215 mi := &file_google_appengine_v1beta_operation_proto_msgTypes[1]
216 if protoimpl.UnsafeEnabled && x != nil {
217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
218 if ms.LoadMessageInfo() == nil {
219 ms.StoreMessageInfo(mi)
220 }
221 return ms
222 }
223 return mi.MessageOf(x)
224 }
225
226 // Deprecated: Use CreateVersionMetadataV1Beta.ProtoReflect.Descriptor instead.
227 func (*CreateVersionMetadataV1Beta) Descriptor() ([]byte, []int) {
228 return file_google_appengine_v1beta_operation_proto_rawDescGZIP(), []int{1}
229 }
230
231 func (x *CreateVersionMetadataV1Beta) GetCloudBuildId() string {
232 if x != nil {
233 return x.CloudBuildId
234 }
235 return ""
236 }
237
238 var File_google_appengine_v1beta_operation_proto protoreflect.FileDescriptor
239
240 var file_google_appengine_v1beta_operation_proto_rawDesc = []byte{
241 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69,
242 0x6e, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
243 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
244 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65,
245 0x74, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
246 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72,
247 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x03, 0x0a, 0x17, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
248 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x12,
249 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
250 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x65, 0x72,
251 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
252 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
253 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74,
254 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
255 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
256 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
257 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75,
258 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12,
259 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
260 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x70, 0x68, 0x65, 0x6d,
261 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01,
262 0x28, 0x09, 0x52, 0x10, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x65, 0x73,
263 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x18,
264 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x6e,
265 0x0a, 0x17, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
266 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
267 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69,
268 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
269 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x56,
270 0x31, 0x42, 0x65, 0x74, 0x61, 0x48, 0x00, 0x52, 0x15, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56,
271 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x11,
272 0x0a, 0x0f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
273 0x61, 0x22, 0x43, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69,
274 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61,
275 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
276 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x42,
277 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x42, 0xd4, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
278 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e,
279 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x0e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
280 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
281 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70,
282 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f,
283 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
284 0x3b, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f,
285 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67,
286 0x69, 0x6e, 0x65, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1d, 0x47, 0x6f, 0x6f,
287 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67,
288 0x69, 0x6e, 0x65, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x20, 0x47, 0x6f, 0x6f,
289 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x70, 0x70, 0x45,
290 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70,
291 0x72, 0x6f, 0x74, 0x6f, 0x33,
292 }
293
294 var (
295 file_google_appengine_v1beta_operation_proto_rawDescOnce sync.Once
296 file_google_appengine_v1beta_operation_proto_rawDescData = file_google_appengine_v1beta_operation_proto_rawDesc
297 )
298
299 func file_google_appengine_v1beta_operation_proto_rawDescGZIP() []byte {
300 file_google_appengine_v1beta_operation_proto_rawDescOnce.Do(func() {
301 file_google_appengine_v1beta_operation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_appengine_v1beta_operation_proto_rawDescData)
302 })
303 return file_google_appengine_v1beta_operation_proto_rawDescData
304 }
305
306 var file_google_appengine_v1beta_operation_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
307 var file_google_appengine_v1beta_operation_proto_goTypes = []interface{}{
308 (*OperationMetadataV1Beta)(nil), // 0: google.appengine.v1beta.OperationMetadataV1Beta
309 (*CreateVersionMetadataV1Beta)(nil), // 1: google.appengine.v1beta.CreateVersionMetadataV1Beta
310 (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp
311 }
312 var file_google_appengine_v1beta_operation_proto_depIdxs = []int32{
313 2, // 0: google.appengine.v1beta.OperationMetadataV1Beta.insert_time:type_name -> google.protobuf.Timestamp
314 2, // 1: google.appengine.v1beta.OperationMetadataV1Beta.end_time:type_name -> google.protobuf.Timestamp
315 1, // 2: google.appengine.v1beta.OperationMetadataV1Beta.create_version_metadata:type_name -> google.appengine.v1beta.CreateVersionMetadataV1Beta
316 3, // [3:3] is the sub-list for method output_type
317 3, // [3:3] is the sub-list for method input_type
318 3, // [3:3] is the sub-list for extension type_name
319 3, // [3:3] is the sub-list for extension extendee
320 0, // [0:3] is the sub-list for field type_name
321 }
322
323 func init() { file_google_appengine_v1beta_operation_proto_init() }
324 func file_google_appengine_v1beta_operation_proto_init() {
325 if File_google_appengine_v1beta_operation_proto != nil {
326 return
327 }
328 if !protoimpl.UnsafeEnabled {
329 file_google_appengine_v1beta_operation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
330 switch v := v.(*OperationMetadataV1Beta); i {
331 case 0:
332 return &v.state
333 case 1:
334 return &v.sizeCache
335 case 2:
336 return &v.unknownFields
337 default:
338 return nil
339 }
340 }
341 file_google_appengine_v1beta_operation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
342 switch v := v.(*CreateVersionMetadataV1Beta); i {
343 case 0:
344 return &v.state
345 case 1:
346 return &v.sizeCache
347 case 2:
348 return &v.unknownFields
349 default:
350 return nil
351 }
352 }
353 }
354 file_google_appengine_v1beta_operation_proto_msgTypes[0].OneofWrappers = []interface{}{
355 (*OperationMetadataV1Beta_CreateVersionMetadata)(nil),
356 }
357 type x struct{}
358 out := protoimpl.TypeBuilder{
359 File: protoimpl.DescBuilder{
360 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
361 RawDescriptor: file_google_appengine_v1beta_operation_proto_rawDesc,
362 NumEnums: 0,
363 NumMessages: 2,
364 NumExtensions: 0,
365 NumServices: 0,
366 },
367 GoTypes: file_google_appengine_v1beta_operation_proto_goTypes,
368 DependencyIndexes: file_google_appengine_v1beta_operation_proto_depIdxs,
369 MessageInfos: file_google_appengine_v1beta_operation_proto_msgTypes,
370 }.Build()
371 File_google_appengine_v1beta_operation_proto = out.File
372 file_google_appengine_v1beta_operation_proto_rawDesc = nil
373 file_google_appengine_v1beta_operation_proto_goTypes = nil
374 file_google_appengine_v1beta_operation_proto_depIdxs = nil
375 }