OSDN Git Service

new repo
[bytom/vapor.git] / vendor / google.golang.org / genproto / googleapis / appengine / v1 / application.pb.go
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/appengine/v1/application.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 import google_protobuf1 "github.com/golang/protobuf/ptypes/duration"
11
12 // Reference imports to suppress errors if they are not otherwise used.
13 var _ = proto.Marshal
14 var _ = fmt.Errorf
15 var _ = math.Inf
16
17 // An Application resource contains the top-level configuration of an App
18 // Engine application.
19 type Application struct {
20         // Full path to the Application resource in the API.
21         // Example: `apps/myapp`.
22         //
23         // @OutputOnly
24         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
25         // Identifier of the Application resource. This identifier is equivalent
26         // to the project ID of the Google Cloud Platform project where you want to
27         // deploy your application.
28         // Example: `myapp`.
29         Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
30         // HTTP path dispatch rules for requests to the application that do not
31         // explicitly target a service or version. Rules are order-dependent.
32         //
33         // @OutputOnly
34         DispatchRules []*UrlDispatchRule `protobuf:"bytes,3,rep,name=dispatch_rules,json=dispatchRules" json:"dispatch_rules,omitempty"`
35         // Google Apps authentication domain that controls which users can access
36         // this application.
37         //
38         // Defaults to open access for any Google Account.
39         AuthDomain string `protobuf:"bytes,6,opt,name=auth_domain,json=authDomain" json:"auth_domain,omitempty"`
40         // Location from which this application will be run. Application instances
41         // will run out of data centers in the chosen location, which is also where
42         // all of the application's end user content is stored.
43         //
44         // Defaults to `us-central`.
45         //
46         // Options are:
47         //
48         // `us-central` - Central US
49         //
50         // `europe-west` - Western Europe
51         //
52         // `us-east1` - Eastern US
53         LocationId string `protobuf:"bytes,7,opt,name=location_id,json=locationId" json:"location_id,omitempty"`
54         // Google Cloud Storage bucket that can be used for storing files
55         // associated with this application. This bucket is associated with the
56         // application and can be used by the gcloud deployment commands.
57         //
58         // @OutputOnly
59         CodeBucket string `protobuf:"bytes,8,opt,name=code_bucket,json=codeBucket" json:"code_bucket,omitempty"`
60         // Cookie expiration policy for this application.
61         //
62         // @OutputOnly
63         DefaultCookieExpiration *google_protobuf1.Duration `protobuf:"bytes,9,opt,name=default_cookie_expiration,json=defaultCookieExpiration" json:"default_cookie_expiration,omitempty"`
64         // Hostname used to reach this application, as resolved by App Engine.
65         //
66         // @OutputOnly
67         DefaultHostname string `protobuf:"bytes,11,opt,name=default_hostname,json=defaultHostname" json:"default_hostname,omitempty"`
68         // Google Cloud Storage bucket that can be used by this application to store
69         // content.
70         //
71         // @OutputOnly
72         DefaultBucket string `protobuf:"bytes,12,opt,name=default_bucket,json=defaultBucket" json:"default_bucket,omitempty"`
73 }
74
75 func (m *Application) Reset()                    { *m = Application{} }
76 func (m *Application) String() string            { return proto.CompactTextString(m) }
77 func (*Application) ProtoMessage()               {}
78 func (*Application) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
79
80 func (m *Application) GetName() string {
81         if m != nil {
82                 return m.Name
83         }
84         return ""
85 }
86
87 func (m *Application) GetId() string {
88         if m != nil {
89                 return m.Id
90         }
91         return ""
92 }
93
94 func (m *Application) GetDispatchRules() []*UrlDispatchRule {
95         if m != nil {
96                 return m.DispatchRules
97         }
98         return nil
99 }
100
101 func (m *Application) GetAuthDomain() string {
102         if m != nil {
103                 return m.AuthDomain
104         }
105         return ""
106 }
107
108 func (m *Application) GetLocationId() string {
109         if m != nil {
110                 return m.LocationId
111         }
112         return ""
113 }
114
115 func (m *Application) GetCodeBucket() string {
116         if m != nil {
117                 return m.CodeBucket
118         }
119         return ""
120 }
121
122 func (m *Application) GetDefaultCookieExpiration() *google_protobuf1.Duration {
123         if m != nil {
124                 return m.DefaultCookieExpiration
125         }
126         return nil
127 }
128
129 func (m *Application) GetDefaultHostname() string {
130         if m != nil {
131                 return m.DefaultHostname
132         }
133         return ""
134 }
135
136 func (m *Application) GetDefaultBucket() string {
137         if m != nil {
138                 return m.DefaultBucket
139         }
140         return ""
141 }
142
143 // Rules to match an HTTP request and dispatch that request to a service.
144 type UrlDispatchRule struct {
145         // Domain name to match against. The wildcard "`*`" is supported if
146         // specified before a period: "`*.`".
147         //
148         // Defaults to matching all domains: "`*`".
149         Domain string `protobuf:"bytes,1,opt,name=domain" json:"domain,omitempty"`
150         // Pathname within the host. Must start with a "`/`". A
151         // single "`*`" can be included at the end of the path. The sum
152         // of the lengths of the domain and path may not exceed 100
153         // characters.
154         Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
155         // Resource ID of a service in this application that should
156         // serve the matched request. The service must already
157         // exist. Example: `default`.
158         Service string `protobuf:"bytes,3,opt,name=service" json:"service,omitempty"`
159 }
160
161 func (m *UrlDispatchRule) Reset()                    { *m = UrlDispatchRule{} }
162 func (m *UrlDispatchRule) String() string            { return proto.CompactTextString(m) }
163 func (*UrlDispatchRule) ProtoMessage()               {}
164 func (*UrlDispatchRule) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
165
166 func (m *UrlDispatchRule) GetDomain() string {
167         if m != nil {
168                 return m.Domain
169         }
170         return ""
171 }
172
173 func (m *UrlDispatchRule) GetPath() string {
174         if m != nil {
175                 return m.Path
176         }
177         return ""
178 }
179
180 func (m *UrlDispatchRule) GetService() string {
181         if m != nil {
182                 return m.Service
183         }
184         return ""
185 }
186
187 func init() {
188         proto.RegisterType((*Application)(nil), "google.appengine.v1.Application")
189         proto.RegisterType((*UrlDispatchRule)(nil), "google.appengine.v1.UrlDispatchRule")
190 }
191
192 func init() { proto.RegisterFile("google/appengine/v1/application.proto", fileDescriptor2) }
193
194 var fileDescriptor2 = []byte{
195         // 409 bytes of a gzipped FileDescriptorProto
196         0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x5f, 0x6b, 0xdb, 0x30,
197         0x14, 0xc5, 0x71, 0x3c, 0x92, 0x45, 0x5e, 0xfe, 0xa0, 0xc1, 0xa2, 0x84, 0xb1, 0x85, 0xb0, 0x40,
198         0xf6, 0x62, 0x93, 0xec, 0x71, 0x7b, 0x59, 0x9a, 0x42, 0x4b, 0x5f, 0x82, 0x21, 0x14, 0xfa, 0x62,
199         0x14, 0x4b, 0xb1, 0x45, 0x14, 0xc9, 0xd8, 0x72, 0xe8, 0x67, 0xe8, 0xa7, 0x2e, 0x96, 0x64, 0x37,
200         0x2d, 0x79, 0xd3, 0x3d, 0xfa, 0x1d, 0xdd, 0xeb, 0x73, 0x0d, 0xe6, 0x89, 0x94, 0x09, 0xa7, 0x01,
201         0xce, 0x32, 0x2a, 0x12, 0x26, 0x68, 0x70, 0x5e, 0x56, 0x05, 0x67, 0x31, 0x56, 0x4c, 0x0a, 0x3f,
202         0xcb, 0xa5, 0x92, 0xf0, 0xab, 0xc1, 0xfc, 0x06, 0xf3, 0xcf, 0xcb, 0xc9, 0xf7, 0xc6, 0xcb, 0x02,
203         0x2c, 0x84, 0x54, 0xda, 0x51, 0x18, 0xcb, 0xe4, 0x87, 0xbd, 0xd5, 0xd5, 0xbe, 0x3c, 0x04, 0xa4,
204         0xcc, 0x2f, 0x9e, 0x9c, 0xbd, 0xb8, 0xc0, 0xfb, 0xff, 0xd6, 0x08, 0x42, 0xf0, 0x49, 0xe0, 0x13,
205         0x45, 0xce, 0xd4, 0x59, 0x74, 0x43, 0x7d, 0x86, 0x7d, 0xd0, 0x62, 0x04, 0xb5, 0xb4, 0xd2, 0x62,
206         0x04, 0x3e, 0x80, 0x3e, 0x61, 0x45, 0x86, 0x55, 0x9c, 0x46, 0x79, 0xc9, 0x69, 0x81, 0xdc, 0xa9,
207         0xbb, 0xf0, 0x56, 0xbf, 0xfc, 0x2b, 0xf3, 0xf9, 0xbb, 0x9c, 0x6f, 0x2c, 0x1d, 0x96, 0x9c, 0x86,
208         0x3d, 0x72, 0x51, 0x15, 0xf0, 0x27, 0xf0, 0x70, 0xa9, 0xd2, 0x88, 0xc8, 0x13, 0x66, 0x02, 0xb5,
209         0x75, 0x17, 0x50, 0x49, 0x1b, 0xad, 0x54, 0x00, 0x97, 0x66, 0xba, 0x88, 0x11, 0xd4, 0x31, 0x40,
210         0x2d, 0xdd, 0x93, 0x0a, 0x88, 0x25, 0xa1, 0xd1, 0xbe, 0x8c, 0x8f, 0x54, 0xa1, 0xcf, 0x06, 0xa8,
211         0xa4, 0xb5, 0x56, 0xe0, 0x0e, 0x8c, 0x09, 0x3d, 0xe0, 0x92, 0xab, 0x28, 0x96, 0xf2, 0xc8, 0x68,
212         0x44, 0x9f, 0x33, 0x66, 0x62, 0x40, 0xdd, 0xa9, 0xb3, 0xf0, 0x56, 0xe3, 0x7a, 0xf4, 0x3a, 0x27,
213         0x7f, 0x63, 0x73, 0x0a, 0x47, 0xd6, 0x7b, 0xa3, 0xad, 0xb7, 0x8d, 0x13, 0xfe, 0x06, 0xc3, 0xfa,
214         0xd9, 0x54, 0x16, 0x4a, 0xc7, 0xe6, 0xe9, 0xe6, 0x03, 0xab, 0xdf, 0x59, 0x19, 0xce, 0x41, 0xbf,
215         0x46, 0xed, 0x94, 0x5f, 0x34, 0xd8, 0xb3, 0xaa, 0x19, 0x74, 0xf6, 0x08, 0x06, 0x1f, 0xd2, 0x82,
216         0xdf, 0x40, 0xdb, 0x26, 0x63, 0x36, 0x62, 0xab, 0x6a, 0x4f, 0x19, 0x56, 0xa9, 0xdd, 0x8a, 0x3e,
217         0x43, 0x04, 0x3a, 0x05, 0xcd, 0xcf, 0x2c, 0xa6, 0xc8, 0xd5, 0x72, 0x5d, 0xae, 0x8f, 0x60, 0x14,
218         0xcb, 0xd3, 0xb5, 0xf5, 0xac, 0x87, 0x17, 0xdb, 0xdf, 0x56, 0x1f, 0xbf, 0x75, 0x9e, 0xfe, 0x59,
219         0x30, 0x91, 0x1c, 0x8b, 0xc4, 0x97, 0x79, 0x12, 0x24, 0x54, 0xe8, 0x68, 0x02, 0x73, 0x85, 0x33,
220         0x56, 0xbc, 0xfb, 0x5b, 0xff, 0x36, 0xc5, 0xbe, 0xad, 0xc1, 0x3f, 0xaf, 0x01, 0x00, 0x00, 0xff,
221         0xff, 0x7a, 0x51, 0x2e, 0x3c, 0xd5, 0x02, 0x00, 0x00,
222 }