Debian Codegraph @

googleapis/cloud/cloudsetup/logging/v1/complete_deployment.pb.go

raw
1 // Copyright 2022 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/cloud/cloudsetup/logging/v1/complete_deployment.proto
20
21 package logging
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 status "google.golang.org/genproto/googleapis/rpc/status"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 )
32
33 const (
34 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // State of the completed deployment.
41 type CompleteDeploymentEvent_State int32
42
43 const (
44 // The zero value. It is applied when `state` is unset. Do not use.
45 CompleteDeploymentEvent_STATE_UNSPECIFIED CompleteDeploymentEvent_State = 0
46 // Indicates that a Deployment value was present when the config deployment
47 // finished and the State was anything other than FAILED.
48 CompleteDeploymentEvent_SUCCEEDED CompleteDeploymentEvent_State = 1
49 // Indicates that the Operation result was an error or the Deployment
50 // `state` was FAILED.
51 CompleteDeploymentEvent_FAILED CompleteDeploymentEvent_State = 2
52 )
53
54 // Enum value maps for CompleteDeploymentEvent_State.
55 var (
56 CompleteDeploymentEvent_State_name = map[int32]string{
57 0: "STATE_UNSPECIFIED",
58 1: "SUCCEEDED",
59 2: "FAILED",
60 }
61 CompleteDeploymentEvent_State_value = map[string]int32{
62 "STATE_UNSPECIFIED": 0,
63 "SUCCEEDED": 1,
64 "FAILED": 2,
65 }
66 )
67
68 func (x CompleteDeploymentEvent_State) Enum() *CompleteDeploymentEvent_State {
69 p := new(CompleteDeploymentEvent_State)
70 *p = x
71 return p
72 }
73
74 func (x CompleteDeploymentEvent_State) String() string {
75 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
76 }
77
78 func (CompleteDeploymentEvent_State) Descriptor() protoreflect.EnumDescriptor {
79 return file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_enumTypes[0].Descriptor()
80 }
81
82 func (CompleteDeploymentEvent_State) Type() protoreflect.EnumType {
83 return &file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_enumTypes[0]
84 }
85
86 func (x CompleteDeploymentEvent_State) Number() protoreflect.EnumNumber {
87 return protoreflect.EnumNumber(x)
88 }
89
90 // Deprecated: Use CompleteDeploymentEvent_State.Descriptor instead.
91 func (CompleteDeploymentEvent_State) EnumDescriptor() ([]byte, []int) {
92 return file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_rawDescGZIP(), []int{0, 0}
93 }
94
95 // JSON payload for the Cloud Logging event:
96 // `organizations/[organizationId]/logs/cloudsetup.googleapis.com%2Fcomplete_deployment`.
97 // This event gets emitted upon completion of a config deployment as part of the
98 // Cloud Setup Checklist.
99 //
100 // The deployment can fail even if it returns a
101 // `config.googleapis.com/Deployment`. The state of that message will be
102 // `FAILED`. Hence, if there is a `value` present, the `state` can still be,
103 // `FAILED`. The message for the error or failure will be on the `error` or the
104 // `value` if the Operation results in an error or if the `state` of the
105 // Deployment is `FAILED`, respectively.
106 type CompleteDeploymentEvent struct {
107 state protoimpl.MessageState
108 sizeCache protoimpl.SizeCache
109 unknownFields protoimpl.UnknownFields
110
111 // Types that are assignable to Result:
112 // *CompleteDeploymentEvent_Value
113 // *CompleteDeploymentEvent_Error
114 Result isCompleteDeploymentEvent_Result `protobuf_oneof:"result"`
115 // The `state` of this deployment completion event.
116 State CompleteDeploymentEvent_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.cloudsetup.logging.v1.CompleteDeploymentEvent_State" json:"state,omitempty"`
117 // Flag to indicate if deployment is preview only.
118 PreviewOnly bool `protobuf:"varint,4,opt,name=preview_only,json=previewOnly,proto3" json:"preview_only,omitempty"`
119 }
120
121 func (x *CompleteDeploymentEvent) Reset() {
122 *x = CompleteDeploymentEvent{}
123 if protoimpl.UnsafeEnabled {
124 mi := &file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_msgTypes[0]
125 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
126 ms.StoreMessageInfo(mi)
127 }
128 }
129
130 func (x *CompleteDeploymentEvent) String() string {
131 return protoimpl.X.MessageStringOf(x)
132 }
133
134 func (*CompleteDeploymentEvent) ProtoMessage() {}
135
136 func (x *CompleteDeploymentEvent) ProtoReflect() protoreflect.Message {
137 mi := &file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_msgTypes[0]
138 if protoimpl.UnsafeEnabled && x != nil {
139 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
140 if ms.LoadMessageInfo() == nil {
141 ms.StoreMessageInfo(mi)
142 }
143 return ms
144 }
145 return mi.MessageOf(x)
146 }
147
148 // Deprecated: Use CompleteDeploymentEvent.ProtoReflect.Descriptor instead.
149 func (*CompleteDeploymentEvent) Descriptor() ([]byte, []int) {
150 return file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_rawDescGZIP(), []int{0}
151 }
152
153 func (m *CompleteDeploymentEvent) GetResult() isCompleteDeploymentEvent_Result {
154 if m != nil {
155 return m.Result
156 }
157 return nil
158 }
159
160 func (x *CompleteDeploymentEvent) GetValue() *CompleteDeploymentResult {
161 if x, ok := x.GetResult().(*CompleteDeploymentEvent_Value); ok {
162 return x.Value
163 }
164 return nil
165 }
166
167 func (x *CompleteDeploymentEvent) GetError() *status.Status {
168 if x, ok := x.GetResult().(*CompleteDeploymentEvent_Error); ok {
169 return x.Error
170 }
171 return nil
172 }
173
174 func (x *CompleteDeploymentEvent) GetState() CompleteDeploymentEvent_State {
175 if x != nil {
176 return x.State
177 }
178 return CompleteDeploymentEvent_STATE_UNSPECIFIED
179 }
180
181 func (x *CompleteDeploymentEvent) GetPreviewOnly() bool {
182 if x != nil {
183 return x.PreviewOnly
184 }
185 return false
186 }
187
188 type isCompleteDeploymentEvent_Result interface {
189 isCompleteDeploymentEvent_Result()
190 }
191
192 type CompleteDeploymentEvent_Value struct {
193 // Result of the Deployment recorded upon completion.
194 Value *CompleteDeploymentResult `protobuf:"bytes,1,opt,name=value,proto3,oneof"`
195 }
196
197 type CompleteDeploymentEvent_Error struct {
198 // Result of the Deployment if the `Operation` results in an error.
199 Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
200 }
201
202 func (*CompleteDeploymentEvent_Value) isCompleteDeploymentEvent_Result() {}
203
204 func (*CompleteDeploymentEvent_Error) isCompleteDeploymentEvent_Result() {}
205
206 // This message is used when the CompleteDeploymentEvent has a value.
207 type CompleteDeploymentResult struct {
208 state protoimpl.MessageState
209 sizeCache protoimpl.SizeCache
210 unknownFields protoimpl.UnknownFields
211
212 // This is the Deployment that completed.
213 // Format is projects/{project}/locations/{location}/deployments/{name}.
214 Deployment string `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
215 // This is the Preview that completed.
216 // Format is projects/{project}/locations/{location}/previews/{preview}
217 Preview string `protobuf:"bytes,3,opt,name=preview,proto3" json:"preview,omitempty"`
218 // The message that is returned when a deployment completes. This **can** be
219 // an error message if the `Deployment` `state` is `FAILED`.
220 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
221 }
222
223 func (x *CompleteDeploymentResult) Reset() {
224 *x = CompleteDeploymentResult{}
225 if protoimpl.UnsafeEnabled {
226 mi := &file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_msgTypes[1]
227 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
228 ms.StoreMessageInfo(mi)
229 }
230 }
231
232 func (x *CompleteDeploymentResult) String() string {
233 return protoimpl.X.MessageStringOf(x)
234 }
235
236 func (*CompleteDeploymentResult) ProtoMessage() {}
237
238 func (x *CompleteDeploymentResult) ProtoReflect() protoreflect.Message {
239 mi := &file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_msgTypes[1]
240 if protoimpl.UnsafeEnabled && x != nil {
241 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
242 if ms.LoadMessageInfo() == nil {
243 ms.StoreMessageInfo(mi)
244 }
245 return ms
246 }
247 return mi.MessageOf(x)
248 }
249
250 // Deprecated: Use CompleteDeploymentResult.ProtoReflect.Descriptor instead.
251 func (*CompleteDeploymentResult) Descriptor() ([]byte, []int) {
252 return file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_rawDescGZIP(), []int{1}
253 }
254
255 func (x *CompleteDeploymentResult) GetDeployment() string {
256 if x != nil {
257 return x.Deployment
258 }
259 return ""
260 }
261
262 func (x *CompleteDeploymentResult) GetPreview() string {
263 if x != nil {
264 return x.Preview
265 }
266 return ""
267 }
268
269 func (x *CompleteDeploymentResult) GetMessage() string {
270 if x != nil {
271 return x.Message
272 }
273 return ""
274 }
275
276 var File_google_cloud_cloudsetup_logging_v1_complete_deployment_proto protoreflect.FileDescriptor
277
278 var file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_rawDesc = []byte{
279 0x0a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63,
280 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x74, 0x75, 0x70, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e,
281 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x64, 0x65,
282 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22,
283 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f,
284 0x75, 0x64, 0x73, 0x65, 0x74, 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e,
285 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72,
286 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67,
287 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
288 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdc, 0x02, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x70, 0x6c,
289 0x65, 0x74, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65,
290 0x6e, 0x74, 0x12, 0x54, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
291 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
292 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x74, 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67,
293 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x44,
294 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x48,
295 0x00, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f,
296 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
297 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x05, 0x65,
298 0x72, 0x72, 0x6f, 0x72, 0x12, 0x57, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20,
299 0x01, 0x28, 0x0e, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
300 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x74, 0x75, 0x70, 0x2e, 0x6c, 0x6f,
301 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74,
302 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74,
303 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a,
304 0x0c, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20,
305 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x4f, 0x6e, 0x6c, 0x79,
306 0x22, 0x39, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41,
307 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
308 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12,
309 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x42, 0x08, 0x0a, 0x06, 0x72,
310 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xb9, 0x01, 0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65,
311 0x74, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75,
312 0x6c, 0x74, 0x12, 0x45, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74,
313 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x63, 0x6f, 0x6e,
314 0x66, 0x69, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
315 0x6f, 0x6d, 0x2f, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x64,
316 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x07, 0x70, 0x72, 0x65,
317 0x76, 0x69, 0x65, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x22, 0xfa, 0x41, 0x1f, 0x0a,
318 0x1d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
319 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x07,
320 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
321 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
322 0x65, 0x42, 0x81, 0x02, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
323 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x74, 0x75,
324 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x17, 0x43, 0x6f,
325 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74,
326 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
327 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72,
328 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63,
329 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x74, 0x75, 0x70, 0x2f,
330 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x6c, 0x6f, 0x67, 0x67, 0x69,
331 0x6e, 0x67, 0xaa, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75,
332 0x64, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x65, 0x74, 0x75, 0x70, 0x2e, 0x4c, 0x6f, 0x67,
333 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
334 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x65, 0x74, 0x75,
335 0x70, 0x5c, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x26, 0x47,
336 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x43, 0x6c,
337 0x6f, 0x75, 0x64, 0x53, 0x65, 0x74, 0x75, 0x70, 0x3a, 0x3a, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e,
338 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
339 }
340
341 var (
342 file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_rawDescOnce sync.Once
343 file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_rawDescData = file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_rawDesc
344 )
345
346 func file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_rawDescGZIP() []byte {
347 file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_rawDescOnce.Do(func() {
348 file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_rawDescData)
349 })
350 return file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_rawDescData
351 }
352
353 var file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
354 var file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
355 var file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_goTypes = []interface{}{
356 (CompleteDeploymentEvent_State)(0), // 0: google.cloud.cloudsetup.logging.v1.CompleteDeploymentEvent.State
357 (*CompleteDeploymentEvent)(nil), // 1: google.cloud.cloudsetup.logging.v1.CompleteDeploymentEvent
358 (*CompleteDeploymentResult)(nil), // 2: google.cloud.cloudsetup.logging.v1.CompleteDeploymentResult
359 (*status.Status)(nil), // 3: google.rpc.Status
360 }
361 var file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_depIdxs = []int32{
362 2, // 0: google.cloud.cloudsetup.logging.v1.CompleteDeploymentEvent.value:type_name -> google.cloud.cloudsetup.logging.v1.CompleteDeploymentResult
363 3, // 1: google.cloud.cloudsetup.logging.v1.CompleteDeploymentEvent.error:type_name -> google.rpc.Status
364 0, // 2: google.cloud.cloudsetup.logging.v1.CompleteDeploymentEvent.state:type_name -> google.cloud.cloudsetup.logging.v1.CompleteDeploymentEvent.State
365 3, // [3:3] is the sub-list for method output_type
366 3, // [3:3] is the sub-list for method input_type
367 3, // [3:3] is the sub-list for extension type_name
368 3, // [3:3] is the sub-list for extension extendee
369 0, // [0:3] is the sub-list for field type_name
370 }
371
372 func init() { file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_init() }
373 func file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_init() {
374 if File_google_cloud_cloudsetup_logging_v1_complete_deployment_proto != nil {
375 return
376 }
377 if !protoimpl.UnsafeEnabled {
378 file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
379 switch v := v.(*CompleteDeploymentEvent); i {
380 case 0:
381 return &v.state
382 case 1:
383 return &v.sizeCache
384 case 2:
385 return &v.unknownFields
386 default:
387 return nil
388 }
389 }
390 file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
391 switch v := v.(*CompleteDeploymentResult); i {
392 case 0:
393 return &v.state
394 case 1:
395 return &v.sizeCache
396 case 2:
397 return &v.unknownFields
398 default:
399 return nil
400 }
401 }
402 }
403 file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_msgTypes[0].OneofWrappers = []interface{}{
404 (*CompleteDeploymentEvent_Value)(nil),
405 (*CompleteDeploymentEvent_Error)(nil),
406 }
407 type x struct{}
408 out := protoimpl.TypeBuilder{
409 File: protoimpl.DescBuilder{
410 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
411 RawDescriptor: file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_rawDesc,
412 NumEnums: 1,
413 NumMessages: 2,
414 NumExtensions: 0,
415 NumServices: 0,
416 },
417 GoTypes: file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_goTypes,
418 DependencyIndexes: file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_depIdxs,
419 EnumInfos: file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_enumTypes,
420 MessageInfos: file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_msgTypes,
421 }.Build()
422 File_google_cloud_cloudsetup_logging_v1_complete_deployment_proto = out.File
423 file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_rawDesc = nil
424 file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_goTypes = nil
425 file_google_cloud_cloudsetup_logging_v1_complete_deployment_proto_depIdxs = nil
426 }