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.
 
 
 

281 lines
11 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/appengine/v1/deploy.proto
  3. package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "google.golang.org/genproto/googleapis/api/annotations"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // Code and application artifacts used to deploy a version to App Engine.
  18. type Deployment struct {
  19. // Manifest of the files stored in Google Cloud Storage that are included
  20. // as part of this version. All files must be readable using the
  21. // credentials supplied with this call.
  22. Files map[string]*FileInfo `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  23. // A Docker image that App Engine uses to run the version.
  24. // Only applicable for instances in App Engine flexible environment.
  25. Container *ContainerInfo `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
  26. // The zip file for this deployment, if this is a zip deployment.
  27. Zip *ZipInfo `protobuf:"bytes,3,opt,name=zip,proto3" json:"zip,omitempty"`
  28. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  29. XXX_unrecognized []byte `json:"-"`
  30. XXX_sizecache int32 `json:"-"`
  31. }
  32. func (m *Deployment) Reset() { *m = Deployment{} }
  33. func (m *Deployment) String() string { return proto.CompactTextString(m) }
  34. func (*Deployment) ProtoMessage() {}
  35. func (*Deployment) Descriptor() ([]byte, []int) {
  36. return fileDescriptor_deploy_4a59a9192bf081bb, []int{0}
  37. }
  38. func (m *Deployment) XXX_Unmarshal(b []byte) error {
  39. return xxx_messageInfo_Deployment.Unmarshal(m, b)
  40. }
  41. func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  42. return xxx_messageInfo_Deployment.Marshal(b, m, deterministic)
  43. }
  44. func (dst *Deployment) XXX_Merge(src proto.Message) {
  45. xxx_messageInfo_Deployment.Merge(dst, src)
  46. }
  47. func (m *Deployment) XXX_Size() int {
  48. return xxx_messageInfo_Deployment.Size(m)
  49. }
  50. func (m *Deployment) XXX_DiscardUnknown() {
  51. xxx_messageInfo_Deployment.DiscardUnknown(m)
  52. }
  53. var xxx_messageInfo_Deployment proto.InternalMessageInfo
  54. func (m *Deployment) GetFiles() map[string]*FileInfo {
  55. if m != nil {
  56. return m.Files
  57. }
  58. return nil
  59. }
  60. func (m *Deployment) GetContainer() *ContainerInfo {
  61. if m != nil {
  62. return m.Container
  63. }
  64. return nil
  65. }
  66. func (m *Deployment) GetZip() *ZipInfo {
  67. if m != nil {
  68. return m.Zip
  69. }
  70. return nil
  71. }
  72. // Single source file that is part of the version to be deployed. Each source
  73. // file that is deployed must be specified separately.
  74. type FileInfo struct {
  75. // URL source to use to fetch this file. Must be a URL to a resource in
  76. // Google Cloud Storage in the form
  77. // 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.
  78. SourceUrl string `protobuf:"bytes,1,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"`
  79. // The SHA1 hash of the file, in hex.
  80. Sha1Sum string `protobuf:"bytes,2,opt,name=sha1_sum,json=sha1Sum,proto3" json:"sha1_sum,omitempty"`
  81. // The MIME type of the file.
  82. //
  83. // Defaults to the value from Google Cloud Storage.
  84. MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
  85. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  86. XXX_unrecognized []byte `json:"-"`
  87. XXX_sizecache int32 `json:"-"`
  88. }
  89. func (m *FileInfo) Reset() { *m = FileInfo{} }
  90. func (m *FileInfo) String() string { return proto.CompactTextString(m) }
  91. func (*FileInfo) ProtoMessage() {}
  92. func (*FileInfo) Descriptor() ([]byte, []int) {
  93. return fileDescriptor_deploy_4a59a9192bf081bb, []int{1}
  94. }
  95. func (m *FileInfo) XXX_Unmarshal(b []byte) error {
  96. return xxx_messageInfo_FileInfo.Unmarshal(m, b)
  97. }
  98. func (m *FileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  99. return xxx_messageInfo_FileInfo.Marshal(b, m, deterministic)
  100. }
  101. func (dst *FileInfo) XXX_Merge(src proto.Message) {
  102. xxx_messageInfo_FileInfo.Merge(dst, src)
  103. }
  104. func (m *FileInfo) XXX_Size() int {
  105. return xxx_messageInfo_FileInfo.Size(m)
  106. }
  107. func (m *FileInfo) XXX_DiscardUnknown() {
  108. xxx_messageInfo_FileInfo.DiscardUnknown(m)
  109. }
  110. var xxx_messageInfo_FileInfo proto.InternalMessageInfo
  111. func (m *FileInfo) GetSourceUrl() string {
  112. if m != nil {
  113. return m.SourceUrl
  114. }
  115. return ""
  116. }
  117. func (m *FileInfo) GetSha1Sum() string {
  118. if m != nil {
  119. return m.Sha1Sum
  120. }
  121. return ""
  122. }
  123. func (m *FileInfo) GetMimeType() string {
  124. if m != nil {
  125. return m.MimeType
  126. }
  127. return ""
  128. }
  129. // Docker image that is used to start a VM container for the version you
  130. // deploy.
  131. type ContainerInfo struct {
  132. // URI to the hosted container image in a Docker repository. The URI must be
  133. // fully qualified and include a tag or digest.
  134. // Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
  135. Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
  136. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  137. XXX_unrecognized []byte `json:"-"`
  138. XXX_sizecache int32 `json:"-"`
  139. }
  140. func (m *ContainerInfo) Reset() { *m = ContainerInfo{} }
  141. func (m *ContainerInfo) String() string { return proto.CompactTextString(m) }
  142. func (*ContainerInfo) ProtoMessage() {}
  143. func (*ContainerInfo) Descriptor() ([]byte, []int) {
  144. return fileDescriptor_deploy_4a59a9192bf081bb, []int{2}
  145. }
  146. func (m *ContainerInfo) XXX_Unmarshal(b []byte) error {
  147. return xxx_messageInfo_ContainerInfo.Unmarshal(m, b)
  148. }
  149. func (m *ContainerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  150. return xxx_messageInfo_ContainerInfo.Marshal(b, m, deterministic)
  151. }
  152. func (dst *ContainerInfo) XXX_Merge(src proto.Message) {
  153. xxx_messageInfo_ContainerInfo.Merge(dst, src)
  154. }
  155. func (m *ContainerInfo) XXX_Size() int {
  156. return xxx_messageInfo_ContainerInfo.Size(m)
  157. }
  158. func (m *ContainerInfo) XXX_DiscardUnknown() {
  159. xxx_messageInfo_ContainerInfo.DiscardUnknown(m)
  160. }
  161. var xxx_messageInfo_ContainerInfo proto.InternalMessageInfo
  162. func (m *ContainerInfo) GetImage() string {
  163. if m != nil {
  164. return m.Image
  165. }
  166. return ""
  167. }
  168. type ZipInfo struct {
  169. // URL of the zip file to deploy from. Must be a URL to a resource in
  170. // Google Cloud Storage in the form
  171. // 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.
  172. SourceUrl string `protobuf:"bytes,3,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"`
  173. // An estimate of the number of files in a zip for a zip deployment.
  174. // If set, must be greater than or equal to the actual number of files.
  175. // Used for optimizing performance; if not provided, deployment may be slow.
  176. FilesCount int32 `protobuf:"varint,4,opt,name=files_count,json=filesCount,proto3" json:"files_count,omitempty"`
  177. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  178. XXX_unrecognized []byte `json:"-"`
  179. XXX_sizecache int32 `json:"-"`
  180. }
  181. func (m *ZipInfo) Reset() { *m = ZipInfo{} }
  182. func (m *ZipInfo) String() string { return proto.CompactTextString(m) }
  183. func (*ZipInfo) ProtoMessage() {}
  184. func (*ZipInfo) Descriptor() ([]byte, []int) {
  185. return fileDescriptor_deploy_4a59a9192bf081bb, []int{3}
  186. }
  187. func (m *ZipInfo) XXX_Unmarshal(b []byte) error {
  188. return xxx_messageInfo_ZipInfo.Unmarshal(m, b)
  189. }
  190. func (m *ZipInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  191. return xxx_messageInfo_ZipInfo.Marshal(b, m, deterministic)
  192. }
  193. func (dst *ZipInfo) XXX_Merge(src proto.Message) {
  194. xxx_messageInfo_ZipInfo.Merge(dst, src)
  195. }
  196. func (m *ZipInfo) XXX_Size() int {
  197. return xxx_messageInfo_ZipInfo.Size(m)
  198. }
  199. func (m *ZipInfo) XXX_DiscardUnknown() {
  200. xxx_messageInfo_ZipInfo.DiscardUnknown(m)
  201. }
  202. var xxx_messageInfo_ZipInfo proto.InternalMessageInfo
  203. func (m *ZipInfo) GetSourceUrl() string {
  204. if m != nil {
  205. return m.SourceUrl
  206. }
  207. return ""
  208. }
  209. func (m *ZipInfo) GetFilesCount() int32 {
  210. if m != nil {
  211. return m.FilesCount
  212. }
  213. return 0
  214. }
  215. func init() {
  216. proto.RegisterType((*Deployment)(nil), "google.appengine.v1.Deployment")
  217. proto.RegisterMapType((map[string]*FileInfo)(nil), "google.appengine.v1.Deployment.FilesEntry")
  218. proto.RegisterType((*FileInfo)(nil), "google.appengine.v1.FileInfo")
  219. proto.RegisterType((*ContainerInfo)(nil), "google.appengine.v1.ContainerInfo")
  220. proto.RegisterType((*ZipInfo)(nil), "google.appengine.v1.ZipInfo")
  221. }
  222. func init() {
  223. proto.RegisterFile("google/appengine/v1/deploy.proto", fileDescriptor_deploy_4a59a9192bf081bb)
  224. }
  225. var fileDescriptor_deploy_4a59a9192bf081bb = []byte{
  226. // 394 bytes of a gzipped FileDescriptorProto
  227. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xd1, 0xab, 0xd3, 0x30,
  228. 0x14, 0xc6, 0xe9, 0x6a, 0xbd, 0xeb, 0x29, 0x82, 0x44, 0xc1, 0x7a, 0xbd, 0x17, 0x4b, 0x41, 0x28,
  229. 0x3e, 0xa4, 0xec, 0xde, 0x17, 0x51, 0x1f, 0x2e, 0x9b, 0x0a, 0x7b, 0x1b, 0x55, 0x11, 0xf6, 0x52,
  230. 0x62, 0xcd, 0x62, 0xb0, 0x4d, 0x42, 0x9b, 0x0e, 0xea, 0x7f, 0xe2, 0x7f, 0x2b, 0x49, 0xba, 0x8d,
  231. 0x8d, 0xbe, 0xf5, 0x7c, 0xfd, 0x7d, 0x5f, 0x4e, 0x72, 0x0e, 0x24, 0x4c, 0x4a, 0x56, 0xd3, 0x9c,
  232. 0x28, 0x45, 0x05, 0xe3, 0x82, 0xe6, 0xfb, 0x45, 0xfe, 0x8b, 0xaa, 0x5a, 0x0e, 0x58, 0xb5, 0x52,
  233. 0x4b, 0xf4, 0xcc, 0x11, 0xf8, 0x48, 0xe0, 0xfd, 0xe2, 0xfa, 0xe6, 0x68, 0xe3, 0x39, 0x11, 0x42,
  234. 0x6a, 0xa2, 0xb9, 0x14, 0x9d, 0xb3, 0xa4, 0xff, 0x66, 0x00, 0x9f, 0x6c, 0x46, 0x43, 0x85, 0x46,
  235. 0x0f, 0x10, 0xec, 0x78, 0x4d, 0xbb, 0xd8, 0x4b, 0xfc, 0x2c, 0xba, 0x7b, 0x8b, 0x27, 0x12, 0xf1,
  236. 0x89, 0xc7, 0x5f, 0x0c, 0xfc, 0x59, 0xe8, 0x76, 0x28, 0x9c, 0x11, 0x3d, 0x40, 0x58, 0x49, 0xa1,
  237. 0x09, 0x17, 0xb4, 0x8d, 0x67, 0x89, 0x97, 0x45, 0x77, 0xe9, 0x64, 0xca, 0xea, 0x40, 0xad, 0xc5,
  238. 0x4e, 0x16, 0x27, 0x13, 0xc2, 0xe0, 0xff, 0xe5, 0x2a, 0xf6, 0xad, 0xf7, 0x66, 0xd2, 0xbb, 0xe5,
  239. 0xca, 0xba, 0x0c, 0x78, 0xfd, 0x03, 0xe0, 0xd4, 0x06, 0x7a, 0x0a, 0xfe, 0x1f, 0x3a, 0xc4, 0x5e,
  240. 0xe2, 0x65, 0x61, 0x61, 0x3e, 0xd1, 0x3d, 0x04, 0x7b, 0x52, 0xf7, 0x74, 0xec, 0xe6, 0x76, 0x32,
  241. 0xd1, 0x24, 0xd8, 0x48, 0xc7, 0xbe, 0x9f, 0xbd, 0xf3, 0x52, 0x02, 0xf3, 0x83, 0x8c, 0x6e, 0x01,
  242. 0x3a, 0xd9, 0xb7, 0x15, 0x2d, 0xfb, 0xb6, 0x1e, 0xd3, 0x43, 0xa7, 0x7c, 0x6f, 0x6b, 0xf4, 0x12,
  243. 0xe6, 0xdd, 0x6f, 0xb2, 0x28, 0xbb, 0xbe, 0xb1, 0xc7, 0x84, 0xc5, 0x95, 0xa9, 0xbf, 0xf6, 0x0d,
  244. 0x7a, 0x05, 0x61, 0xc3, 0x1b, 0x5a, 0xea, 0x41, 0x51, 0x7b, 0xa9, 0xb0, 0x98, 0x1b, 0xe1, 0xdb,
  245. 0xa0, 0x68, 0xfa, 0x06, 0x9e, 0x9c, 0xbd, 0x03, 0x7a, 0x0e, 0x01, 0x6f, 0x08, 0xa3, 0xe3, 0x11,
  246. 0xae, 0x48, 0xd7, 0x70, 0x35, 0x5e, 0xf9, 0xa2, 0x11, 0xff, 0xb2, 0x91, 0xd7, 0x10, 0xd9, 0x39,
  247. 0x94, 0x95, 0xec, 0x85, 0x8e, 0x1f, 0x25, 0x5e, 0x16, 0x14, 0x60, 0xa5, 0x95, 0x51, 0x96, 0x3b,
  248. 0x78, 0x51, 0xc9, 0x66, 0xea, 0x0d, 0x96, 0x91, 0x1b, 0xec, 0xc6, 0x2c, 0xc6, 0xc6, 0xdb, 0x7e,
  249. 0x1c, 0x19, 0x26, 0x6b, 0x22, 0x18, 0x96, 0x2d, 0xcb, 0x19, 0x15, 0x76, 0x6d, 0x72, 0xf7, 0x8b,
  250. 0x28, 0xde, 0x9d, 0xad, 0xe3, 0x87, 0x63, 0xf1, 0xf3, 0xb1, 0x05, 0xef, 0xff, 0x07, 0x00, 0x00,
  251. 0xff, 0xff, 0x6e, 0xeb, 0x52, 0x5a, 0xb6, 0x02, 0x00, 0x00,
  252. }