provisioner.pb.go 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0
  4. // protoc v3.19.3
  5. // source: provisioner/provisioner.proto
  6. package pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type Infra struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  24. Suffix string `protobuf:"bytes,2,opt,name=suffix,proto3" json:"suffix,omitempty"`
  25. }
  26. func (x *Infra) Reset() {
  27. *x = Infra{}
  28. if protoimpl.UnsafeEnabled {
  29. mi := &file_provisioner_provisioner_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. }
  34. func (x *Infra) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*Infra) ProtoMessage() {}
  38. func (x *Infra) ProtoReflect() protoreflect.Message {
  39. mi := &file_provisioner_provisioner_proto_msgTypes[0]
  40. if protoimpl.UnsafeEnabled && x != nil {
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. if ms.LoadMessageInfo() == nil {
  43. ms.StoreMessageInfo(mi)
  44. }
  45. return ms
  46. }
  47. return mi.MessageOf(x)
  48. }
  49. // Deprecated: Use Infra.ProtoReflect.Descriptor instead.
  50. func (*Infra) Descriptor() ([]byte, []int) {
  51. return file_provisioner_provisioner_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *Infra) GetId() int64 {
  54. if x != nil {
  55. return x.Id
  56. }
  57. return 0
  58. }
  59. func (x *Infra) GetSuffix() string {
  60. if x != nil {
  61. return x.Suffix
  62. }
  63. return ""
  64. }
  65. type StateUpdate struct {
  66. state protoimpl.MessageState
  67. sizeCache protoimpl.SizeCache
  68. unknownFields protoimpl.UnknownFields
  69. ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
  70. Update string `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
  71. }
  72. func (x *StateUpdate) Reset() {
  73. *x = StateUpdate{}
  74. if protoimpl.UnsafeEnabled {
  75. mi := &file_provisioner_provisioner_proto_msgTypes[1]
  76. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  77. ms.StoreMessageInfo(mi)
  78. }
  79. }
  80. func (x *StateUpdate) String() string {
  81. return protoimpl.X.MessageStringOf(x)
  82. }
  83. func (*StateUpdate) ProtoMessage() {}
  84. func (x *StateUpdate) ProtoReflect() protoreflect.Message {
  85. mi := &file_provisioner_provisioner_proto_msgTypes[1]
  86. if protoimpl.UnsafeEnabled && x != nil {
  87. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  88. if ms.LoadMessageInfo() == nil {
  89. ms.StoreMessageInfo(mi)
  90. }
  91. return ms
  92. }
  93. return mi.MessageOf(x)
  94. }
  95. // Deprecated: Use StateUpdate.ProtoReflect.Descriptor instead.
  96. func (*StateUpdate) Descriptor() ([]byte, []int) {
  97. return file_provisioner_provisioner_proto_rawDescGZIP(), []int{1}
  98. }
  99. func (x *StateUpdate) GetResourceId() string {
  100. if x != nil {
  101. return x.ResourceId
  102. }
  103. return ""
  104. }
  105. func (x *StateUpdate) GetUpdate() string {
  106. if x != nil {
  107. return x.Update
  108. }
  109. return ""
  110. }
  111. var File_provisioner_provisioner_proto protoreflect.FileDescriptor
  112. var file_provisioner_provisioner_proto_rawDesc = []byte{
  113. 0x0a, 0x1d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2f, 0x70, 0x72,
  114. 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
  115. 0x2f, 0x0a, 0x05, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  116. 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x66, 0x66,
  117. 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78,
  118. 0x22, 0x46, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12,
  119. 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01,
  120. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64,
  121. 0x12, 0x16, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  122. 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x32, 0x33, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x76,
  123. 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x12, 0x24, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x53, 0x74,
  124. 0x61, 0x74, 0x65, 0x12, 0x06, 0x2e, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x1a, 0x0c, 0x2e, 0x53, 0x74,
  125. 0x61, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x00, 0x30, 0x01, 0x42, 0x2a, 0x5a,
  126. 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x72, 0x74,
  127. 0x65, 0x72, 0x2d, 0x64, 0x65, 0x76, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x2f, 0x70, 0x72,
  128. 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  129. 0x33,
  130. }
  131. var (
  132. file_provisioner_provisioner_proto_rawDescOnce sync.Once
  133. file_provisioner_provisioner_proto_rawDescData = file_provisioner_provisioner_proto_rawDesc
  134. )
  135. func file_provisioner_provisioner_proto_rawDescGZIP() []byte {
  136. file_provisioner_provisioner_proto_rawDescOnce.Do(func() {
  137. file_provisioner_provisioner_proto_rawDescData = protoimpl.X.CompressGZIP(file_provisioner_provisioner_proto_rawDescData)
  138. })
  139. return file_provisioner_provisioner_proto_rawDescData
  140. }
  141. var file_provisioner_provisioner_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  142. var file_provisioner_provisioner_proto_goTypes = []interface{}{
  143. (*Infra)(nil), // 0: Infra
  144. (*StateUpdate)(nil), // 1: StateUpdate
  145. }
  146. var file_provisioner_provisioner_proto_depIdxs = []int32{
  147. 0, // 0: Provisioner.GetState:input_type -> Infra
  148. 1, // 1: Provisioner.GetState:output_type -> StateUpdate
  149. 1, // [1:2] is the sub-list for method output_type
  150. 0, // [0:1] is the sub-list for method input_type
  151. 0, // [0:0] is the sub-list for extension type_name
  152. 0, // [0:0] is the sub-list for extension extendee
  153. 0, // [0:0] is the sub-list for field type_name
  154. }
  155. func init() { file_provisioner_provisioner_proto_init() }
  156. func file_provisioner_provisioner_proto_init() {
  157. if File_provisioner_provisioner_proto != nil {
  158. return
  159. }
  160. if !protoimpl.UnsafeEnabled {
  161. file_provisioner_provisioner_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  162. switch v := v.(*Infra); i {
  163. case 0:
  164. return &v.state
  165. case 1:
  166. return &v.sizeCache
  167. case 2:
  168. return &v.unknownFields
  169. default:
  170. return nil
  171. }
  172. }
  173. file_provisioner_provisioner_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  174. switch v := v.(*StateUpdate); i {
  175. case 0:
  176. return &v.state
  177. case 1:
  178. return &v.sizeCache
  179. case 2:
  180. return &v.unknownFields
  181. default:
  182. return nil
  183. }
  184. }
  185. }
  186. type x struct{}
  187. out := protoimpl.TypeBuilder{
  188. File: protoimpl.DescBuilder{
  189. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  190. RawDescriptor: file_provisioner_provisioner_proto_rawDesc,
  191. NumEnums: 0,
  192. NumMessages: 2,
  193. NumExtensions: 0,
  194. NumServices: 1,
  195. },
  196. GoTypes: file_provisioner_provisioner_proto_goTypes,
  197. DependencyIndexes: file_provisioner_provisioner_proto_depIdxs,
  198. MessageInfos: file_provisioner_provisioner_proto_msgTypes,
  199. }.Build()
  200. File_provisioner_provisioner_proto = out.File
  201. file_provisioner_provisioner_proto_rawDesc = nil
  202. file_provisioner_provisioner_proto_goTypes = nil
  203. file_provisioner_provisioner_proto_depIdxs = nil
  204. }