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.
 
 
 

589 lines
25 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/scheduler/v1beta1/target.proto
  3. package scheduler // import "google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/golang/protobuf/ptypes/any"
  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. // The HTTP method used to execute the job.
  19. type HttpMethod int32
  20. const (
  21. // HTTP method unspecified. Defaults to POST.
  22. HttpMethod_HTTP_METHOD_UNSPECIFIED HttpMethod = 0
  23. // HTTP POST
  24. HttpMethod_POST HttpMethod = 1
  25. // HTTP GET
  26. HttpMethod_GET HttpMethod = 2
  27. // HTTP HEAD
  28. HttpMethod_HEAD HttpMethod = 3
  29. // HTTP PUT
  30. HttpMethod_PUT HttpMethod = 4
  31. // HTTP DELETE
  32. HttpMethod_DELETE HttpMethod = 5
  33. // HTTP PATCH
  34. HttpMethod_PATCH HttpMethod = 6
  35. // HTTP OPTIONS
  36. HttpMethod_OPTIONS HttpMethod = 7
  37. )
  38. var HttpMethod_name = map[int32]string{
  39. 0: "HTTP_METHOD_UNSPECIFIED",
  40. 1: "POST",
  41. 2: "GET",
  42. 3: "HEAD",
  43. 4: "PUT",
  44. 5: "DELETE",
  45. 6: "PATCH",
  46. 7: "OPTIONS",
  47. }
  48. var HttpMethod_value = map[string]int32{
  49. "HTTP_METHOD_UNSPECIFIED": 0,
  50. "POST": 1,
  51. "GET": 2,
  52. "HEAD": 3,
  53. "PUT": 4,
  54. "DELETE": 5,
  55. "PATCH": 6,
  56. "OPTIONS": 7,
  57. }
  58. func (x HttpMethod) String() string {
  59. return proto.EnumName(HttpMethod_name, int32(x))
  60. }
  61. func (HttpMethod) EnumDescriptor() ([]byte, []int) {
  62. return fileDescriptor_target_ccd5bd51b24cf4b9, []int{0}
  63. }
  64. // Http target. The job will be pushed to the job handler by means of
  65. // an HTTP request via an
  66. // [http_method][google.cloud.scheduler.v1beta1.HttpTarget.http_method] such as
  67. // HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP
  68. // response code in the range [200 - 299]. A failure to receive a response
  69. // constitutes a failed execution. For a redirected request, the response
  70. // returned by the redirected request is considered.
  71. type HttpTarget struct {
  72. // Required.
  73. //
  74. // The full URI path that the request will be sent to. This string
  75. // must begin with either "http://" or "https://". Some examples of
  76. // valid values for [uri][google.cloud.scheduler.v1beta1.HttpTarget.uri] are:
  77. // `http://acme.com` and `https://acme.com/sales:8080`. Cloud Scheduler will
  78. // encode some characters for safety and compatibility. The maximum allowed
  79. // URL length is 2083 characters after encoding.
  80. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
  81. // Which HTTP method to use for the request.
  82. HttpMethod HttpMethod `protobuf:"varint,2,opt,name=http_method,json=httpMethod,proto3,enum=google.cloud.scheduler.v1beta1.HttpMethod" json:"http_method,omitempty"`
  83. // The user can specify HTTP request headers to send with the job's
  84. // HTTP request. This map contains the header field names and
  85. // values. Repeated headers are not supported, but a header value can
  86. // contain commas. These headers represent a subset of the headers
  87. // that will accompany the job's HTTP request. Some HTTP request
  88. // headers will be ignored or replaced. A partial list of headers that
  89. // will be ignored or replaced is below:
  90. // - Host: This will be computed by Cloud Scheduler and derived from
  91. // [uri][google.cloud.scheduler.v1beta1.HttpTarget.uri].
  92. // * `Content-Length`: This will be computed by Cloud Scheduler.
  93. // * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`.
  94. // * `X-Google-*`: Google internal use only.
  95. // * `X-AppEngine-*`: Google internal use only.
  96. //
  97. // The total size of headers must be less than 80KB.
  98. Headers map[string]string `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  99. // HTTP request body. A request body is allowed only if the HTTP
  100. // method is POST, PUT, or PATCH. It is an error to set body on a job with an
  101. // incompatible [HttpMethod][google.cloud.scheduler.v1beta1.HttpMethod].
  102. Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
  103. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  104. XXX_unrecognized []byte `json:"-"`
  105. XXX_sizecache int32 `json:"-"`
  106. }
  107. func (m *HttpTarget) Reset() { *m = HttpTarget{} }
  108. func (m *HttpTarget) String() string { return proto.CompactTextString(m) }
  109. func (*HttpTarget) ProtoMessage() {}
  110. func (*HttpTarget) Descriptor() ([]byte, []int) {
  111. return fileDescriptor_target_ccd5bd51b24cf4b9, []int{0}
  112. }
  113. func (m *HttpTarget) XXX_Unmarshal(b []byte) error {
  114. return xxx_messageInfo_HttpTarget.Unmarshal(m, b)
  115. }
  116. func (m *HttpTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  117. return xxx_messageInfo_HttpTarget.Marshal(b, m, deterministic)
  118. }
  119. func (dst *HttpTarget) XXX_Merge(src proto.Message) {
  120. xxx_messageInfo_HttpTarget.Merge(dst, src)
  121. }
  122. func (m *HttpTarget) XXX_Size() int {
  123. return xxx_messageInfo_HttpTarget.Size(m)
  124. }
  125. func (m *HttpTarget) XXX_DiscardUnknown() {
  126. xxx_messageInfo_HttpTarget.DiscardUnknown(m)
  127. }
  128. var xxx_messageInfo_HttpTarget proto.InternalMessageInfo
  129. func (m *HttpTarget) GetUri() string {
  130. if m != nil {
  131. return m.Uri
  132. }
  133. return ""
  134. }
  135. func (m *HttpTarget) GetHttpMethod() HttpMethod {
  136. if m != nil {
  137. return m.HttpMethod
  138. }
  139. return HttpMethod_HTTP_METHOD_UNSPECIFIED
  140. }
  141. func (m *HttpTarget) GetHeaders() map[string]string {
  142. if m != nil {
  143. return m.Headers
  144. }
  145. return nil
  146. }
  147. func (m *HttpTarget) GetBody() []byte {
  148. if m != nil {
  149. return m.Body
  150. }
  151. return nil
  152. }
  153. // App Engine target. The job will be pushed to a job handler by means
  154. // of an HTTP request via an
  155. // [http_method][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.http_method]
  156. // such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP
  157. // response code in the range [200 - 299]. Error 503 is considered an App Engine
  158. // system error instead of an application error. Requests returning error 503
  159. // will be retried regardless of retry configuration and not counted against
  160. // retry counts. Any other response code, or a failure to receive a response
  161. // before the deadline, constitutes a failed attempt.
  162. type AppEngineHttpTarget struct {
  163. // The HTTP method to use for the request. PATCH and OPTIONS are not
  164. // permitted.
  165. HttpMethod HttpMethod `protobuf:"varint,1,opt,name=http_method,json=httpMethod,proto3,enum=google.cloud.scheduler.v1beta1.HttpMethod" json:"http_method,omitempty"`
  166. // App Engine Routing setting for the job.
  167. AppEngineRouting *AppEngineRouting `protobuf:"bytes,2,opt,name=app_engine_routing,json=appEngineRouting,proto3" json:"app_engine_routing,omitempty"`
  168. // The relative URI.
  169. //
  170. // The relative URL must begin with "/" and must be a valid HTTP relative URL.
  171. // It can contain a path, query string arguments, and `#` fragments.
  172. // If the relative URL is empty, then the root path "/" will be used.
  173. // No spaces are allowed, and the maximum length allowed is 2083 characters.
  174. RelativeUri string `protobuf:"bytes,3,opt,name=relative_uri,json=relativeUri,proto3" json:"relative_uri,omitempty"`
  175. // HTTP request headers.
  176. //
  177. // This map contains the header field names and values. Headers can be set
  178. // when the job is created.
  179. //
  180. // Cloud Scheduler sets some headers to default values:
  181. //
  182. // * `User-Agent`: By default, this header is
  183. // `"AppEngine-Google; (+http://code.google.com/appengine)"`.
  184. // This header can be modified, but Cloud Scheduler will append
  185. // `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
  186. // modified `User-Agent`.
  187. //
  188. // If the job has an
  189. // [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud
  190. // Scheduler sets the following headers:
  191. //
  192. // * `Content-Type`: By default, the `Content-Type` header is set to
  193. // `"application/octet-stream"`. The default can be overridden by explictly
  194. // setting `Content-Type` to a particular media type when the job is
  195. // created.
  196. // For example, `Content-Type` can be set to `"application/json"`.
  197. // * `Content-Length`: This is computed by Cloud Scheduler. This value is
  198. // output only. It cannot be changed.
  199. //
  200. // The headers below are output only. They cannot be set or overridden:
  201. //
  202. // * `X-Google-*`: For Google internal use only.
  203. // * `X-AppEngine-*`: For Google internal use only. See
  204. // [Reading request
  205. // headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers).
  206. //
  207. // In addition, some App Engine headers, which contain
  208. // job-specific information, are also be sent to the job handler; see
  209. // [request
  210. // headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron).
  211. Headers map[string]string `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  212. // Body.
  213. //
  214. // HTTP request body. A request body is allowed only if the HTTP method is
  215. // POST or PUT. It will result in invalid argument error to set a body on a
  216. // job with an incompatible
  217. // [HttpMethod][google.cloud.scheduler.v1beta1.HttpMethod].
  218. Body []byte `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
  219. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  220. XXX_unrecognized []byte `json:"-"`
  221. XXX_sizecache int32 `json:"-"`
  222. }
  223. func (m *AppEngineHttpTarget) Reset() { *m = AppEngineHttpTarget{} }
  224. func (m *AppEngineHttpTarget) String() string { return proto.CompactTextString(m) }
  225. func (*AppEngineHttpTarget) ProtoMessage() {}
  226. func (*AppEngineHttpTarget) Descriptor() ([]byte, []int) {
  227. return fileDescriptor_target_ccd5bd51b24cf4b9, []int{1}
  228. }
  229. func (m *AppEngineHttpTarget) XXX_Unmarshal(b []byte) error {
  230. return xxx_messageInfo_AppEngineHttpTarget.Unmarshal(m, b)
  231. }
  232. func (m *AppEngineHttpTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  233. return xxx_messageInfo_AppEngineHttpTarget.Marshal(b, m, deterministic)
  234. }
  235. func (dst *AppEngineHttpTarget) XXX_Merge(src proto.Message) {
  236. xxx_messageInfo_AppEngineHttpTarget.Merge(dst, src)
  237. }
  238. func (m *AppEngineHttpTarget) XXX_Size() int {
  239. return xxx_messageInfo_AppEngineHttpTarget.Size(m)
  240. }
  241. func (m *AppEngineHttpTarget) XXX_DiscardUnknown() {
  242. xxx_messageInfo_AppEngineHttpTarget.DiscardUnknown(m)
  243. }
  244. var xxx_messageInfo_AppEngineHttpTarget proto.InternalMessageInfo
  245. func (m *AppEngineHttpTarget) GetHttpMethod() HttpMethod {
  246. if m != nil {
  247. return m.HttpMethod
  248. }
  249. return HttpMethod_HTTP_METHOD_UNSPECIFIED
  250. }
  251. func (m *AppEngineHttpTarget) GetAppEngineRouting() *AppEngineRouting {
  252. if m != nil {
  253. return m.AppEngineRouting
  254. }
  255. return nil
  256. }
  257. func (m *AppEngineHttpTarget) GetRelativeUri() string {
  258. if m != nil {
  259. return m.RelativeUri
  260. }
  261. return ""
  262. }
  263. func (m *AppEngineHttpTarget) GetHeaders() map[string]string {
  264. if m != nil {
  265. return m.Headers
  266. }
  267. return nil
  268. }
  269. func (m *AppEngineHttpTarget) GetBody() []byte {
  270. if m != nil {
  271. return m.Body
  272. }
  273. return nil
  274. }
  275. // Pub/Sub target. The job will be delivered by publishing a message to
  276. // the given Pub/Sub topic.
  277. type PubsubTarget struct {
  278. // Required.
  279. //
  280. // The name of the Cloud Pub/Sub topic to which messages will
  281. // be published when a job is delivered. The topic name must be in the
  282. // same format as required by PubSub's
  283. // [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest),
  284. // for example `projects/PROJECT_ID/topics/TOPIC_ID`.
  285. //
  286. // The topic must be in the same project as the Cloud Scheduler job.
  287. TopicName string `protobuf:"bytes,1,opt,name=topic_name,json=topicName,proto3" json:"topic_name,omitempty"`
  288. // The message payload for PubsubMessage.
  289. //
  290. // Pubsub message must contain either non-empty data, or at least one
  291. // attribute.
  292. Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  293. // Attributes for PubsubMessage.
  294. //
  295. // Pubsub message must contain either non-empty data, or at least one
  296. // attribute.
  297. Attributes map[string]string `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  298. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  299. XXX_unrecognized []byte `json:"-"`
  300. XXX_sizecache int32 `json:"-"`
  301. }
  302. func (m *PubsubTarget) Reset() { *m = PubsubTarget{} }
  303. func (m *PubsubTarget) String() string { return proto.CompactTextString(m) }
  304. func (*PubsubTarget) ProtoMessage() {}
  305. func (*PubsubTarget) Descriptor() ([]byte, []int) {
  306. return fileDescriptor_target_ccd5bd51b24cf4b9, []int{2}
  307. }
  308. func (m *PubsubTarget) XXX_Unmarshal(b []byte) error {
  309. return xxx_messageInfo_PubsubTarget.Unmarshal(m, b)
  310. }
  311. func (m *PubsubTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  312. return xxx_messageInfo_PubsubTarget.Marshal(b, m, deterministic)
  313. }
  314. func (dst *PubsubTarget) XXX_Merge(src proto.Message) {
  315. xxx_messageInfo_PubsubTarget.Merge(dst, src)
  316. }
  317. func (m *PubsubTarget) XXX_Size() int {
  318. return xxx_messageInfo_PubsubTarget.Size(m)
  319. }
  320. func (m *PubsubTarget) XXX_DiscardUnknown() {
  321. xxx_messageInfo_PubsubTarget.DiscardUnknown(m)
  322. }
  323. var xxx_messageInfo_PubsubTarget proto.InternalMessageInfo
  324. func (m *PubsubTarget) GetTopicName() string {
  325. if m != nil {
  326. return m.TopicName
  327. }
  328. return ""
  329. }
  330. func (m *PubsubTarget) GetData() []byte {
  331. if m != nil {
  332. return m.Data
  333. }
  334. return nil
  335. }
  336. func (m *PubsubTarget) GetAttributes() map[string]string {
  337. if m != nil {
  338. return m.Attributes
  339. }
  340. return nil
  341. }
  342. // App Engine Routing.
  343. //
  344. // For more information about services, versions, and instances see
  345. // [An Overview of App
  346. // Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine),
  347. // [Microservices Architecture on Google App
  348. // Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine),
  349. // [App Engine Standard request
  350. // routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed),
  351. // and [App Engine Flex request
  352. // routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
  353. type AppEngineRouting struct {
  354. // App service.
  355. //
  356. // By default, the job is sent to the service which is the default
  357. // service when the job is attempted.
  358. Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
  359. // App version.
  360. //
  361. // By default, the job is sent to the version which is the default
  362. // version when the job is attempted.
  363. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
  364. // App instance.
  365. //
  366. // By default, the job is sent to an instance which is available when
  367. // the job is attempted.
  368. //
  369. // Requests can only be sent to a specific instance if
  370. // [manual scaling is used in App Engine
  371. // Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes).
  372. // App Engine Flex does not support instances. For more information, see
  373. // [App Engine Standard request
  374. // routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)
  375. // and [App Engine Flex request
  376. // routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
  377. Instance string `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
  378. // Output only. The host that the job is sent to.
  379. //
  380. // For more information about how App Engine requests are routed, see
  381. // [here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).
  382. //
  383. // The host is constructed as:
  384. //
  385. //
  386. // * `host = [application_domain_name]`</br>
  387. // `| [service] + '.' + [application_domain_name]`</br>
  388. // `| [version] + '.' + [application_domain_name]`</br>
  389. // `| [version_dot_service]+ '.' + [application_domain_name]`</br>
  390. // `| [instance] + '.' + [application_domain_name]`</br>
  391. // `| [instance_dot_service] + '.' + [application_domain_name]`</br>
  392. // `| [instance_dot_version] + '.' + [application_domain_name]`</br>
  393. // `| [instance_dot_version_dot_service] + '.' + [application_domain_name]`
  394. //
  395. // * `application_domain_name` = The domain name of the app, for
  396. // example <app-id>.appspot.com, which is associated with the
  397. // job's project ID.
  398. //
  399. // * `service =`
  400. // [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
  401. //
  402. // * `version =`
  403. // [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
  404. //
  405. // * `version_dot_service =`
  406. // [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.'
  407. // +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
  408. //
  409. // * `instance =`
  410. // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
  411. //
  412. // * `instance_dot_service =`
  413. // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
  414. // '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
  415. //
  416. // * `instance_dot_version =`
  417. // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
  418. // '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
  419. //
  420. // * `instance_dot_version_dot_service =`
  421. // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
  422. // '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
  423. // `+ '.' +`
  424. // [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
  425. //
  426. //
  427. // If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is
  428. // empty, then the job will be sent to the service which is the default
  429. // service when the job is attempted.
  430. //
  431. // If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is
  432. // empty, then the job will be sent to the version which is the default
  433. // version when the job is attempted.
  434. //
  435. // If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
  436. // empty, then the job will be sent to an instance which is available when the
  437. // job is attempted.
  438. //
  439. // If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service],
  440. // [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version], or
  441. // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
  442. // invalid, then the job will be sent to the default version of the default
  443. // service when the job is attempted.
  444. Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"`
  445. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  446. XXX_unrecognized []byte `json:"-"`
  447. XXX_sizecache int32 `json:"-"`
  448. }
  449. func (m *AppEngineRouting) Reset() { *m = AppEngineRouting{} }
  450. func (m *AppEngineRouting) String() string { return proto.CompactTextString(m) }
  451. func (*AppEngineRouting) ProtoMessage() {}
  452. func (*AppEngineRouting) Descriptor() ([]byte, []int) {
  453. return fileDescriptor_target_ccd5bd51b24cf4b9, []int{3}
  454. }
  455. func (m *AppEngineRouting) XXX_Unmarshal(b []byte) error {
  456. return xxx_messageInfo_AppEngineRouting.Unmarshal(m, b)
  457. }
  458. func (m *AppEngineRouting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  459. return xxx_messageInfo_AppEngineRouting.Marshal(b, m, deterministic)
  460. }
  461. func (dst *AppEngineRouting) XXX_Merge(src proto.Message) {
  462. xxx_messageInfo_AppEngineRouting.Merge(dst, src)
  463. }
  464. func (m *AppEngineRouting) XXX_Size() int {
  465. return xxx_messageInfo_AppEngineRouting.Size(m)
  466. }
  467. func (m *AppEngineRouting) XXX_DiscardUnknown() {
  468. xxx_messageInfo_AppEngineRouting.DiscardUnknown(m)
  469. }
  470. var xxx_messageInfo_AppEngineRouting proto.InternalMessageInfo
  471. func (m *AppEngineRouting) GetService() string {
  472. if m != nil {
  473. return m.Service
  474. }
  475. return ""
  476. }
  477. func (m *AppEngineRouting) GetVersion() string {
  478. if m != nil {
  479. return m.Version
  480. }
  481. return ""
  482. }
  483. func (m *AppEngineRouting) GetInstance() string {
  484. if m != nil {
  485. return m.Instance
  486. }
  487. return ""
  488. }
  489. func (m *AppEngineRouting) GetHost() string {
  490. if m != nil {
  491. return m.Host
  492. }
  493. return ""
  494. }
  495. func init() {
  496. proto.RegisterType((*HttpTarget)(nil), "google.cloud.scheduler.v1beta1.HttpTarget")
  497. proto.RegisterMapType((map[string]string)(nil), "google.cloud.scheduler.v1beta1.HttpTarget.HeadersEntry")
  498. proto.RegisterType((*AppEngineHttpTarget)(nil), "google.cloud.scheduler.v1beta1.AppEngineHttpTarget")
  499. proto.RegisterMapType((map[string]string)(nil), "google.cloud.scheduler.v1beta1.AppEngineHttpTarget.HeadersEntry")
  500. proto.RegisterType((*PubsubTarget)(nil), "google.cloud.scheduler.v1beta1.PubsubTarget")
  501. proto.RegisterMapType((map[string]string)(nil), "google.cloud.scheduler.v1beta1.PubsubTarget.AttributesEntry")
  502. proto.RegisterType((*AppEngineRouting)(nil), "google.cloud.scheduler.v1beta1.AppEngineRouting")
  503. proto.RegisterEnum("google.cloud.scheduler.v1beta1.HttpMethod", HttpMethod_name, HttpMethod_value)
  504. }
  505. func init() {
  506. proto.RegisterFile("google/cloud/scheduler/v1beta1/target.proto", fileDescriptor_target_ccd5bd51b24cf4b9)
  507. }
  508. var fileDescriptor_target_ccd5bd51b24cf4b9 = []byte{
  509. // 623 bytes of a gzipped FileDescriptorProto
  510. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xdb, 0x6e, 0xd3, 0x4c,
  511. 0x10, 0xfe, 0x1d, 0x27, 0x4d, 0x33, 0x89, 0x7e, 0xac, 0x05, 0x89, 0x10, 0x0e, 0x0a, 0xbd, 0x8a,
  512. 0x8a, 0x64, 0xd3, 0x72, 0x01, 0x2a, 0x20, 0x91, 0x36, 0xa6, 0xa9, 0xa0, 0x8d, 0x71, 0xdd, 0x9b,
  513. 0x0a, 0x61, 0xad, 0x93, 0xc5, 0x59, 0x35, 0xd9, 0xb5, 0xd6, 0x6b, 0x4b, 0x91, 0x78, 0x06, 0x24,
  514. 0x5e, 0x90, 0x67, 0x41, 0x5e, 0x1f, 0x88, 0x22, 0x41, 0x8b, 0xe0, 0x6e, 0x8e, 0xdf, 0xcc, 0x37,
  515. 0x9f, 0xbd, 0xf0, 0x24, 0xe4, 0x3c, 0x5c, 0x10, 0x6b, 0xba, 0xe0, 0xc9, 0xcc, 0x8a, 0xa7, 0x73,
  516. 0x32, 0x4b, 0x16, 0x44, 0x58, 0xe9, 0x5e, 0x40, 0x24, 0xde, 0xb3, 0x24, 0x16, 0x21, 0x91, 0x66,
  517. 0x24, 0xb8, 0xe4, 0xe8, 0x51, 0x5e, 0x6c, 0xaa, 0x62, 0xb3, 0x2a, 0x36, 0x8b, 0xe2, 0xde, 0x83,
  518. 0x02, 0x0c, 0x47, 0xd4, 0xc2, 0x8c, 0x71, 0x89, 0x25, 0xe5, 0x2c, 0xce, 0xbb, 0x7b, 0xf7, 0x8a,
  519. 0xac, 0xf2, 0x82, 0xe4, 0xb3, 0x85, 0xd9, 0x2a, 0x4f, 0xed, 0x7c, 0xad, 0x01, 0x8c, 0xa5, 0x8c,
  520. 0x3c, 0x35, 0x0d, 0x19, 0xa0, 0x27, 0x82, 0x76, 0xb5, 0xbe, 0x36, 0x68, 0xb9, 0x99, 0x89, 0xde,
  521. 0x41, 0x7b, 0x2e, 0x65, 0xe4, 0x2f, 0x89, 0x9c, 0xf3, 0x59, 0xb7, 0xd6, 0xd7, 0x06, 0xff, 0xef,
  522. 0xef, 0x9a, 0xbf, 0xdf, 0xc7, 0xcc, 0x20, 0x4f, 0x55, 0x87, 0x0b, 0xf3, 0xca, 0x46, 0x1f, 0xa0,
  523. 0x39, 0x27, 0x78, 0x46, 0x44, 0xdc, 0xd5, 0xfb, 0xfa, 0xa0, 0xbd, 0xff, 0xfc, 0x26, 0x40, 0xf9,
  524. 0x6e, 0xe6, 0x38, 0xef, 0xb4, 0x99, 0x14, 0x2b, 0xb7, 0xc4, 0x41, 0x08, 0xea, 0x01, 0x9f, 0xad,
  525. 0xba, 0xf5, 0xbe, 0x36, 0xe8, 0xb8, 0xca, 0xee, 0x1d, 0x40, 0x67, 0xbd, 0x38, 0x63, 0x75, 0x45,
  526. 0x56, 0x25, 0xab, 0x2b, 0xb2, 0x42, 0x77, 0xa0, 0x91, 0xe2, 0x45, 0x42, 0x14, 0x9f, 0x96, 0x9b,
  527. 0x3b, 0x07, 0xb5, 0x17, 0xda, 0xce, 0x37, 0x1d, 0x6e, 0x0f, 0xa3, 0xc8, 0x66, 0x21, 0x65, 0x64,
  528. 0xed, 0x32, 0x1b, 0x77, 0xd0, 0xfe, 0xea, 0x0e, 0x9f, 0x00, 0xe1, 0x28, 0xf2, 0x89, 0x1a, 0xe2,
  529. 0x0b, 0x9e, 0x48, 0xca, 0x42, 0xb5, 0x4b, 0x7b, 0xff, 0xe9, 0x75, 0x98, 0xd5, 0x76, 0x6e, 0xde,
  530. 0xe7, 0x1a, 0x78, 0x23, 0x82, 0x1e, 0x43, 0x47, 0x90, 0x05, 0x96, 0x34, 0x25, 0x7e, 0xa6, 0xa7,
  531. 0xae, 0x58, 0xb6, 0xcb, 0xd8, 0x85, 0xa0, 0xe8, 0xf2, 0xa7, 0x14, 0x75, 0x25, 0xc5, 0x9b, 0x1b,
  532. 0xcf, 0xbd, 0xb1, 0x26, 0x8d, 0x7f, 0xa4, 0xc9, 0x77, 0x0d, 0x3a, 0x4e, 0x12, 0xc4, 0x49, 0x50,
  533. 0x88, 0xf1, 0x10, 0x40, 0xf2, 0x88, 0x4e, 0x7d, 0x86, 0x97, 0xa4, 0xc0, 0x68, 0xa9, 0xc8, 0x19,
  534. 0x5e, 0x92, 0x6c, 0xfe, 0x0c, 0x4b, 0xac, 0x68, 0x77, 0x5c, 0x65, 0xa3, 0x8f, 0x00, 0x58, 0x4a,
  535. 0x41, 0x83, 0x44, 0x92, 0x92, 0xf2, 0xab, 0xeb, 0x28, 0xaf, 0x0f, 0x35, 0x87, 0x55, 0x7b, 0x4e,
  536. 0x77, 0x0d, 0xaf, 0xf7, 0x1a, 0x6e, 0x6d, 0xa4, 0xff, 0x88, 0x60, 0x0a, 0xc6, 0xa6, 0xaa, 0xa8,
  537. 0x0b, 0xcd, 0x98, 0x88, 0x94, 0x4e, 0x4b, 0x82, 0xa5, 0x9b, 0x65, 0x52, 0x22, 0x62, 0xca, 0x59,
  538. 0x81, 0x54, 0xba, 0xa8, 0x07, 0xdb, 0x94, 0xc5, 0x12, 0xb3, 0x29, 0x29, 0x34, 0xaf, 0xfc, 0xec,
  539. 0x28, 0x73, 0x1e, 0x4b, 0xf5, 0xa3, 0xb4, 0x5c, 0x65, 0xef, 0xc6, 0xf9, 0xcf, 0x5f, 0x7c, 0x95,
  540. 0xf7, 0xe1, 0xee, 0xd8, 0xf3, 0x1c, 0xff, 0xd4, 0xf6, 0xc6, 0x93, 0x91, 0x7f, 0x71, 0x76, 0xee,
  541. 0xd8, 0x47, 0x27, 0x6f, 0x4f, 0xec, 0x91, 0xf1, 0x1f, 0xda, 0x86, 0xba, 0x33, 0x39, 0xf7, 0x0c,
  542. 0x0d, 0x35, 0x41, 0x3f, 0xb6, 0x3d, 0xa3, 0x96, 0x85, 0xc6, 0xf6, 0x70, 0x64, 0xe8, 0x59, 0xc8,
  543. 0xb9, 0xf0, 0x8c, 0x3a, 0x02, 0xd8, 0x1a, 0xd9, 0xef, 0x6d, 0xcf, 0x36, 0x1a, 0xa8, 0x05, 0x0d,
  544. 0x67, 0xe8, 0x1d, 0x8d, 0x8d, 0x2d, 0xd4, 0x86, 0xe6, 0xc4, 0xf1, 0x4e, 0x26, 0x67, 0xe7, 0x46,
  545. 0xf3, 0xf0, 0x0b, 0xec, 0x4c, 0xf9, 0xf2, 0x9a, 0xd3, 0x1f, 0xb6, 0xf3, 0xab, 0x3b, 0xd9, 0x2b,
  546. 0xe5, 0x68, 0x97, 0xc7, 0x45, 0x79, 0xc8, 0x17, 0x98, 0x85, 0x26, 0x17, 0xa1, 0x15, 0x12, 0xa6,
  547. 0xde, 0x30, 0x2b, 0x4f, 0xe1, 0x88, 0xc6, 0xbf, 0x7a, 0x4c, 0x5f, 0x56, 0x91, 0x60, 0x4b, 0xf5,
  548. 0x3c, 0xfb, 0x11, 0x00, 0x00, 0xff, 0xff, 0x2b, 0xc4, 0x67, 0x05, 0x7f, 0x05, 0x00, 0x00,
  549. }