PageRenderTime 45ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/appengine_internal/runtime_config/runtime_config.pb.go

https://gitlab.com/thebrave/appengine-go
Go | 421 lines | 341 code | 61 blank | 19 comment | 128 complexity | b2de3b3a7a8dc47e962313020ae97935 MD5 | raw file
  1. // Code generated by protoc-gen-go.
  2. // DO NOT EDIT!
  3. /*
  4. Package appengine_tools_devappserver2 is a generated protocol buffer package.
  5. It is generated from these files:
  6. appengine_internal/runtime_config
  7. It has these top-level messages:
  8. Config
  9. PhpConfig
  10. PythonConfig
  11. JavaConfig
  12. CloudSQL
  13. Library
  14. Environ
  15. VMConfig
  16. */
  17. package appengine_tools_devappserver2
  18. import proto "github.com/golang/protobuf/proto"
  19. import math "math"
  20. // Reference imports to suppress errors if they are not otherwise used.
  21. var _ = proto.Marshal
  22. var _ = math.Inf
  23. type Config struct {
  24. AppId []byte `protobuf:"bytes,1,req,name=app_id" json:"app_id,omitempty"`
  25. VersionId []byte `protobuf:"bytes,2,req,name=version_id" json:"version_id,omitempty"`
  26. ApplicationRoot []byte `protobuf:"bytes,3,req,name=application_root" json:"application_root,omitempty"`
  27. Threadsafe *bool `protobuf:"varint,4,opt,name=threadsafe,def=0" json:"threadsafe,omitempty"`
  28. ApiHost *string `protobuf:"bytes,17,opt,name=api_host,def=localhost" json:"api_host,omitempty"`
  29. ApiPort *int32 `protobuf:"varint,5,req,name=api_port" json:"api_port,omitempty"`
  30. Libraries []*Library `protobuf:"bytes,6,rep,name=libraries" json:"libraries,omitempty"`
  31. SkipFiles *string `protobuf:"bytes,7,opt,name=skip_files,def=^$" json:"skip_files,omitempty"`
  32. StaticFiles *string `protobuf:"bytes,8,opt,name=static_files,def=^$" json:"static_files,omitempty"`
  33. PythonConfig *PythonConfig `protobuf:"bytes,14,opt,name=python_config" json:"python_config,omitempty"`
  34. PhpConfig *PhpConfig `protobuf:"bytes,9,opt,name=php_config" json:"php_config,omitempty"`
  35. JavaConfig *JavaConfig `protobuf:"bytes,21,opt,name=java_config" json:"java_config,omitempty"`
  36. Environ []*Environ `protobuf:"bytes,10,rep,name=environ" json:"environ,omitempty"`
  37. CloudSqlConfig *CloudSQL `protobuf:"bytes,11,opt,name=cloud_sql_config" json:"cloud_sql_config,omitempty"`
  38. Datacenter *string `protobuf:"bytes,12,req,name=datacenter" json:"datacenter,omitempty"`
  39. InstanceId *string `protobuf:"bytes,13,req,name=instance_id" json:"instance_id,omitempty"`
  40. StderrLogLevel *int64 `protobuf:"varint,15,opt,name=stderr_log_level,def=1" json:"stderr_log_level,omitempty"`
  41. AuthDomain *string `protobuf:"bytes,16,req,name=auth_domain" json:"auth_domain,omitempty"`
  42. MaxInstances *int32 `protobuf:"varint,18,opt,name=max_instances" json:"max_instances,omitempty"`
  43. VmConfig *VMConfig `protobuf:"bytes,19,opt,name=vm_config" json:"vm_config,omitempty"`
  44. ServerPort *int32 `protobuf:"varint,20,opt,name=server_port" json:"server_port,omitempty"`
  45. Vm *bool `protobuf:"varint,22,opt,name=vm,def=0" json:"vm,omitempty"`
  46. XXX_unrecognized []byte `json:"-"`
  47. }
  48. func (m *Config) Reset() { *m = Config{} }
  49. func (m *Config) String() string { return proto.CompactTextString(m) }
  50. func (*Config) ProtoMessage() {}
  51. const Default_Config_Threadsafe bool = false
  52. const Default_Config_ApiHost string = "localhost"
  53. const Default_Config_SkipFiles string = "^$"
  54. const Default_Config_StaticFiles string = "^$"
  55. const Default_Config_StderrLogLevel int64 = 1
  56. const Default_Config_Vm bool = false
  57. func (m *Config) GetAppId() []byte {
  58. if m != nil {
  59. return m.AppId
  60. }
  61. return nil
  62. }
  63. func (m *Config) GetVersionId() []byte {
  64. if m != nil {
  65. return m.VersionId
  66. }
  67. return nil
  68. }
  69. func (m *Config) GetApplicationRoot() []byte {
  70. if m != nil {
  71. return m.ApplicationRoot
  72. }
  73. return nil
  74. }
  75. func (m *Config) GetThreadsafe() bool {
  76. if m != nil && m.Threadsafe != nil {
  77. return *m.Threadsafe
  78. }
  79. return Default_Config_Threadsafe
  80. }
  81. func (m *Config) GetApiHost() string {
  82. if m != nil && m.ApiHost != nil {
  83. return *m.ApiHost
  84. }
  85. return Default_Config_ApiHost
  86. }
  87. func (m *Config) GetApiPort() int32 {
  88. if m != nil && m.ApiPort != nil {
  89. return *m.ApiPort
  90. }
  91. return 0
  92. }
  93. func (m *Config) GetLibraries() []*Library {
  94. if m != nil {
  95. return m.Libraries
  96. }
  97. return nil
  98. }
  99. func (m *Config) GetSkipFiles() string {
  100. if m != nil && m.SkipFiles != nil {
  101. return *m.SkipFiles
  102. }
  103. return Default_Config_SkipFiles
  104. }
  105. func (m *Config) GetStaticFiles() string {
  106. if m != nil && m.StaticFiles != nil {
  107. return *m.StaticFiles
  108. }
  109. return Default_Config_StaticFiles
  110. }
  111. func (m *Config) GetPythonConfig() *PythonConfig {
  112. if m != nil {
  113. return m.PythonConfig
  114. }
  115. return nil
  116. }
  117. func (m *Config) GetPhpConfig() *PhpConfig {
  118. if m != nil {
  119. return m.PhpConfig
  120. }
  121. return nil
  122. }
  123. func (m *Config) GetJavaConfig() *JavaConfig {
  124. if m != nil {
  125. return m.JavaConfig
  126. }
  127. return nil
  128. }
  129. func (m *Config) GetEnviron() []*Environ {
  130. if m != nil {
  131. return m.Environ
  132. }
  133. return nil
  134. }
  135. func (m *Config) GetCloudSqlConfig() *CloudSQL {
  136. if m != nil {
  137. return m.CloudSqlConfig
  138. }
  139. return nil
  140. }
  141. func (m *Config) GetDatacenter() string {
  142. if m != nil && m.Datacenter != nil {
  143. return *m.Datacenter
  144. }
  145. return ""
  146. }
  147. func (m *Config) GetInstanceId() string {
  148. if m != nil && m.InstanceId != nil {
  149. return *m.InstanceId
  150. }
  151. return ""
  152. }
  153. func (m *Config) GetStderrLogLevel() int64 {
  154. if m != nil && m.StderrLogLevel != nil {
  155. return *m.StderrLogLevel
  156. }
  157. return Default_Config_StderrLogLevel
  158. }
  159. func (m *Config) GetAuthDomain() string {
  160. if m != nil && m.AuthDomain != nil {
  161. return *m.AuthDomain
  162. }
  163. return ""
  164. }
  165. func (m *Config) GetMaxInstances() int32 {
  166. if m != nil && m.MaxInstances != nil {
  167. return *m.MaxInstances
  168. }
  169. return 0
  170. }
  171. func (m *Config) GetVmConfig() *VMConfig {
  172. if m != nil {
  173. return m.VmConfig
  174. }
  175. return nil
  176. }
  177. func (m *Config) GetServerPort() int32 {
  178. if m != nil && m.ServerPort != nil {
  179. return *m.ServerPort
  180. }
  181. return 0
  182. }
  183. func (m *Config) GetVm() bool {
  184. if m != nil && m.Vm != nil {
  185. return *m.Vm
  186. }
  187. return Default_Config_Vm
  188. }
  189. type PhpConfig struct {
  190. PhpExecutablePath []byte `protobuf:"bytes,1,opt,name=php_executable_path" json:"php_executable_path,omitempty"`
  191. EnableDebugger *bool `protobuf:"varint,3,req,name=enable_debugger" json:"enable_debugger,omitempty"`
  192. GaeExtensionPath []byte `protobuf:"bytes,4,opt,name=gae_extension_path" json:"gae_extension_path,omitempty"`
  193. XdebugExtensionPath []byte `protobuf:"bytes,5,opt,name=xdebug_extension_path" json:"xdebug_extension_path,omitempty"`
  194. XXX_unrecognized []byte `json:"-"`
  195. }
  196. func (m *PhpConfig) Reset() { *m = PhpConfig{} }
  197. func (m *PhpConfig) String() string { return proto.CompactTextString(m) }
  198. func (*PhpConfig) ProtoMessage() {}
  199. func (m *PhpConfig) GetPhpExecutablePath() []byte {
  200. if m != nil {
  201. return m.PhpExecutablePath
  202. }
  203. return nil
  204. }
  205. func (m *PhpConfig) GetEnableDebugger() bool {
  206. if m != nil && m.EnableDebugger != nil {
  207. return *m.EnableDebugger
  208. }
  209. return false
  210. }
  211. func (m *PhpConfig) GetGaeExtensionPath() []byte {
  212. if m != nil {
  213. return m.GaeExtensionPath
  214. }
  215. return nil
  216. }
  217. func (m *PhpConfig) GetXdebugExtensionPath() []byte {
  218. if m != nil {
  219. return m.XdebugExtensionPath
  220. }
  221. return nil
  222. }
  223. type PythonConfig struct {
  224. StartupScript *string `protobuf:"bytes,1,opt,name=startup_script" json:"startup_script,omitempty"`
  225. StartupArgs *string `protobuf:"bytes,2,opt,name=startup_args" json:"startup_args,omitempty"`
  226. XXX_unrecognized []byte `json:"-"`
  227. }
  228. func (m *PythonConfig) Reset() { *m = PythonConfig{} }
  229. func (m *PythonConfig) String() string { return proto.CompactTextString(m) }
  230. func (*PythonConfig) ProtoMessage() {}
  231. func (m *PythonConfig) GetStartupScript() string {
  232. if m != nil && m.StartupScript != nil {
  233. return *m.StartupScript
  234. }
  235. return ""
  236. }
  237. func (m *PythonConfig) GetStartupArgs() string {
  238. if m != nil && m.StartupArgs != nil {
  239. return *m.StartupArgs
  240. }
  241. return ""
  242. }
  243. type JavaConfig struct {
  244. JvmArgs []string `protobuf:"bytes,1,rep,name=jvm_args" json:"jvm_args,omitempty"`
  245. XXX_unrecognized []byte `json:"-"`
  246. }
  247. func (m *JavaConfig) Reset() { *m = JavaConfig{} }
  248. func (m *JavaConfig) String() string { return proto.CompactTextString(m) }
  249. func (*JavaConfig) ProtoMessage() {}
  250. func (m *JavaConfig) GetJvmArgs() []string {
  251. if m != nil {
  252. return m.JvmArgs
  253. }
  254. return nil
  255. }
  256. type CloudSQL struct {
  257. MysqlHost *string `protobuf:"bytes,1,req,name=mysql_host" json:"mysql_host,omitempty"`
  258. MysqlPort *int32 `protobuf:"varint,2,req,name=mysql_port" json:"mysql_port,omitempty"`
  259. MysqlUser *string `protobuf:"bytes,3,req,name=mysql_user" json:"mysql_user,omitempty"`
  260. MysqlPassword *string `protobuf:"bytes,4,req,name=mysql_password" json:"mysql_password,omitempty"`
  261. MysqlSocket *string `protobuf:"bytes,5,opt,name=mysql_socket" json:"mysql_socket,omitempty"`
  262. XXX_unrecognized []byte `json:"-"`
  263. }
  264. func (m *CloudSQL) Reset() { *m = CloudSQL{} }
  265. func (m *CloudSQL) String() string { return proto.CompactTextString(m) }
  266. func (*CloudSQL) ProtoMessage() {}
  267. func (m *CloudSQL) GetMysqlHost() string {
  268. if m != nil && m.MysqlHost != nil {
  269. return *m.MysqlHost
  270. }
  271. return ""
  272. }
  273. func (m *CloudSQL) GetMysqlPort() int32 {
  274. if m != nil && m.MysqlPort != nil {
  275. return *m.MysqlPort
  276. }
  277. return 0
  278. }
  279. func (m *CloudSQL) GetMysqlUser() string {
  280. if m != nil && m.MysqlUser != nil {
  281. return *m.MysqlUser
  282. }
  283. return ""
  284. }
  285. func (m *CloudSQL) GetMysqlPassword() string {
  286. if m != nil && m.MysqlPassword != nil {
  287. return *m.MysqlPassword
  288. }
  289. return ""
  290. }
  291. func (m *CloudSQL) GetMysqlSocket() string {
  292. if m != nil && m.MysqlSocket != nil {
  293. return *m.MysqlSocket
  294. }
  295. return ""
  296. }
  297. type Library struct {
  298. Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
  299. Version *string `protobuf:"bytes,2,req,name=version" json:"version,omitempty"`
  300. XXX_unrecognized []byte `json:"-"`
  301. }
  302. func (m *Library) Reset() { *m = Library{} }
  303. func (m *Library) String() string { return proto.CompactTextString(m) }
  304. func (*Library) ProtoMessage() {}
  305. func (m *Library) GetName() string {
  306. if m != nil && m.Name != nil {
  307. return *m.Name
  308. }
  309. return ""
  310. }
  311. func (m *Library) GetVersion() string {
  312. if m != nil && m.Version != nil {
  313. return *m.Version
  314. }
  315. return ""
  316. }
  317. type Environ struct {
  318. Key []byte `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
  319. Value []byte `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
  320. XXX_unrecognized []byte `json:"-"`
  321. }
  322. func (m *Environ) Reset() { *m = Environ{} }
  323. func (m *Environ) String() string { return proto.CompactTextString(m) }
  324. func (*Environ) ProtoMessage() {}
  325. func (m *Environ) GetKey() []byte {
  326. if m != nil {
  327. return m.Key
  328. }
  329. return nil
  330. }
  331. func (m *Environ) GetValue() []byte {
  332. if m != nil {
  333. return m.Value
  334. }
  335. return nil
  336. }
  337. type VMConfig struct {
  338. DockerDaemonUrl *string `protobuf:"bytes,1,opt,name=docker_daemon_url" json:"docker_daemon_url,omitempty"`
  339. EnableLogs *bool `protobuf:"varint,3,opt,name=enable_logs" json:"enable_logs,omitempty"`
  340. XXX_unrecognized []byte `json:"-"`
  341. }
  342. func (m *VMConfig) Reset() { *m = VMConfig{} }
  343. func (m *VMConfig) String() string { return proto.CompactTextString(m) }
  344. func (*VMConfig) ProtoMessage() {}
  345. func (m *VMConfig) GetDockerDaemonUrl() string {
  346. if m != nil && m.DockerDaemonUrl != nil {
  347. return *m.DockerDaemonUrl
  348. }
  349. return ""
  350. }
  351. func (m *VMConfig) GetEnableLogs() bool {
  352. if m != nil && m.EnableLogs != nil {
  353. return *m.EnableLogs
  354. }
  355. return false
  356. }
  357. func init() {
  358. }