Debian Codegraph @

googleapis/cloud/runtimeconfig/v1beta1/resources.pb.go

raw
1 // Copyright 2017 Google Inc.
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/runtimeconfig/v1beta1/resources.proto
20
21 package runtimeconfig
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 durationpb "google.golang.org/protobuf/types/known/durationpb"
32 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
33 )
34
35 const (
36 // Verify that this generated code is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
38 // Verify that runtime/protoimpl is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
40 )
41
42 // The `VariableState` describes the last known state of the variable and is
43 // used during a `variables().watch` call to distinguish the state of the
44 // variable.
45 type VariableState int32
46
47 const (
48 // Default variable state.
49 VariableState_VARIABLE_STATE_UNSPECIFIED VariableState = 0
50 // The variable was updated, while `variables().watch` was executing.
51 VariableState_UPDATED VariableState = 1
52 // The variable was deleted, while `variables().watch` was executing.
53 VariableState_DELETED VariableState = 2
54 )
55
56 // Enum value maps for VariableState.
57 var (
58 VariableState_name = map[int32]string{
59 0: "VARIABLE_STATE_UNSPECIFIED",
60 1: "UPDATED",
61 2: "DELETED",
62 }
63 VariableState_value = map[string]int32{
64 "VARIABLE_STATE_UNSPECIFIED": 0,
65 "UPDATED": 1,
66 "DELETED": 2,
67 }
68 )
69
70 func (x VariableState) Enum() *VariableState {
71 p := new(VariableState)
72 *p = x
73 return p
74 }
75
76 func (x VariableState) String() string {
77 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
78 }
79
80 func (VariableState) Descriptor() protoreflect.EnumDescriptor {
81 return file_google_cloud_runtimeconfig_v1beta1_resources_proto_enumTypes[0].Descriptor()
82 }
83
84 func (VariableState) Type() protoreflect.EnumType {
85 return &file_google_cloud_runtimeconfig_v1beta1_resources_proto_enumTypes[0]
86 }
87
88 func (x VariableState) Number() protoreflect.EnumNumber {
89 return protoreflect.EnumNumber(x)
90 }
91
92 // Deprecated: Use VariableState.Descriptor instead.
93 func (VariableState) EnumDescriptor() ([]byte, []int) {
94 return file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDescGZIP(), []int{0}
95 }
96
97 // A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig
98 // service. A RuntimeConfig resource consists of metadata and a hierarchy of
99 // variables.
100 type RuntimeConfig struct {
101 state protoimpl.MessageState
102 sizeCache protoimpl.SizeCache
103 unknownFields protoimpl.UnknownFields
104
105 // The resource name of a runtime config. The name must have the format:
106 //
107 // projects/[PROJECT_ID]/configs/[CONFIG_NAME]
108 //
109 // The `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an
110 // arbitrary name that matches RFC 1035 segment specification. The length of
111 // `[CONFIG_NAME]` must be less than 64 bytes.
112 //
113 // You pick the RuntimeConfig resource name, but the server will validate that
114 // the name adheres to this format. After you create the resource, you cannot
115 // change the resource's name.
116 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
117 // An optional description of the RuntimeConfig object.
118 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
119 }
120
121 func (x *RuntimeConfig) Reset() {
122 *x = RuntimeConfig{}
123 if protoimpl.UnsafeEnabled {
124 mi := &file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes[0]
125 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
126 ms.StoreMessageInfo(mi)
127 }
128 }
129
130 func (x *RuntimeConfig) String() string {
131 return protoimpl.X.MessageStringOf(x)
132 }
133
134 func (*RuntimeConfig) ProtoMessage() {}
135
136 func (x *RuntimeConfig) ProtoReflect() protoreflect.Message {
137 mi := &file_google_cloud_runtimeconfig_v1beta1_resources_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 RuntimeConfig.ProtoReflect.Descriptor instead.
149 func (*RuntimeConfig) Descriptor() ([]byte, []int) {
150 return file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDescGZIP(), []int{0}
151 }
152
153 func (x *RuntimeConfig) GetName() string {
154 if x != nil {
155 return x.Name
156 }
157 return ""
158 }
159
160 func (x *RuntimeConfig) GetDescription() string {
161 if x != nil {
162 return x.Description
163 }
164 return ""
165 }
166
167 // Describes a single variable within a RuntimeConfig resource.
168 // The name denotes the hierarchical variable name. For example,
169 // `ports/serving_port` is a valid variable name. The variable value is an
170 // opaque string and only leaf variables can have values (that is, variables
171 // that do not have any child variables).
172 type Variable struct {
173 state protoimpl.MessageState
174 sizeCache protoimpl.SizeCache
175 unknownFields protoimpl.UnknownFields
176
177 // The name of the variable resource, in the format:
178 //
179 // projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]
180 //
181 // The `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a
182 // valid RuntimeConfig reource and `[VARIABLE_NAME]` follows Unix file system
183 // file path naming.
184 //
185 // The `[VARIABLE_NAME]` can contain ASCII letters, numbers, slashes and
186 // dashes. Slashes are used as path element separators and are not part of the
187 // `[VARIABLE_NAME]` itself, so `[VARIABLE_NAME]` must contain at least one
188 // non-slash character. Multiple slashes are coalesced into single slash
189 // character. Each path segment should follow RFC 1035 segment specification.
190 // The length of a `[VARIABLE_NAME]` must be less than 256 bytes.
191 //
192 // Once you create a variable, you cannot change the variable name.
193 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
194 // The value of the variable. It can be either a binary or a string
195 // value. You must specify one of either `value` or `text`. Specifying both
196 // will cause the server to return an error.
197 //
198 // Types that are assignable to Contents:
199 // *Variable_Value
200 // *Variable_Text
201 Contents isVariable_Contents `protobuf_oneof:"contents"`
202 // [Output Only] The time of the last variable update.
203 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
204 // [Ouput only] The current state of the variable. The variable state
205 // indicates the outcome of the `variables().watch` call and is visible
206 // through the `get` and `list` calls.
207 State VariableState `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.runtimeconfig.v1beta1.VariableState" json:"state,omitempty"`
208 }
209
210 func (x *Variable) Reset() {
211 *x = Variable{}
212 if protoimpl.UnsafeEnabled {
213 mi := &file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes[1]
214 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
215 ms.StoreMessageInfo(mi)
216 }
217 }
218
219 func (x *Variable) String() string {
220 return protoimpl.X.MessageStringOf(x)
221 }
222
223 func (*Variable) ProtoMessage() {}
224
225 func (x *Variable) ProtoReflect() protoreflect.Message {
226 mi := &file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes[1]
227 if protoimpl.UnsafeEnabled && x != nil {
228 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
229 if ms.LoadMessageInfo() == nil {
230 ms.StoreMessageInfo(mi)
231 }
232 return ms
233 }
234 return mi.MessageOf(x)
235 }
236
237 // Deprecated: Use Variable.ProtoReflect.Descriptor instead.
238 func (*Variable) Descriptor() ([]byte, []int) {
239 return file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDescGZIP(), []int{1}
240 }
241
242 func (x *Variable) GetName() string {
243 if x != nil {
244 return x.Name
245 }
246 return ""
247 }
248
249 func (m *Variable) GetContents() isVariable_Contents {
250 if m != nil {
251 return m.Contents
252 }
253 return nil
254 }
255
256 func (x *Variable) GetValue() []byte {
257 if x, ok := x.GetContents().(*Variable_Value); ok {
258 return x.Value
259 }
260 return nil
261 }
262
263 func (x *Variable) GetText() string {
264 if x, ok := x.GetContents().(*Variable_Text); ok {
265 return x.Text
266 }
267 return ""
268 }
269
270 func (x *Variable) GetUpdateTime() *timestamppb.Timestamp {
271 if x != nil {
272 return x.UpdateTime
273 }
274 return nil
275 }
276
277 func (x *Variable) GetState() VariableState {
278 if x != nil {
279 return x.State
280 }
281 return VariableState_VARIABLE_STATE_UNSPECIFIED
282 }
283
284 type isVariable_Contents interface {
285 isVariable_Contents()
286 }
287
288 type Variable_Value struct {
289 // The binary value of the variable. The length of the value must be less
290 // than 4096 bytes. Empty values are also accepted. The value must be
291 // base64 encoded. Only one of `value` or `text` can be set.
292 Value []byte `protobuf:"bytes,2,opt,name=value,proto3,oneof"`
293 }
294
295 type Variable_Text struct {
296 // The string value of the variable. The length of the value must be less
297 // than 4096 bytes. Empty values are also accepted. For example,
298 // `text: "my text value"`. The string must be valid UTF-8.
299 Text string `protobuf:"bytes,5,opt,name=text,proto3,oneof"`
300 }
301
302 func (*Variable_Value) isVariable_Contents() {}
303
304 func (*Variable_Text) isVariable_Contents() {}
305
306 // The condition that a Waiter resource is waiting for.
307 type EndCondition struct {
308 state protoimpl.MessageState
309 sizeCache protoimpl.SizeCache
310 unknownFields protoimpl.UnknownFields
311
312 // The condition oneof holds the available condition types for this
313 // EndCondition. Currently, the only available type is Cardinality.
314 //
315 // Types that are assignable to Condition:
316 // *EndCondition_Cardinality_
317 Condition isEndCondition_Condition `protobuf_oneof:"condition"`
318 }
319
320 func (x *EndCondition) Reset() {
321 *x = EndCondition{}
322 if protoimpl.UnsafeEnabled {
323 mi := &file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes[2]
324 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
325 ms.StoreMessageInfo(mi)
326 }
327 }
328
329 func (x *EndCondition) String() string {
330 return protoimpl.X.MessageStringOf(x)
331 }
332
333 func (*EndCondition) ProtoMessage() {}
334
335 func (x *EndCondition) ProtoReflect() protoreflect.Message {
336 mi := &file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes[2]
337 if protoimpl.UnsafeEnabled && x != nil {
338 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
339 if ms.LoadMessageInfo() == nil {
340 ms.StoreMessageInfo(mi)
341 }
342 return ms
343 }
344 return mi.MessageOf(x)
345 }
346
347 // Deprecated: Use EndCondition.ProtoReflect.Descriptor instead.
348 func (*EndCondition) Descriptor() ([]byte, []int) {
349 return file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDescGZIP(), []int{2}
350 }
351
352 func (m *EndCondition) GetCondition() isEndCondition_Condition {
353 if m != nil {
354 return m.Condition
355 }
356 return nil
357 }
358
359 func (x *EndCondition) GetCardinality() *EndCondition_Cardinality {
360 if x, ok := x.GetCondition().(*EndCondition_Cardinality_); ok {
361 return x.Cardinality
362 }
363 return nil
364 }
365
366 type isEndCondition_Condition interface {
367 isEndCondition_Condition()
368 }
369
370 type EndCondition_Cardinality_ struct {
371 // The cardinality of the `EndCondition`.
372 Cardinality *EndCondition_Cardinality `protobuf:"bytes,1,opt,name=cardinality,proto3,oneof"`
373 }
374
375 func (*EndCondition_Cardinality_) isEndCondition_Condition() {}
376
377 // A Waiter resource waits for some end condition within a RuntimeConfig
378 // resource to be met before it returns. For example, assume you have a
379 // distributed system where each node writes to a Variable resource indidicating
380 // the node's readiness as part of the startup process.
381 //
382 // You then configure a Waiter resource with the success condition set to wait
383 // until some number of nodes have checked in. Afterwards, your application
384 // runs some arbitrary code after the condition has been met and the waiter
385 // returns successfully.
386 //
387 // Once created, a Waiter resource is immutable.
388 //
389 // To learn more about using waiters, read the
390 // [Creating a
391 // Waiter](/deployment-manager/runtime-configurator/creating-a-waiter)
392 // documentation.
393 type Waiter struct {
394 state protoimpl.MessageState
395 sizeCache protoimpl.SizeCache
396 unknownFields protoimpl.UnknownFields
397
398 // The name of the Waiter resource, in the format:
399 //
400 // projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]
401 //
402 // The `[PROJECT_ID]` must be a valid Google Cloud project ID,
403 // the `[CONFIG_NAME]` must be a valid RuntimeConfig resource, the
404 // `[WAITER_NAME]` must match RFC 1035 segment specification, and the length
405 // of `[WAITER_NAME]` must be less than 64 bytes.
406 //
407 // After you create a Waiter resource, you cannot change the resource name.
408 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
409 // [Required] Specifies the timeout of the waiter in seconds, beginning from
410 // the instant that `waiters().create` method is called. If this time elapses
411 // before the success or failure conditions are met, the waiter fails and sets
412 // the `error` code to `DEADLINE_EXCEEDED`.
413 Timeout *durationpb.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
414 // [Optional] The failure condition of this waiter. If this condition is met,
415 // `done` will be set to `true` and the `error` code will be set to `ABORTED`.
416 // The failure condition takes precedence over the success condition. If both
417 // conditions are met, a failure will be indicated. This value is optional; if
418 // no failure condition is set, the only failure scenario will be a timeout.
419 Failure *EndCondition `protobuf:"bytes,3,opt,name=failure,proto3" json:"failure,omitempty"`
420 // [Required] The success condition. If this condition is met, `done` will be
421 // set to `true` and the `error` value will remain unset. The failure
422 // condition takes precedence over the success condition. If both conditions
423 // are met, a failure will be indicated.
424 Success *EndCondition `protobuf:"bytes,4,opt,name=success,proto3" json:"success,omitempty"`
425 // [Output Only] The instant at which this Waiter resource was created. Adding
426 // the value of `timeout` to this instant yields the timeout deadline for the
427 // waiter.
428 CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
429 // [Output Only] If the value is `false`, it means the waiter is still waiting
430 // for one of its conditions to be met.
431 //
432 // If true, the waiter has finished. If the waiter finished due to a timeout
433 // or failure, `error` will be set.
434 Done bool `protobuf:"varint,6,opt,name=done,proto3" json:"done,omitempty"`
435 // [Output Only] If the waiter ended due to a failure or timeout, this value
436 // will be set.
437 Error *status.Status `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
438 }
439
440 func (x *Waiter) Reset() {
441 *x = Waiter{}
442 if protoimpl.UnsafeEnabled {
443 mi := &file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes[3]
444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
445 ms.StoreMessageInfo(mi)
446 }
447 }
448
449 func (x *Waiter) String() string {
450 return protoimpl.X.MessageStringOf(x)
451 }
452
453 func (*Waiter) ProtoMessage() {}
454
455 func (x *Waiter) ProtoReflect() protoreflect.Message {
456 mi := &file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes[3]
457 if protoimpl.UnsafeEnabled && x != nil {
458 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
459 if ms.LoadMessageInfo() == nil {
460 ms.StoreMessageInfo(mi)
461 }
462 return ms
463 }
464 return mi.MessageOf(x)
465 }
466
467 // Deprecated: Use Waiter.ProtoReflect.Descriptor instead.
468 func (*Waiter) Descriptor() ([]byte, []int) {
469 return file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDescGZIP(), []int{3}
470 }
471
472 func (x *Waiter) GetName() string {
473 if x != nil {
474 return x.Name
475 }
476 return ""
477 }
478
479 func (x *Waiter) GetTimeout() *durationpb.Duration {
480 if x != nil {
481 return x.Timeout
482 }
483 return nil
484 }
485
486 func (x *Waiter) GetFailure() *EndCondition {
487 if x != nil {
488 return x.Failure
489 }
490 return nil
491 }
492
493 func (x *Waiter) GetSuccess() *EndCondition {
494 if x != nil {
495 return x.Success
496 }
497 return nil
498 }
499
500 func (x *Waiter) GetCreateTime() *timestamppb.Timestamp {
501 if x != nil {
502 return x.CreateTime
503 }
504 return nil
505 }
506
507 func (x *Waiter) GetDone() bool {
508 if x != nil {
509 return x.Done
510 }
511 return false
512 }
513
514 func (x *Waiter) GetError() *status.Status {
515 if x != nil {
516 return x.Error
517 }
518 return nil
519 }
520
521 // A Cardinality condition for the Waiter resource. A cardinality condition is
522 // met when the number of variables under a specified path prefix reaches a
523 // predefined number. For example, if you set a Cardinality condition where
524 // the `path` is set to `/foo` and the number of paths is set to 2, the
525 // following variables would meet the condition in a RuntimeConfig resource:
526 //
527 // + `/foo/variable1 = "value1"`
528 // + `/foo/variable2 = "value2"`
529 // + `/bar/variable3 = "value3"`
530 //
531 // It would not would not satisify the same condition with the `number` set to
532 // 3, however, because there is only 2 paths that start with `/foo`.
533 // Cardinality conditions are recursive; all subtrees under the specific
534 // path prefix are counted.
535 type EndCondition_Cardinality struct {
536 state protoimpl.MessageState
537 sizeCache protoimpl.SizeCache
538 unknownFields protoimpl.UnknownFields
539
540 // The root of the variable subtree to monitor. For example, `/foo`.
541 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
542 // The number variables under the `path` that must exist to meet this
543 // condition. Defaults to 1 if not specified.
544 Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
545 }
546
547 func (x *EndCondition_Cardinality) Reset() {
548 *x = EndCondition_Cardinality{}
549 if protoimpl.UnsafeEnabled {
550 mi := &file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes[4]
551 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
552 ms.StoreMessageInfo(mi)
553 }
554 }
555
556 func (x *EndCondition_Cardinality) String() string {
557 return protoimpl.X.MessageStringOf(x)
558 }
559
560 func (*EndCondition_Cardinality) ProtoMessage() {}
561
562 func (x *EndCondition_Cardinality) ProtoReflect() protoreflect.Message {
563 mi := &file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes[4]
564 if protoimpl.UnsafeEnabled && x != nil {
565 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
566 if ms.LoadMessageInfo() == nil {
567 ms.StoreMessageInfo(mi)
568 }
569 return ms
570 }
571 return mi.MessageOf(x)
572 }
573
574 // Deprecated: Use EndCondition_Cardinality.ProtoReflect.Descriptor instead.
575 func (*EndCondition_Cardinality) Descriptor() ([]byte, []int) {
576 return file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDescGZIP(), []int{2, 0}
577 }
578
579 func (x *EndCondition_Cardinality) GetPath() string {
580 if x != nil {
581 return x.Path
582 }
583 return ""
584 }
585
586 func (x *EndCondition_Cardinality) GetNumber() int32 {
587 if x != nil {
588 return x.Number
589 }
590 return 0
591 }
592
593 var File_google_cloud_runtimeconfig_v1beta1_resources_proto protoreflect.FileDescriptor
594
595 var file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDesc = []byte{
596 0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72,
597 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x76, 0x31, 0x62,
598 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70,
599 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
600 0x75, 0x64, 0x2e, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
601 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
602 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
603 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
604 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
605 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
606 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
607 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
608 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
609 0x22, 0x45, 0x0a, 0x0d, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
610 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
611 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
612 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
613 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xde, 0x01, 0x0a, 0x08, 0x56, 0x61, 0x72, 0x69,
614 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
615 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
616 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
617 0x12, 0x14, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
618 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
619 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
620 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
621 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54,
622 0x69, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01,
623 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
624 0x64, 0x2e, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
625 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65,
626 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x0a, 0x0a, 0x08,
627 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xb8, 0x01, 0x0a, 0x0c, 0x45, 0x6e, 0x64,
628 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x60, 0x0a, 0x0b, 0x63, 0x61, 0x72,
629 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c,
630 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x75,
631 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x62, 0x65,
632 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
633 0x2e, 0x43, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, 0x0b,
634 0x63, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x1a, 0x39, 0x0a, 0x0b, 0x43,
635 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61,
636 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x16,
637 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06,
638 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x0b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74,
639 0x69, 0x6f, 0x6e, 0x22, 0xe4, 0x02, 0x0a, 0x06, 0x57, 0x61, 0x69, 0x74, 0x65, 0x72, 0x12, 0x12,
640 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
641 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20,
642 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
643 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07,
644 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x4a, 0x0a, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x75,
645 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
646 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x63,
647 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e,
648 0x64, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x66, 0x61, 0x69, 0x6c,
649 0x75, 0x72, 0x65, 0x12, 0x4a, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x04,
650 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
651 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69,
652 0x67, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x43, 0x6f, 0x6e,
653 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12,
654 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05,
655 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
656 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
657 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04,
658 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x64, 0x6f, 0x6e, 0x65,
659 0x12, 0x28, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
660 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61,
661 0x74, 0x75, 0x73, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x2a, 0x49, 0x0a, 0x0d, 0x56, 0x61,
662 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x56,
663 0x41, 0x52, 0x49, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e,
664 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x55,
665 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45,
666 0x54, 0x45, 0x44, 0x10, 0x02, 0x42, 0xc5, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
667 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x75, 0x6e, 0x74, 0x69,
668 0x6d, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
669 0x50, 0x01, 0x5a, 0x4f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
670 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
671 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f,
672 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x76, 0x31,
673 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x63, 0x6f, 0x6e,
674 0x66, 0x69, 0x67, 0xaa, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f,
675 0x75, 0x64, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
676 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
677 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x43,
678 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70,
679 0x72, 0x6f, 0x74, 0x6f, 0x33,
680 }
681
682 var (
683 file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDescOnce sync.Once
684 file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDescData = file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDesc
685 )
686
687 func file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDescGZIP() []byte {
688 file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDescOnce.Do(func() {
689 file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDescData)
690 })
691 return file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDescData
692 }
693
694 var file_google_cloud_runtimeconfig_v1beta1_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
695 var file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
696 var file_google_cloud_runtimeconfig_v1beta1_resources_proto_goTypes = []interface{}{
697 (VariableState)(0), // 0: google.cloud.runtimeconfig.v1beta1.VariableState
698 (*RuntimeConfig)(nil), // 1: google.cloud.runtimeconfig.v1beta1.RuntimeConfig
699 (*Variable)(nil), // 2: google.cloud.runtimeconfig.v1beta1.Variable
700 (*EndCondition)(nil), // 3: google.cloud.runtimeconfig.v1beta1.EndCondition
701 (*Waiter)(nil), // 4: google.cloud.runtimeconfig.v1beta1.Waiter
702 (*EndCondition_Cardinality)(nil), // 5: google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality
703 (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
704 (*durationpb.Duration)(nil), // 7: google.protobuf.Duration
705 (*status.Status)(nil), // 8: google.rpc.Status
706 }
707 var file_google_cloud_runtimeconfig_v1beta1_resources_proto_depIdxs = []int32{
708 6, // 0: google.cloud.runtimeconfig.v1beta1.Variable.update_time:type_name -> google.protobuf.Timestamp
709 0, // 1: google.cloud.runtimeconfig.v1beta1.Variable.state:type_name -> google.cloud.runtimeconfig.v1beta1.VariableState
710 5, // 2: google.cloud.runtimeconfig.v1beta1.EndCondition.cardinality:type_name -> google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality
711 7, // 3: google.cloud.runtimeconfig.v1beta1.Waiter.timeout:type_name -> google.protobuf.Duration
712 3, // 4: google.cloud.runtimeconfig.v1beta1.Waiter.failure:type_name -> google.cloud.runtimeconfig.v1beta1.EndCondition
713 3, // 5: google.cloud.runtimeconfig.v1beta1.Waiter.success:type_name -> google.cloud.runtimeconfig.v1beta1.EndCondition
714 6, // 6: google.cloud.runtimeconfig.v1beta1.Waiter.create_time:type_name -> google.protobuf.Timestamp
715 8, // 7: google.cloud.runtimeconfig.v1beta1.Waiter.error:type_name -> google.rpc.Status
716 8, // [8:8] is the sub-list for method output_type
717 8, // [8:8] is the sub-list for method input_type
718 8, // [8:8] is the sub-list for extension type_name
719 8, // [8:8] is the sub-list for extension extendee
720 0, // [0:8] is the sub-list for field type_name
721 }
722
723 func init() { file_google_cloud_runtimeconfig_v1beta1_resources_proto_init() }
724 func file_google_cloud_runtimeconfig_v1beta1_resources_proto_init() {
725 if File_google_cloud_runtimeconfig_v1beta1_resources_proto != nil {
726 return
727 }
728 if !protoimpl.UnsafeEnabled {
729 file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
730 switch v := v.(*RuntimeConfig); i {
731 case 0:
732 return &v.state
733 case 1:
734 return &v.sizeCache
735 case 2:
736 return &v.unknownFields
737 default:
738 return nil
739 }
740 }
741 file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
742 switch v := v.(*Variable); i {
743 case 0:
744 return &v.state
745 case 1:
746 return &v.sizeCache
747 case 2:
748 return &v.unknownFields
749 default:
750 return nil
751 }
752 }
753 file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
754 switch v := v.(*EndCondition); i {
755 case 0:
756 return &v.state
757 case 1:
758 return &v.sizeCache
759 case 2:
760 return &v.unknownFields
761 default:
762 return nil
763 }
764 }
765 file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
766 switch v := v.(*Waiter); i {
767 case 0:
768 return &v.state
769 case 1:
770 return &v.sizeCache
771 case 2:
772 return &v.unknownFields
773 default:
774 return nil
775 }
776 }
777 file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
778 switch v := v.(*EndCondition_Cardinality); i {
779 case 0:
780 return &v.state
781 case 1:
782 return &v.sizeCache
783 case 2:
784 return &v.unknownFields
785 default:
786 return nil
787 }
788 }
789 }
790 file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes[1].OneofWrappers = []interface{}{
791 (*Variable_Value)(nil),
792 (*Variable_Text)(nil),
793 }
794 file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes[2].OneofWrappers = []interface{}{
795 (*EndCondition_Cardinality_)(nil),
796 }
797 type x struct{}
798 out := protoimpl.TypeBuilder{
799 File: protoimpl.DescBuilder{
800 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
801 RawDescriptor: file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDesc,
802 NumEnums: 1,
803 NumMessages: 5,
804 NumExtensions: 0,
805 NumServices: 0,
806 },
807 GoTypes: file_google_cloud_runtimeconfig_v1beta1_resources_proto_goTypes,
808 DependencyIndexes: file_google_cloud_runtimeconfig_v1beta1_resources_proto_depIdxs,
809 EnumInfos: file_google_cloud_runtimeconfig_v1beta1_resources_proto_enumTypes,
810 MessageInfos: file_google_cloud_runtimeconfig_v1beta1_resources_proto_msgTypes,
811 }.Build()
812 File_google_cloud_runtimeconfig_v1beta1_resources_proto = out.File
813 file_google_cloud_runtimeconfig_v1beta1_resources_proto_rawDesc = nil
814 file_google_cloud_runtimeconfig_v1beta1_resources_proto_goTypes = nil
815 file_google_cloud_runtimeconfig_v1beta1_resources_proto_depIdxs = nil
816 }