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.
 
 
 

275 lines
10 KiB

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