You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

678 lines
26 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/runtimeconfig/v1beta1/resources.proto
  3. package runtimeconfig // import "google.golang.org/genproto/googleapis/cloud/runtimeconfig/v1beta1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import duration "github.com/golang/protobuf/ptypes/duration"
  8. import timestamp "github.com/golang/protobuf/ptypes/timestamp"
  9. import _ "google.golang.org/genproto/googleapis/api/annotations"
  10. import status "google.golang.org/genproto/googleapis/rpc/status"
  11. // Reference imports to suppress errors if they are not otherwise used.
  12. var _ = proto.Marshal
  13. var _ = fmt.Errorf
  14. var _ = math.Inf
  15. // This is a compile-time assertion to ensure that this generated file
  16. // is compatible with the proto package it is being compiled against.
  17. // A compilation error at this line likely means your copy of the
  18. // proto package needs to be updated.
  19. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  20. // The `VariableState` describes the last known state of the variable and is
  21. // used during a `variables().watch` call to distinguish the state of the
  22. // variable.
  23. type VariableState int32
  24. const (
  25. // Default variable state.
  26. VariableState_VARIABLE_STATE_UNSPECIFIED VariableState = 0
  27. // The variable was updated, while `variables().watch` was executing.
  28. VariableState_UPDATED VariableState = 1
  29. // The variable was deleted, while `variables().watch` was executing.
  30. VariableState_DELETED VariableState = 2
  31. )
  32. var VariableState_name = map[int32]string{
  33. 0: "VARIABLE_STATE_UNSPECIFIED",
  34. 1: "UPDATED",
  35. 2: "DELETED",
  36. }
  37. var VariableState_value = map[string]int32{
  38. "VARIABLE_STATE_UNSPECIFIED": 0,
  39. "UPDATED": 1,
  40. "DELETED": 2,
  41. }
  42. func (x VariableState) String() string {
  43. return proto.EnumName(VariableState_name, int32(x))
  44. }
  45. func (VariableState) EnumDescriptor() ([]byte, []int) {
  46. return fileDescriptor_resources_e4570a3249a2bec3, []int{0}
  47. }
  48. // A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig
  49. // service. A RuntimeConfig resource consists of metadata and a hierarchy of
  50. // variables.
  51. type RuntimeConfig struct {
  52. // The resource name of a runtime config. The name must have the format:
  53. //
  54. // projects/[PROJECT_ID]/configs/[CONFIG_NAME]
  55. //
  56. // The `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an
  57. // arbitrary name that matches RFC 1035 segment specification. The length of
  58. // `[CONFIG_NAME]` must be less than 64 bytes.
  59. //
  60. // You pick the RuntimeConfig resource name, but the server will validate that
  61. // the name adheres to this format. After you create the resource, you cannot
  62. // change the resource's name.
  63. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  64. // An optional description of the RuntimeConfig object.
  65. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  66. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  67. XXX_unrecognized []byte `json:"-"`
  68. XXX_sizecache int32 `json:"-"`
  69. }
  70. func (m *RuntimeConfig) Reset() { *m = RuntimeConfig{} }
  71. func (m *RuntimeConfig) String() string { return proto.CompactTextString(m) }
  72. func (*RuntimeConfig) ProtoMessage() {}
  73. func (*RuntimeConfig) Descriptor() ([]byte, []int) {
  74. return fileDescriptor_resources_e4570a3249a2bec3, []int{0}
  75. }
  76. func (m *RuntimeConfig) XXX_Unmarshal(b []byte) error {
  77. return xxx_messageInfo_RuntimeConfig.Unmarshal(m, b)
  78. }
  79. func (m *RuntimeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  80. return xxx_messageInfo_RuntimeConfig.Marshal(b, m, deterministic)
  81. }
  82. func (dst *RuntimeConfig) XXX_Merge(src proto.Message) {
  83. xxx_messageInfo_RuntimeConfig.Merge(dst, src)
  84. }
  85. func (m *RuntimeConfig) XXX_Size() int {
  86. return xxx_messageInfo_RuntimeConfig.Size(m)
  87. }
  88. func (m *RuntimeConfig) XXX_DiscardUnknown() {
  89. xxx_messageInfo_RuntimeConfig.DiscardUnknown(m)
  90. }
  91. var xxx_messageInfo_RuntimeConfig proto.InternalMessageInfo
  92. func (m *RuntimeConfig) GetName() string {
  93. if m != nil {
  94. return m.Name
  95. }
  96. return ""
  97. }
  98. func (m *RuntimeConfig) GetDescription() string {
  99. if m != nil {
  100. return m.Description
  101. }
  102. return ""
  103. }
  104. // Describes a single variable within a RuntimeConfig resource.
  105. // The name denotes the hierarchical variable name. For example,
  106. // `ports/serving_port` is a valid variable name. The variable value is an
  107. // opaque string and only leaf variables can have values (that is, variables
  108. // that do not have any child variables).
  109. type Variable struct {
  110. // The name of the variable resource, in the format:
  111. //
  112. // projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]
  113. //
  114. // The `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a
  115. // valid RuntimeConfig reource and `[VARIABLE_NAME]` follows Unix file system
  116. // file path naming.
  117. //
  118. // The `[VARIABLE_NAME]` can contain ASCII letters, numbers, slashes and
  119. // dashes. Slashes are used as path element separators and are not part of the
  120. // `[VARIABLE_NAME]` itself, so `[VARIABLE_NAME]` must contain at least one
  121. // non-slash character. Multiple slashes are coalesced into single slash
  122. // character. Each path segment should follow RFC 1035 segment specification.
  123. // The length of a `[VARIABLE_NAME]` must be less than 256 bytes.
  124. //
  125. // Once you create a variable, you cannot change the variable name.
  126. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  127. // The value of the variable. It can be either a binary or a string
  128. // value. You must specify one of either `value` or `text`. Specifying both
  129. // will cause the server to return an error.
  130. //
  131. // Types that are valid to be assigned to Contents:
  132. // *Variable_Value
  133. // *Variable_Text
  134. Contents isVariable_Contents `protobuf_oneof:"contents"`
  135. // [Output Only] The time of the last variable update.
  136. UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
  137. // [Ouput only] The current state of the variable. The variable state
  138. // indicates the outcome of the `variables().watch` call and is visible
  139. // through the `get` and `list` calls.
  140. State VariableState `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.runtimeconfig.v1beta1.VariableState" json:"state,omitempty"`
  141. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  142. XXX_unrecognized []byte `json:"-"`
  143. XXX_sizecache int32 `json:"-"`
  144. }
  145. func (m *Variable) Reset() { *m = Variable{} }
  146. func (m *Variable) String() string { return proto.CompactTextString(m) }
  147. func (*Variable) ProtoMessage() {}
  148. func (*Variable) Descriptor() ([]byte, []int) {
  149. return fileDescriptor_resources_e4570a3249a2bec3, []int{1}
  150. }
  151. func (m *Variable) XXX_Unmarshal(b []byte) error {
  152. return xxx_messageInfo_Variable.Unmarshal(m, b)
  153. }
  154. func (m *Variable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  155. return xxx_messageInfo_Variable.Marshal(b, m, deterministic)
  156. }
  157. func (dst *Variable) XXX_Merge(src proto.Message) {
  158. xxx_messageInfo_Variable.Merge(dst, src)
  159. }
  160. func (m *Variable) XXX_Size() int {
  161. return xxx_messageInfo_Variable.Size(m)
  162. }
  163. func (m *Variable) XXX_DiscardUnknown() {
  164. xxx_messageInfo_Variable.DiscardUnknown(m)
  165. }
  166. var xxx_messageInfo_Variable proto.InternalMessageInfo
  167. func (m *Variable) GetName() string {
  168. if m != nil {
  169. return m.Name
  170. }
  171. return ""
  172. }
  173. type isVariable_Contents interface {
  174. isVariable_Contents()
  175. }
  176. type Variable_Value struct {
  177. Value []byte `protobuf:"bytes,2,opt,name=value,proto3,oneof"`
  178. }
  179. type Variable_Text struct {
  180. Text string `protobuf:"bytes,5,opt,name=text,proto3,oneof"`
  181. }
  182. func (*Variable_Value) isVariable_Contents() {}
  183. func (*Variable_Text) isVariable_Contents() {}
  184. func (m *Variable) GetContents() isVariable_Contents {
  185. if m != nil {
  186. return m.Contents
  187. }
  188. return nil
  189. }
  190. func (m *Variable) GetValue() []byte {
  191. if x, ok := m.GetContents().(*Variable_Value); ok {
  192. return x.Value
  193. }
  194. return nil
  195. }
  196. func (m *Variable) GetText() string {
  197. if x, ok := m.GetContents().(*Variable_Text); ok {
  198. return x.Text
  199. }
  200. return ""
  201. }
  202. func (m *Variable) GetUpdateTime() *timestamp.Timestamp {
  203. if m != nil {
  204. return m.UpdateTime
  205. }
  206. return nil
  207. }
  208. func (m *Variable) GetState() VariableState {
  209. if m != nil {
  210. return m.State
  211. }
  212. return VariableState_VARIABLE_STATE_UNSPECIFIED
  213. }
  214. // XXX_OneofFuncs is for the internal use of the proto package.
  215. func (*Variable) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  216. return _Variable_OneofMarshaler, _Variable_OneofUnmarshaler, _Variable_OneofSizer, []interface{}{
  217. (*Variable_Value)(nil),
  218. (*Variable_Text)(nil),
  219. }
  220. }
  221. func _Variable_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  222. m := msg.(*Variable)
  223. // contents
  224. switch x := m.Contents.(type) {
  225. case *Variable_Value:
  226. b.EncodeVarint(2<<3 | proto.WireBytes)
  227. b.EncodeRawBytes(x.Value)
  228. case *Variable_Text:
  229. b.EncodeVarint(5<<3 | proto.WireBytes)
  230. b.EncodeStringBytes(x.Text)
  231. case nil:
  232. default:
  233. return fmt.Errorf("Variable.Contents has unexpected type %T", x)
  234. }
  235. return nil
  236. }
  237. func _Variable_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  238. m := msg.(*Variable)
  239. switch tag {
  240. case 2: // contents.value
  241. if wire != proto.WireBytes {
  242. return true, proto.ErrInternalBadWireType
  243. }
  244. x, err := b.DecodeRawBytes(true)
  245. m.Contents = &Variable_Value{x}
  246. return true, err
  247. case 5: // contents.text
  248. if wire != proto.WireBytes {
  249. return true, proto.ErrInternalBadWireType
  250. }
  251. x, err := b.DecodeStringBytes()
  252. m.Contents = &Variable_Text{x}
  253. return true, err
  254. default:
  255. return false, nil
  256. }
  257. }
  258. func _Variable_OneofSizer(msg proto.Message) (n int) {
  259. m := msg.(*Variable)
  260. // contents
  261. switch x := m.Contents.(type) {
  262. case *Variable_Value:
  263. n += 1 // tag and wire
  264. n += proto.SizeVarint(uint64(len(x.Value)))
  265. n += len(x.Value)
  266. case *Variable_Text:
  267. n += 1 // tag and wire
  268. n += proto.SizeVarint(uint64(len(x.Text)))
  269. n += len(x.Text)
  270. case nil:
  271. default:
  272. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  273. }
  274. return n
  275. }
  276. // The condition that a Waiter resource is waiting for.
  277. type EndCondition struct {
  278. // The condition oneof holds the available condition types for this
  279. // EndCondition. Currently, the only available type is Cardinality.
  280. //
  281. // Types that are valid to be assigned to Condition:
  282. // *EndCondition_Cardinality_
  283. Condition isEndCondition_Condition `protobuf_oneof:"condition"`
  284. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  285. XXX_unrecognized []byte `json:"-"`
  286. XXX_sizecache int32 `json:"-"`
  287. }
  288. func (m *EndCondition) Reset() { *m = EndCondition{} }
  289. func (m *EndCondition) String() string { return proto.CompactTextString(m) }
  290. func (*EndCondition) ProtoMessage() {}
  291. func (*EndCondition) Descriptor() ([]byte, []int) {
  292. return fileDescriptor_resources_e4570a3249a2bec3, []int{2}
  293. }
  294. func (m *EndCondition) XXX_Unmarshal(b []byte) error {
  295. return xxx_messageInfo_EndCondition.Unmarshal(m, b)
  296. }
  297. func (m *EndCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  298. return xxx_messageInfo_EndCondition.Marshal(b, m, deterministic)
  299. }
  300. func (dst *EndCondition) XXX_Merge(src proto.Message) {
  301. xxx_messageInfo_EndCondition.Merge(dst, src)
  302. }
  303. func (m *EndCondition) XXX_Size() int {
  304. return xxx_messageInfo_EndCondition.Size(m)
  305. }
  306. func (m *EndCondition) XXX_DiscardUnknown() {
  307. xxx_messageInfo_EndCondition.DiscardUnknown(m)
  308. }
  309. var xxx_messageInfo_EndCondition proto.InternalMessageInfo
  310. type isEndCondition_Condition interface {
  311. isEndCondition_Condition()
  312. }
  313. type EndCondition_Cardinality_ struct {
  314. Cardinality *EndCondition_Cardinality `protobuf:"bytes,1,opt,name=cardinality,proto3,oneof"`
  315. }
  316. func (*EndCondition_Cardinality_) isEndCondition_Condition() {}
  317. func (m *EndCondition) GetCondition() isEndCondition_Condition {
  318. if m != nil {
  319. return m.Condition
  320. }
  321. return nil
  322. }
  323. func (m *EndCondition) GetCardinality() *EndCondition_Cardinality {
  324. if x, ok := m.GetCondition().(*EndCondition_Cardinality_); ok {
  325. return x.Cardinality
  326. }
  327. return nil
  328. }
  329. // XXX_OneofFuncs is for the internal use of the proto package.
  330. func (*EndCondition) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  331. return _EndCondition_OneofMarshaler, _EndCondition_OneofUnmarshaler, _EndCondition_OneofSizer, []interface{}{
  332. (*EndCondition_Cardinality_)(nil),
  333. }
  334. }
  335. func _EndCondition_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  336. m := msg.(*EndCondition)
  337. // condition
  338. switch x := m.Condition.(type) {
  339. case *EndCondition_Cardinality_:
  340. b.EncodeVarint(1<<3 | proto.WireBytes)
  341. if err := b.EncodeMessage(x.Cardinality); err != nil {
  342. return err
  343. }
  344. case nil:
  345. default:
  346. return fmt.Errorf("EndCondition.Condition has unexpected type %T", x)
  347. }
  348. return nil
  349. }
  350. func _EndCondition_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  351. m := msg.(*EndCondition)
  352. switch tag {
  353. case 1: // condition.cardinality
  354. if wire != proto.WireBytes {
  355. return true, proto.ErrInternalBadWireType
  356. }
  357. msg := new(EndCondition_Cardinality)
  358. err := b.DecodeMessage(msg)
  359. m.Condition = &EndCondition_Cardinality_{msg}
  360. return true, err
  361. default:
  362. return false, nil
  363. }
  364. }
  365. func _EndCondition_OneofSizer(msg proto.Message) (n int) {
  366. m := msg.(*EndCondition)
  367. // condition
  368. switch x := m.Condition.(type) {
  369. case *EndCondition_Cardinality_:
  370. s := proto.Size(x.Cardinality)
  371. n += 1 // tag and wire
  372. n += proto.SizeVarint(uint64(s))
  373. n += s
  374. case nil:
  375. default:
  376. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  377. }
  378. return n
  379. }
  380. // A Cardinality condition for the Waiter resource. A cardinality condition is
  381. // met when the number of variables under a specified path prefix reaches a
  382. // predefined number. For example, if you set a Cardinality condition where
  383. // the `path` is set to `/foo` and the number of paths is set to 2, the
  384. // following variables would meet the condition in a RuntimeConfig resource:
  385. //
  386. // + `/foo/variable1 = "value1"`
  387. // + `/foo/variable2 = "value2"`
  388. // + `/bar/variable3 = "value3"`
  389. //
  390. // It would not would not satisify the same condition with the `number` set to
  391. // 3, however, because there is only 2 paths that start with `/foo`.
  392. // Cardinality conditions are recursive; all subtrees under the specific
  393. // path prefix are counted.
  394. type EndCondition_Cardinality struct {
  395. // The root of the variable subtree to monitor. For example, `/foo`.
  396. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
  397. // The number variables under the `path` that must exist to meet this
  398. // condition. Defaults to 1 if not specified.
  399. Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
  400. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  401. XXX_unrecognized []byte `json:"-"`
  402. XXX_sizecache int32 `json:"-"`
  403. }
  404. func (m *EndCondition_Cardinality) Reset() { *m = EndCondition_Cardinality{} }
  405. func (m *EndCondition_Cardinality) String() string { return proto.CompactTextString(m) }
  406. func (*EndCondition_Cardinality) ProtoMessage() {}
  407. func (*EndCondition_Cardinality) Descriptor() ([]byte, []int) {
  408. return fileDescriptor_resources_e4570a3249a2bec3, []int{2, 0}
  409. }
  410. func (m *EndCondition_Cardinality) XXX_Unmarshal(b []byte) error {
  411. return xxx_messageInfo_EndCondition_Cardinality.Unmarshal(m, b)
  412. }
  413. func (m *EndCondition_Cardinality) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  414. return xxx_messageInfo_EndCondition_Cardinality.Marshal(b, m, deterministic)
  415. }
  416. func (dst *EndCondition_Cardinality) XXX_Merge(src proto.Message) {
  417. xxx_messageInfo_EndCondition_Cardinality.Merge(dst, src)
  418. }
  419. func (m *EndCondition_Cardinality) XXX_Size() int {
  420. return xxx_messageInfo_EndCondition_Cardinality.Size(m)
  421. }
  422. func (m *EndCondition_Cardinality) XXX_DiscardUnknown() {
  423. xxx_messageInfo_EndCondition_Cardinality.DiscardUnknown(m)
  424. }
  425. var xxx_messageInfo_EndCondition_Cardinality proto.InternalMessageInfo
  426. func (m *EndCondition_Cardinality) GetPath() string {
  427. if m != nil {
  428. return m.Path
  429. }
  430. return ""
  431. }
  432. func (m *EndCondition_Cardinality) GetNumber() int32 {
  433. if m != nil {
  434. return m.Number
  435. }
  436. return 0
  437. }
  438. // A Waiter resource waits for some end condition within a RuntimeConfig
  439. // resource to be met before it returns. For example, assume you have a
  440. // distributed system where each node writes to a Variable resource indidicating
  441. // the node's readiness as part of the startup process.
  442. //
  443. // You then configure a Waiter resource with the success condition set to wait
  444. // until some number of nodes have checked in. Afterwards, your application
  445. // runs some arbitrary code after the condition has been met and the waiter
  446. // returns successfully.
  447. //
  448. // Once created, a Waiter resource is immutable.
  449. //
  450. // To learn more about using waiters, read the
  451. // [Creating a
  452. // Waiter](/deployment-manager/runtime-configurator/creating-a-waiter)
  453. // documentation.
  454. type Waiter struct {
  455. // The name of the Waiter resource, in the format:
  456. //
  457. // projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]
  458. //
  459. // The `[PROJECT_ID]` must be a valid Google Cloud project ID,
  460. // the `[CONFIG_NAME]` must be a valid RuntimeConfig resource, the
  461. // `[WAITER_NAME]` must match RFC 1035 segment specification, and the length
  462. // of `[WAITER_NAME]` must be less than 64 bytes.
  463. //
  464. // After you create a Waiter resource, you cannot change the resource name.
  465. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  466. // [Required] Specifies the timeout of the waiter in seconds, beginning from
  467. // the instant that `waiters().create` method is called. If this time elapses
  468. // before the success or failure conditions are met, the waiter fails and sets
  469. // the `error` code to `DEADLINE_EXCEEDED`.
  470. Timeout *duration.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
  471. // [Optional] The failure condition of this waiter. If this condition is met,
  472. // `done` will be set to `true` and the `error` code will be set to `ABORTED`.
  473. // The failure condition takes precedence over the success condition. If both
  474. // conditions are met, a failure will be indicated. This value is optional; if
  475. // no failure condition is set, the only failure scenario will be a timeout.
  476. Failure *EndCondition `protobuf:"bytes,3,opt,name=failure,proto3" json:"failure,omitempty"`
  477. // [Required] The success condition. If this condition is met, `done` will be
  478. // set to `true` and the `error` value will remain unset. The failure
  479. // condition takes precedence over the success condition. If both conditions
  480. // are met, a failure will be indicated.
  481. Success *EndCondition `protobuf:"bytes,4,opt,name=success,proto3" json:"success,omitempty"`
  482. // [Output Only] The instant at which this Waiter resource was created. Adding
  483. // the value of `timeout` to this instant yields the timeout deadline for the
  484. // waiter.
  485. CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  486. // [Output Only] If the value is `false`, it means the waiter is still waiting
  487. // for one of its conditions to be met.
  488. //
  489. // If true, the waiter has finished. If the waiter finished due to a timeout
  490. // or failure, `error` will be set.
  491. Done bool `protobuf:"varint,6,opt,name=done,proto3" json:"done,omitempty"`
  492. // [Output Only] If the waiter ended due to a failure or timeout, this value
  493. // will be set.
  494. Error *status.Status `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
  495. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  496. XXX_unrecognized []byte `json:"-"`
  497. XXX_sizecache int32 `json:"-"`
  498. }
  499. func (m *Waiter) Reset() { *m = Waiter{} }
  500. func (m *Waiter) String() string { return proto.CompactTextString(m) }
  501. func (*Waiter) ProtoMessage() {}
  502. func (*Waiter) Descriptor() ([]byte, []int) {
  503. return fileDescriptor_resources_e4570a3249a2bec3, []int{3}
  504. }
  505. func (m *Waiter) XXX_Unmarshal(b []byte) error {
  506. return xxx_messageInfo_Waiter.Unmarshal(m, b)
  507. }
  508. func (m *Waiter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  509. return xxx_messageInfo_Waiter.Marshal(b, m, deterministic)
  510. }
  511. func (dst *Waiter) XXX_Merge(src proto.Message) {
  512. xxx_messageInfo_Waiter.Merge(dst, src)
  513. }
  514. func (m *Waiter) XXX_Size() int {
  515. return xxx_messageInfo_Waiter.Size(m)
  516. }
  517. func (m *Waiter) XXX_DiscardUnknown() {
  518. xxx_messageInfo_Waiter.DiscardUnknown(m)
  519. }
  520. var xxx_messageInfo_Waiter proto.InternalMessageInfo
  521. func (m *Waiter) GetName() string {
  522. if m != nil {
  523. return m.Name
  524. }
  525. return ""
  526. }
  527. func (m *Waiter) GetTimeout() *duration.Duration {
  528. if m != nil {
  529. return m.Timeout
  530. }
  531. return nil
  532. }
  533. func (m *Waiter) GetFailure() *EndCondition {
  534. if m != nil {
  535. return m.Failure
  536. }
  537. return nil
  538. }
  539. func (m *Waiter) GetSuccess() *EndCondition {
  540. if m != nil {
  541. return m.Success
  542. }
  543. return nil
  544. }
  545. func (m *Waiter) GetCreateTime() *timestamp.Timestamp {
  546. if m != nil {
  547. return m.CreateTime
  548. }
  549. return nil
  550. }
  551. func (m *Waiter) GetDone() bool {
  552. if m != nil {
  553. return m.Done
  554. }
  555. return false
  556. }
  557. func (m *Waiter) GetError() *status.Status {
  558. if m != nil {
  559. return m.Error
  560. }
  561. return nil
  562. }
  563. func init() {
  564. proto.RegisterType((*RuntimeConfig)(nil), "google.cloud.runtimeconfig.v1beta1.RuntimeConfig")
  565. proto.RegisterType((*Variable)(nil), "google.cloud.runtimeconfig.v1beta1.Variable")
  566. proto.RegisterType((*EndCondition)(nil), "google.cloud.runtimeconfig.v1beta1.EndCondition")
  567. proto.RegisterType((*EndCondition_Cardinality)(nil), "google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality")
  568. proto.RegisterType((*Waiter)(nil), "google.cloud.runtimeconfig.v1beta1.Waiter")
  569. proto.RegisterEnum("google.cloud.runtimeconfig.v1beta1.VariableState", VariableState_name, VariableState_value)
  570. }
  571. func init() {
  572. proto.RegisterFile("google/cloud/runtimeconfig/v1beta1/resources.proto", fileDescriptor_resources_e4570a3249a2bec3)
  573. }
  574. var fileDescriptor_resources_e4570a3249a2bec3 = []byte{
  575. // 628 bytes of a gzipped FileDescriptorProto
  576. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xdd, 0x6e, 0xd3, 0x30,
  577. 0x14, 0xc7, 0x9b, 0xd2, 0x8f, 0xed, 0x64, 0x43, 0x93, 0x85, 0x46, 0xa8, 0xd0, 0xa8, 0x7a, 0x81,
  578. 0x2a, 0x2e, 0x12, 0xda, 0x5d, 0xa1, 0x71, 0xd3, 0x8f, 0xb0, 0x15, 0x4d, 0x30, 0xa5, 0x5d, 0x91,
  579. 0xd0, 0xa4, 0xe1, 0x3a, 0x6e, 0x88, 0x94, 0xda, 0x91, 0xe3, 0x4c, 0xf0, 0x4a, 0x3c, 0x01, 0x2f,
  580. 0xc0, 0x0d, 0x0f, 0xc1, 0x15, 0x0f, 0x82, 0xec, 0x38, 0xd0, 0xc2, 0xc4, 0x06, 0x77, 0x3e, 0x3e,
  581. 0xff, 0xf3, 0x3b, 0x1f, 0x3e, 0x09, 0xf4, 0x23, 0xce, 0xa3, 0x84, 0x7a, 0x24, 0xe1, 0x79, 0xe8,
  582. 0x89, 0x9c, 0xc9, 0x78, 0x45, 0x09, 0x67, 0xcb, 0x38, 0xf2, 0xae, 0x7a, 0x0b, 0x2a, 0x71, 0xcf,
  583. 0x13, 0x34, 0xe3, 0xb9, 0x20, 0x34, 0x73, 0x53, 0xc1, 0x25, 0x47, 0x9d, 0x22, 0xc6, 0xd5, 0x31,
  584. 0xee, 0x46, 0x8c, 0x6b, 0x62, 0x5a, 0x0f, 0x0d, 0x17, 0xa7, 0xb1, 0x87, 0x19, 0xe3, 0x12, 0xcb,
  585. 0x98, 0x33, 0x43, 0x68, 0x1d, 0x18, 0xaf, 0xb6, 0x16, 0xf9, 0xd2, 0x0b, 0x73, 0xa1, 0x05, 0xc6,
  586. 0xff, 0xe8, 0x77, 0xbf, 0xca, 0x90, 0x49, 0xbc, 0x4a, 0x8d, 0xe0, 0xbe, 0x11, 0x88, 0x94, 0x78,
  587. 0x99, 0xc4, 0x32, 0x37, 0xe4, 0x8e, 0x0f, 0xbb, 0x41, 0x51, 0xd0, 0x48, 0x17, 0x84, 0x10, 0xd4,
  588. 0x18, 0x5e, 0x51, 0xc7, 0x6a, 0x5b, 0xdd, 0xed, 0x40, 0x9f, 0x51, 0x1b, 0xec, 0x90, 0x66, 0x44,
  589. 0xc4, 0xa9, 0xca, 0xe9, 0x54, 0xb5, 0x6b, 0xfd, 0xaa, 0xf3, 0xcd, 0x82, 0xad, 0x39, 0x16, 0x31,
  590. 0x5e, 0x24, 0xf4, 0x5a, 0xc4, 0x3e, 0xd4, 0xaf, 0x70, 0x92, 0x53, 0x1d, 0xbc, 0x73, 0x52, 0x09,
  591. 0x0a, 0x13, 0xdd, 0x83, 0x9a, 0xa4, 0x1f, 0xa4, 0x53, 0x57, 0xda, 0x93, 0x4a, 0xa0, 0x2d, 0x74,
  592. 0x04, 0x76, 0x9e, 0x86, 0x58, 0xd2, 0x4b, 0x55, 0x99, 0x73, 0xa7, 0x6d, 0x75, 0xed, 0x7e, 0xcb,
  593. 0x35, 0x73, 0x2c, 0xbb, 0x74, 0x67, 0x65, 0x97, 0x01, 0x14, 0x72, 0x75, 0x81, 0x8e, 0xa1, 0xae,
  594. 0x5a, 0xa4, 0x4e, 0xad, 0x6d, 0x75, 0xef, 0xf6, 0x7b, 0xee, 0xcd, 0xe3, 0x77, 0xcb, 0xda, 0xa7,
  595. 0x2a, 0x30, 0x28, 0xe2, 0x87, 0x00, 0x5b, 0x84, 0x33, 0x49, 0x99, 0xcc, 0x3a, 0x9f, 0x2d, 0xd8,
  596. 0xf1, 0x59, 0x38, 0xe2, 0x2c, 0x8c, 0x55, 0xc7, 0xe8, 0x1d, 0xd8, 0x04, 0x8b, 0x30, 0x66, 0x38,
  597. 0x89, 0xe5, 0x47, 0xdd, 0xab, 0xdd, 0x7f, 0x7e, 0x9b, 0x5c, 0xeb, 0x18, 0x77, 0xf4, 0x8b, 0x71,
  598. 0x52, 0x09, 0xd6, 0x91, 0xad, 0x67, 0x60, 0xaf, 0x79, 0xd5, 0x54, 0x53, 0x2c, 0xdf, 0x97, 0x53,
  599. 0x55, 0x67, 0xb4, 0x0f, 0x0d, 0x96, 0xaf, 0x16, 0x54, 0xe8, 0xb1, 0xd6, 0x03, 0x63, 0x0d, 0x6d,
  600. 0xd8, 0x26, 0x65, 0x8a, 0xce, 0xf7, 0x2a, 0x34, 0xde, 0xe0, 0x58, 0x52, 0x71, 0xed, 0xcb, 0x1c,
  601. 0x42, 0x53, 0x15, 0xc9, 0x73, 0xa9, 0x21, 0x76, 0xff, 0xc1, 0x1f, 0x73, 0x1e, 0x9b, 0x6d, 0x0b,
  602. 0x4a, 0x25, 0x7a, 0x09, 0xcd, 0x25, 0x8e, 0x93, 0x5c, 0x94, 0x8f, 0xf3, 0xf4, 0x5f, 0x3b, 0x0f,
  603. 0x4a, 0x80, 0x62, 0x65, 0x39, 0x21, 0x34, 0xcb, 0xf4, 0x8b, 0xfd, 0x17, 0xcb, 0x00, 0xd4, 0xe2,
  604. 0x10, 0x41, 0x7f, 0x2e, 0x4e, 0xfd, 0xe6, 0xc5, 0x29, 0xe4, 0x7a, 0x71, 0x10, 0xd4, 0x42, 0xce,
  605. 0xa8, 0xd3, 0x68, 0x5b, 0xdd, 0xad, 0x40, 0x9f, 0x51, 0x17, 0xea, 0x54, 0x08, 0x2e, 0x9c, 0xa6,
  606. 0x46, 0xa1, 0x12, 0x25, 0x52, 0xe2, 0x4e, 0xf5, 0x87, 0x14, 0x14, 0x82, 0x27, 0x13, 0xd8, 0xdd,
  607. 0xd8, 0x22, 0x74, 0x00, 0xad, 0xf9, 0x20, 0x98, 0x0c, 0x86, 0xa7, 0xfe, 0xe5, 0x74, 0x36, 0x98,
  608. 0xf9, 0x97, 0xe7, 0xaf, 0xa6, 0x67, 0xfe, 0x68, 0xf2, 0x62, 0xe2, 0x8f, 0xf7, 0x2a, 0xc8, 0x86,
  609. 0xe6, 0xf9, 0xd9, 0x78, 0x30, 0xf3, 0xc7, 0x7b, 0x96, 0x32, 0xc6, 0xfe, 0xa9, 0xaf, 0x8c, 0xea,
  610. 0xf0, 0x8b, 0x05, 0x8f, 0x09, 0x5f, 0xdd, 0x62, 0x0c, 0x67, 0xd6, 0xdb, 0xd7, 0x46, 0x15, 0xf1,
  611. 0x04, 0xb3, 0xc8, 0xe5, 0x22, 0xf2, 0x22, 0xca, 0x74, 0xab, 0x5e, 0xe1, 0xc2, 0x69, 0x9c, 0xfd,
  612. 0xed, 0x87, 0x75, 0xb4, 0x71, 0xfb, 0xa9, 0xda, 0x39, 0x2e, 0x88, 0x23, 0x9d, 0x77, 0xe3, 0xf7,
  613. 0xe0, 0xce, 0x7b, 0x43, 0x15, 0xf2, 0xb5, 0x14, 0x5d, 0x68, 0xd1, 0xc5, 0x86, 0xe8, 0x62, 0x5e,
  614. 0x70, 0x17, 0x0d, 0x5d, 0xc5, 0xe1, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1a, 0xc9, 0x60, 0x90,
  615. 0x35, 0x05, 0x00, 0x00,
  616. }