OSDN Git Service

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