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.
 
 
 

2305 lines
94 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/genomics/v1alpha2/pipelines.proto
  3. package genomics // import "google.golang.org/genproto/googleapis/genomics/v1alpha2"
  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 empty "github.com/golang/protobuf/ptypes/empty"
  9. import timestamp "github.com/golang/protobuf/ptypes/timestamp"
  10. import _ "google.golang.org/genproto/googleapis/api/annotations"
  11. import longrunning "google.golang.org/genproto/googleapis/longrunning"
  12. import code "google.golang.org/genproto/googleapis/rpc/code"
  13. import (
  14. context "golang.org/x/net/context"
  15. grpc "google.golang.org/grpc"
  16. )
  17. // Reference imports to suppress errors if they are not otherwise used.
  18. var _ = proto.Marshal
  19. var _ = fmt.Errorf
  20. var _ = math.Inf
  21. // This is a compile-time assertion to ensure that this generated file
  22. // is compatible with the proto package it is being compiled against.
  23. // A compilation error at this line likely means your copy of the
  24. // proto package needs to be updated.
  25. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  26. // The types of disks that may be attached to VMs.
  27. type PipelineResources_Disk_Type int32
  28. const (
  29. // Default disk type. Use one of the other options below.
  30. PipelineResources_Disk_TYPE_UNSPECIFIED PipelineResources_Disk_Type = 0
  31. // Specifies a Google Compute Engine persistent hard disk. See
  32. // https://cloud.google.com/compute/docs/disks/#pdspecs for details.
  33. PipelineResources_Disk_PERSISTENT_HDD PipelineResources_Disk_Type = 1
  34. // Specifies a Google Compute Engine persistent solid-state disk. See
  35. // https://cloud.google.com/compute/docs/disks/#pdspecs for details.
  36. PipelineResources_Disk_PERSISTENT_SSD PipelineResources_Disk_Type = 2
  37. // Specifies a Google Compute Engine local SSD.
  38. // See https://cloud.google.com/compute/docs/disks/local-ssd for details.
  39. PipelineResources_Disk_LOCAL_SSD PipelineResources_Disk_Type = 3
  40. )
  41. var PipelineResources_Disk_Type_name = map[int32]string{
  42. 0: "TYPE_UNSPECIFIED",
  43. 1: "PERSISTENT_HDD",
  44. 2: "PERSISTENT_SSD",
  45. 3: "LOCAL_SSD",
  46. }
  47. var PipelineResources_Disk_Type_value = map[string]int32{
  48. "TYPE_UNSPECIFIED": 0,
  49. "PERSISTENT_HDD": 1,
  50. "PERSISTENT_SSD": 2,
  51. "LOCAL_SSD": 3,
  52. }
  53. func (x PipelineResources_Disk_Type) String() string {
  54. return proto.EnumName(PipelineResources_Disk_Type_name, int32(x))
  55. }
  56. func (PipelineResources_Disk_Type) EnumDescriptor() ([]byte, []int) {
  57. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{16, 0, 0}
  58. }
  59. // Describes a Compute Engine resource that is being managed by a running
  60. // [pipeline][google.genomics.v1alpha2.Pipeline].
  61. type ComputeEngine struct {
  62. // The instance on which the operation is running.
  63. InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"`
  64. // The availability zone in which the instance resides.
  65. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
  66. // The machine type of the instance.
  67. MachineType string `protobuf:"bytes,3,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
  68. // The names of the disks that were created for this pipeline.
  69. DiskNames []string `protobuf:"bytes,4,rep,name=disk_names,json=diskNames,proto3" json:"disk_names,omitempty"`
  70. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  71. XXX_unrecognized []byte `json:"-"`
  72. XXX_sizecache int32 `json:"-"`
  73. }
  74. func (m *ComputeEngine) Reset() { *m = ComputeEngine{} }
  75. func (m *ComputeEngine) String() string { return proto.CompactTextString(m) }
  76. func (*ComputeEngine) ProtoMessage() {}
  77. func (*ComputeEngine) Descriptor() ([]byte, []int) {
  78. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{0}
  79. }
  80. func (m *ComputeEngine) XXX_Unmarshal(b []byte) error {
  81. return xxx_messageInfo_ComputeEngine.Unmarshal(m, b)
  82. }
  83. func (m *ComputeEngine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  84. return xxx_messageInfo_ComputeEngine.Marshal(b, m, deterministic)
  85. }
  86. func (dst *ComputeEngine) XXX_Merge(src proto.Message) {
  87. xxx_messageInfo_ComputeEngine.Merge(dst, src)
  88. }
  89. func (m *ComputeEngine) XXX_Size() int {
  90. return xxx_messageInfo_ComputeEngine.Size(m)
  91. }
  92. func (m *ComputeEngine) XXX_DiscardUnknown() {
  93. xxx_messageInfo_ComputeEngine.DiscardUnknown(m)
  94. }
  95. var xxx_messageInfo_ComputeEngine proto.InternalMessageInfo
  96. func (m *ComputeEngine) GetInstanceName() string {
  97. if m != nil {
  98. return m.InstanceName
  99. }
  100. return ""
  101. }
  102. func (m *ComputeEngine) GetZone() string {
  103. if m != nil {
  104. return m.Zone
  105. }
  106. return ""
  107. }
  108. func (m *ComputeEngine) GetMachineType() string {
  109. if m != nil {
  110. return m.MachineType
  111. }
  112. return ""
  113. }
  114. func (m *ComputeEngine) GetDiskNames() []string {
  115. if m != nil {
  116. return m.DiskNames
  117. }
  118. return nil
  119. }
  120. // Runtime metadata that will be populated in the
  121. // [runtimeMetadata][google.genomics.v1.OperationMetadata.runtime_metadata]
  122. // field of the Operation associated with a RunPipeline execution.
  123. type RuntimeMetadata struct {
  124. // Execution information specific to Google Compute Engine.
  125. ComputeEngine *ComputeEngine `protobuf:"bytes,1,opt,name=compute_engine,json=computeEngine,proto3" json:"compute_engine,omitempty"`
  126. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  127. XXX_unrecognized []byte `json:"-"`
  128. XXX_sizecache int32 `json:"-"`
  129. }
  130. func (m *RuntimeMetadata) Reset() { *m = RuntimeMetadata{} }
  131. func (m *RuntimeMetadata) String() string { return proto.CompactTextString(m) }
  132. func (*RuntimeMetadata) ProtoMessage() {}
  133. func (*RuntimeMetadata) Descriptor() ([]byte, []int) {
  134. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{1}
  135. }
  136. func (m *RuntimeMetadata) XXX_Unmarshal(b []byte) error {
  137. return xxx_messageInfo_RuntimeMetadata.Unmarshal(m, b)
  138. }
  139. func (m *RuntimeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  140. return xxx_messageInfo_RuntimeMetadata.Marshal(b, m, deterministic)
  141. }
  142. func (dst *RuntimeMetadata) XXX_Merge(src proto.Message) {
  143. xxx_messageInfo_RuntimeMetadata.Merge(dst, src)
  144. }
  145. func (m *RuntimeMetadata) XXX_Size() int {
  146. return xxx_messageInfo_RuntimeMetadata.Size(m)
  147. }
  148. func (m *RuntimeMetadata) XXX_DiscardUnknown() {
  149. xxx_messageInfo_RuntimeMetadata.DiscardUnknown(m)
  150. }
  151. var xxx_messageInfo_RuntimeMetadata proto.InternalMessageInfo
  152. func (m *RuntimeMetadata) GetComputeEngine() *ComputeEngine {
  153. if m != nil {
  154. return m.ComputeEngine
  155. }
  156. return nil
  157. }
  158. // The pipeline object. Represents a transformation from a set of input
  159. // parameters to a set of output parameters. The transformation is defined
  160. // as a docker image and command to run within that image. Each pipeline
  161. // is run on a Google Compute Engine VM. A pipeline can be created with the
  162. // `create` method and then later run with the `run` method, or a pipeline can
  163. // be defined and run all at once with the `run` method.
  164. type Pipeline struct {
  165. // Required. The project in which to create the pipeline. The caller must have
  166. // WRITE access.
  167. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  168. // Required. A user specified pipeline name that does not have to be unique.
  169. // This name can be used for filtering Pipelines in ListPipelines.
  170. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  171. // User-specified description.
  172. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
  173. // Input parameters of the pipeline.
  174. InputParameters []*PipelineParameter `protobuf:"bytes,8,rep,name=input_parameters,json=inputParameters,proto3" json:"input_parameters,omitempty"`
  175. // Output parameters of the pipeline.
  176. OutputParameters []*PipelineParameter `protobuf:"bytes,9,rep,name=output_parameters,json=outputParameters,proto3" json:"output_parameters,omitempty"`
  177. // Required. The executor indicates in which environment the pipeline runs.
  178. //
  179. // Types that are valid to be assigned to Executor:
  180. // *Pipeline_Docker
  181. Executor isPipeline_Executor `protobuf_oneof:"executor"`
  182. // Required. Specifies resource requirements for the pipeline run.
  183. // Required fields:
  184. //
  185. // *
  186. // [minimumCpuCores][google.genomics.v1alpha2.PipelineResources.minimum_cpu_cores]
  187. //
  188. // *
  189. // [minimumRamGb][google.genomics.v1alpha2.PipelineResources.minimum_ram_gb]
  190. Resources *PipelineResources `protobuf:"bytes,6,opt,name=resources,proto3" json:"resources,omitempty"`
  191. // Unique pipeline id that is generated by the service when CreatePipeline
  192. // is called. Cannot be specified in the Pipeline used in the
  193. // CreatePipelineRequest, and will be populated in the response to
  194. // CreatePipeline and all subsequent Get and List calls. Indicates that the
  195. // service has registered this pipeline.
  196. PipelineId string `protobuf:"bytes,7,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"`
  197. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  198. XXX_unrecognized []byte `json:"-"`
  199. XXX_sizecache int32 `json:"-"`
  200. }
  201. func (m *Pipeline) Reset() { *m = Pipeline{} }
  202. func (m *Pipeline) String() string { return proto.CompactTextString(m) }
  203. func (*Pipeline) ProtoMessage() {}
  204. func (*Pipeline) Descriptor() ([]byte, []int) {
  205. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{2}
  206. }
  207. func (m *Pipeline) XXX_Unmarshal(b []byte) error {
  208. return xxx_messageInfo_Pipeline.Unmarshal(m, b)
  209. }
  210. func (m *Pipeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  211. return xxx_messageInfo_Pipeline.Marshal(b, m, deterministic)
  212. }
  213. func (dst *Pipeline) XXX_Merge(src proto.Message) {
  214. xxx_messageInfo_Pipeline.Merge(dst, src)
  215. }
  216. func (m *Pipeline) XXX_Size() int {
  217. return xxx_messageInfo_Pipeline.Size(m)
  218. }
  219. func (m *Pipeline) XXX_DiscardUnknown() {
  220. xxx_messageInfo_Pipeline.DiscardUnknown(m)
  221. }
  222. var xxx_messageInfo_Pipeline proto.InternalMessageInfo
  223. func (m *Pipeline) GetProjectId() string {
  224. if m != nil {
  225. return m.ProjectId
  226. }
  227. return ""
  228. }
  229. func (m *Pipeline) GetName() string {
  230. if m != nil {
  231. return m.Name
  232. }
  233. return ""
  234. }
  235. func (m *Pipeline) GetDescription() string {
  236. if m != nil {
  237. return m.Description
  238. }
  239. return ""
  240. }
  241. func (m *Pipeline) GetInputParameters() []*PipelineParameter {
  242. if m != nil {
  243. return m.InputParameters
  244. }
  245. return nil
  246. }
  247. func (m *Pipeline) GetOutputParameters() []*PipelineParameter {
  248. if m != nil {
  249. return m.OutputParameters
  250. }
  251. return nil
  252. }
  253. type isPipeline_Executor interface {
  254. isPipeline_Executor()
  255. }
  256. type Pipeline_Docker struct {
  257. Docker *DockerExecutor `protobuf:"bytes,5,opt,name=docker,proto3,oneof"`
  258. }
  259. func (*Pipeline_Docker) isPipeline_Executor() {}
  260. func (m *Pipeline) GetExecutor() isPipeline_Executor {
  261. if m != nil {
  262. return m.Executor
  263. }
  264. return nil
  265. }
  266. func (m *Pipeline) GetDocker() *DockerExecutor {
  267. if x, ok := m.GetExecutor().(*Pipeline_Docker); ok {
  268. return x.Docker
  269. }
  270. return nil
  271. }
  272. func (m *Pipeline) GetResources() *PipelineResources {
  273. if m != nil {
  274. return m.Resources
  275. }
  276. return nil
  277. }
  278. func (m *Pipeline) GetPipelineId() string {
  279. if m != nil {
  280. return m.PipelineId
  281. }
  282. return ""
  283. }
  284. // XXX_OneofFuncs is for the internal use of the proto package.
  285. func (*Pipeline) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  286. return _Pipeline_OneofMarshaler, _Pipeline_OneofUnmarshaler, _Pipeline_OneofSizer, []interface{}{
  287. (*Pipeline_Docker)(nil),
  288. }
  289. }
  290. func _Pipeline_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  291. m := msg.(*Pipeline)
  292. // executor
  293. switch x := m.Executor.(type) {
  294. case *Pipeline_Docker:
  295. b.EncodeVarint(5<<3 | proto.WireBytes)
  296. if err := b.EncodeMessage(x.Docker); err != nil {
  297. return err
  298. }
  299. case nil:
  300. default:
  301. return fmt.Errorf("Pipeline.Executor has unexpected type %T", x)
  302. }
  303. return nil
  304. }
  305. func _Pipeline_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  306. m := msg.(*Pipeline)
  307. switch tag {
  308. case 5: // executor.docker
  309. if wire != proto.WireBytes {
  310. return true, proto.ErrInternalBadWireType
  311. }
  312. msg := new(DockerExecutor)
  313. err := b.DecodeMessage(msg)
  314. m.Executor = &Pipeline_Docker{msg}
  315. return true, err
  316. default:
  317. return false, nil
  318. }
  319. }
  320. func _Pipeline_OneofSizer(msg proto.Message) (n int) {
  321. m := msg.(*Pipeline)
  322. // executor
  323. switch x := m.Executor.(type) {
  324. case *Pipeline_Docker:
  325. s := proto.Size(x.Docker)
  326. n += 1 // tag and wire
  327. n += proto.SizeVarint(uint64(s))
  328. n += s
  329. case nil:
  330. default:
  331. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  332. }
  333. return n
  334. }
  335. // The request to create a pipeline. The pipeline field here should not have
  336. // `pipelineId` populated, as that will be populated by the server.
  337. type CreatePipelineRequest struct {
  338. // The pipeline to create. Should not have `pipelineId` populated.
  339. Pipeline *Pipeline `protobuf:"bytes,1,opt,name=pipeline,proto3" json:"pipeline,omitempty"`
  340. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  341. XXX_unrecognized []byte `json:"-"`
  342. XXX_sizecache int32 `json:"-"`
  343. }
  344. func (m *CreatePipelineRequest) Reset() { *m = CreatePipelineRequest{} }
  345. func (m *CreatePipelineRequest) String() string { return proto.CompactTextString(m) }
  346. func (*CreatePipelineRequest) ProtoMessage() {}
  347. func (*CreatePipelineRequest) Descriptor() ([]byte, []int) {
  348. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{3}
  349. }
  350. func (m *CreatePipelineRequest) XXX_Unmarshal(b []byte) error {
  351. return xxx_messageInfo_CreatePipelineRequest.Unmarshal(m, b)
  352. }
  353. func (m *CreatePipelineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  354. return xxx_messageInfo_CreatePipelineRequest.Marshal(b, m, deterministic)
  355. }
  356. func (dst *CreatePipelineRequest) XXX_Merge(src proto.Message) {
  357. xxx_messageInfo_CreatePipelineRequest.Merge(dst, src)
  358. }
  359. func (m *CreatePipelineRequest) XXX_Size() int {
  360. return xxx_messageInfo_CreatePipelineRequest.Size(m)
  361. }
  362. func (m *CreatePipelineRequest) XXX_DiscardUnknown() {
  363. xxx_messageInfo_CreatePipelineRequest.DiscardUnknown(m)
  364. }
  365. var xxx_messageInfo_CreatePipelineRequest proto.InternalMessageInfo
  366. func (m *CreatePipelineRequest) GetPipeline() *Pipeline {
  367. if m != nil {
  368. return m.Pipeline
  369. }
  370. return nil
  371. }
  372. // The pipeline run arguments.
  373. type RunPipelineArgs struct {
  374. // Required. The project in which to run the pipeline. The caller must have
  375. // WRITER access to all Google Cloud services and resources (e.g. Google
  376. // Compute Engine) will be used.
  377. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  378. // Pipeline input arguments; keys are defined in the pipeline documentation.
  379. // All input parameters that do not have default values must be specified.
  380. // If parameters with defaults are specified here, the defaults will be
  381. // overridden.
  382. Inputs map[string]string `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  383. // Pipeline output arguments; keys are defined in the pipeline
  384. // documentation. All output parameters of without default values
  385. // must be specified. If parameters with defaults are specified
  386. // here, the defaults will be overridden.
  387. Outputs map[string]string `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  388. // The Google Cloud Service Account that will be used to access data and
  389. // services. By default, the compute service account associated with
  390. // `projectId` is used.
  391. ServiceAccount *ServiceAccount `protobuf:"bytes,4,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
  392. // This field is deprecated. Use `labels` instead. Client-specified pipeline
  393. // operation identifier.
  394. ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
  395. // Specifies resource requirements/overrides for the pipeline run.
  396. Resources *PipelineResources `protobuf:"bytes,6,opt,name=resources,proto3" json:"resources,omitempty"`
  397. // Required. Logging options. Used by the service to communicate results
  398. // to the user.
  399. Logging *LoggingOptions `protobuf:"bytes,7,opt,name=logging,proto3" json:"logging,omitempty"`
  400. // How long to keep the VM up after a failure (for example docker command
  401. // failed, copying input or output files failed, etc). While the VM is up, one
  402. // can ssh into the VM to debug. Default is 0; maximum allowed value is 1 day.
  403. KeepVmAliveOnFailureDuration *duration.Duration `protobuf:"bytes,8,opt,name=keep_vm_alive_on_failure_duration,json=keepVmAliveOnFailureDuration,proto3" json:"keep_vm_alive_on_failure_duration,omitempty"`
  404. // Labels to apply to this pipeline run. Labels will also be applied to
  405. // compute resources (VM, disks) created by this pipeline run. When listing
  406. // operations, operations can [filtered by labels]
  407. // [google.longrunning.ListOperationsRequest.filter].
  408. // Label keys may not be empty; label values may be empty. Non-empty labels
  409. // must be 1-63 characters long, and comply with [RFC1035]
  410. // (https://www.ietf.org/rfc/rfc1035.txt).
  411. // Specifically, the name must be 1-63 characters long and match the regular
  412. // expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
  413. // character must be a lowercase letter, and all following characters must be
  414. // a dash, lowercase letter, or digit, except the last character, which cannot
  415. // be a dash.
  416. Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  417. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  418. XXX_unrecognized []byte `json:"-"`
  419. XXX_sizecache int32 `json:"-"`
  420. }
  421. func (m *RunPipelineArgs) Reset() { *m = RunPipelineArgs{} }
  422. func (m *RunPipelineArgs) String() string { return proto.CompactTextString(m) }
  423. func (*RunPipelineArgs) ProtoMessage() {}
  424. func (*RunPipelineArgs) Descriptor() ([]byte, []int) {
  425. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{4}
  426. }
  427. func (m *RunPipelineArgs) XXX_Unmarshal(b []byte) error {
  428. return xxx_messageInfo_RunPipelineArgs.Unmarshal(m, b)
  429. }
  430. func (m *RunPipelineArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  431. return xxx_messageInfo_RunPipelineArgs.Marshal(b, m, deterministic)
  432. }
  433. func (dst *RunPipelineArgs) XXX_Merge(src proto.Message) {
  434. xxx_messageInfo_RunPipelineArgs.Merge(dst, src)
  435. }
  436. func (m *RunPipelineArgs) XXX_Size() int {
  437. return xxx_messageInfo_RunPipelineArgs.Size(m)
  438. }
  439. func (m *RunPipelineArgs) XXX_DiscardUnknown() {
  440. xxx_messageInfo_RunPipelineArgs.DiscardUnknown(m)
  441. }
  442. var xxx_messageInfo_RunPipelineArgs proto.InternalMessageInfo
  443. func (m *RunPipelineArgs) GetProjectId() string {
  444. if m != nil {
  445. return m.ProjectId
  446. }
  447. return ""
  448. }
  449. func (m *RunPipelineArgs) GetInputs() map[string]string {
  450. if m != nil {
  451. return m.Inputs
  452. }
  453. return nil
  454. }
  455. func (m *RunPipelineArgs) GetOutputs() map[string]string {
  456. if m != nil {
  457. return m.Outputs
  458. }
  459. return nil
  460. }
  461. func (m *RunPipelineArgs) GetServiceAccount() *ServiceAccount {
  462. if m != nil {
  463. return m.ServiceAccount
  464. }
  465. return nil
  466. }
  467. func (m *RunPipelineArgs) GetClientId() string {
  468. if m != nil {
  469. return m.ClientId
  470. }
  471. return ""
  472. }
  473. func (m *RunPipelineArgs) GetResources() *PipelineResources {
  474. if m != nil {
  475. return m.Resources
  476. }
  477. return nil
  478. }
  479. func (m *RunPipelineArgs) GetLogging() *LoggingOptions {
  480. if m != nil {
  481. return m.Logging
  482. }
  483. return nil
  484. }
  485. func (m *RunPipelineArgs) GetKeepVmAliveOnFailureDuration() *duration.Duration {
  486. if m != nil {
  487. return m.KeepVmAliveOnFailureDuration
  488. }
  489. return nil
  490. }
  491. func (m *RunPipelineArgs) GetLabels() map[string]string {
  492. if m != nil {
  493. return m.Labels
  494. }
  495. return nil
  496. }
  497. // The request to run a pipeline. If `pipelineId` is specified, it
  498. // refers to a saved pipeline created with CreatePipeline and set as
  499. // the `pipelineId` of the returned Pipeline object. If
  500. // `ephemeralPipeline` is specified, that pipeline is run once
  501. // with the given args and not saved. It is an error to specify both
  502. // `pipelineId` and `ephemeralPipeline`. `pipelineArgs`
  503. // must be specified.
  504. type RunPipelineRequest struct {
  505. // Types that are valid to be assigned to Pipeline:
  506. // *RunPipelineRequest_PipelineId
  507. // *RunPipelineRequest_EphemeralPipeline
  508. Pipeline isRunPipelineRequest_Pipeline `protobuf_oneof:"pipeline"`
  509. // The arguments to use when running this pipeline.
  510. PipelineArgs *RunPipelineArgs `protobuf:"bytes,3,opt,name=pipeline_args,json=pipelineArgs,proto3" json:"pipeline_args,omitempty"`
  511. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  512. XXX_unrecognized []byte `json:"-"`
  513. XXX_sizecache int32 `json:"-"`
  514. }
  515. func (m *RunPipelineRequest) Reset() { *m = RunPipelineRequest{} }
  516. func (m *RunPipelineRequest) String() string { return proto.CompactTextString(m) }
  517. func (*RunPipelineRequest) ProtoMessage() {}
  518. func (*RunPipelineRequest) Descriptor() ([]byte, []int) {
  519. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{5}
  520. }
  521. func (m *RunPipelineRequest) XXX_Unmarshal(b []byte) error {
  522. return xxx_messageInfo_RunPipelineRequest.Unmarshal(m, b)
  523. }
  524. func (m *RunPipelineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  525. return xxx_messageInfo_RunPipelineRequest.Marshal(b, m, deterministic)
  526. }
  527. func (dst *RunPipelineRequest) XXX_Merge(src proto.Message) {
  528. xxx_messageInfo_RunPipelineRequest.Merge(dst, src)
  529. }
  530. func (m *RunPipelineRequest) XXX_Size() int {
  531. return xxx_messageInfo_RunPipelineRequest.Size(m)
  532. }
  533. func (m *RunPipelineRequest) XXX_DiscardUnknown() {
  534. xxx_messageInfo_RunPipelineRequest.DiscardUnknown(m)
  535. }
  536. var xxx_messageInfo_RunPipelineRequest proto.InternalMessageInfo
  537. type isRunPipelineRequest_Pipeline interface {
  538. isRunPipelineRequest_Pipeline()
  539. }
  540. type RunPipelineRequest_PipelineId struct {
  541. PipelineId string `protobuf:"bytes,1,opt,name=pipeline_id,json=pipelineId,proto3,oneof"`
  542. }
  543. type RunPipelineRequest_EphemeralPipeline struct {
  544. EphemeralPipeline *Pipeline `protobuf:"bytes,2,opt,name=ephemeral_pipeline,json=ephemeralPipeline,proto3,oneof"`
  545. }
  546. func (*RunPipelineRequest_PipelineId) isRunPipelineRequest_Pipeline() {}
  547. func (*RunPipelineRequest_EphemeralPipeline) isRunPipelineRequest_Pipeline() {}
  548. func (m *RunPipelineRequest) GetPipeline() isRunPipelineRequest_Pipeline {
  549. if m != nil {
  550. return m.Pipeline
  551. }
  552. return nil
  553. }
  554. func (m *RunPipelineRequest) GetPipelineId() string {
  555. if x, ok := m.GetPipeline().(*RunPipelineRequest_PipelineId); ok {
  556. return x.PipelineId
  557. }
  558. return ""
  559. }
  560. func (m *RunPipelineRequest) GetEphemeralPipeline() *Pipeline {
  561. if x, ok := m.GetPipeline().(*RunPipelineRequest_EphemeralPipeline); ok {
  562. return x.EphemeralPipeline
  563. }
  564. return nil
  565. }
  566. func (m *RunPipelineRequest) GetPipelineArgs() *RunPipelineArgs {
  567. if m != nil {
  568. return m.PipelineArgs
  569. }
  570. return nil
  571. }
  572. // XXX_OneofFuncs is for the internal use of the proto package.
  573. func (*RunPipelineRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  574. return _RunPipelineRequest_OneofMarshaler, _RunPipelineRequest_OneofUnmarshaler, _RunPipelineRequest_OneofSizer, []interface{}{
  575. (*RunPipelineRequest_PipelineId)(nil),
  576. (*RunPipelineRequest_EphemeralPipeline)(nil),
  577. }
  578. }
  579. func _RunPipelineRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  580. m := msg.(*RunPipelineRequest)
  581. // pipeline
  582. switch x := m.Pipeline.(type) {
  583. case *RunPipelineRequest_PipelineId:
  584. b.EncodeVarint(1<<3 | proto.WireBytes)
  585. b.EncodeStringBytes(x.PipelineId)
  586. case *RunPipelineRequest_EphemeralPipeline:
  587. b.EncodeVarint(2<<3 | proto.WireBytes)
  588. if err := b.EncodeMessage(x.EphemeralPipeline); err != nil {
  589. return err
  590. }
  591. case nil:
  592. default:
  593. return fmt.Errorf("RunPipelineRequest.Pipeline has unexpected type %T", x)
  594. }
  595. return nil
  596. }
  597. func _RunPipelineRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  598. m := msg.(*RunPipelineRequest)
  599. switch tag {
  600. case 1: // pipeline.pipeline_id
  601. if wire != proto.WireBytes {
  602. return true, proto.ErrInternalBadWireType
  603. }
  604. x, err := b.DecodeStringBytes()
  605. m.Pipeline = &RunPipelineRequest_PipelineId{x}
  606. return true, err
  607. case 2: // pipeline.ephemeral_pipeline
  608. if wire != proto.WireBytes {
  609. return true, proto.ErrInternalBadWireType
  610. }
  611. msg := new(Pipeline)
  612. err := b.DecodeMessage(msg)
  613. m.Pipeline = &RunPipelineRequest_EphemeralPipeline{msg}
  614. return true, err
  615. default:
  616. return false, nil
  617. }
  618. }
  619. func _RunPipelineRequest_OneofSizer(msg proto.Message) (n int) {
  620. m := msg.(*RunPipelineRequest)
  621. // pipeline
  622. switch x := m.Pipeline.(type) {
  623. case *RunPipelineRequest_PipelineId:
  624. n += 1 // tag and wire
  625. n += proto.SizeVarint(uint64(len(x.PipelineId)))
  626. n += len(x.PipelineId)
  627. case *RunPipelineRequest_EphemeralPipeline:
  628. s := proto.Size(x.EphemeralPipeline)
  629. n += 1 // tag and wire
  630. n += proto.SizeVarint(uint64(s))
  631. n += s
  632. case nil:
  633. default:
  634. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  635. }
  636. return n
  637. }
  638. // A request to get a saved pipeline by id.
  639. type GetPipelineRequest struct {
  640. // Caller must have READ access to the project in which this pipeline
  641. // is defined.
  642. PipelineId string `protobuf:"bytes,1,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"`
  643. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  644. XXX_unrecognized []byte `json:"-"`
  645. XXX_sizecache int32 `json:"-"`
  646. }
  647. func (m *GetPipelineRequest) Reset() { *m = GetPipelineRequest{} }
  648. func (m *GetPipelineRequest) String() string { return proto.CompactTextString(m) }
  649. func (*GetPipelineRequest) ProtoMessage() {}
  650. func (*GetPipelineRequest) Descriptor() ([]byte, []int) {
  651. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{6}
  652. }
  653. func (m *GetPipelineRequest) XXX_Unmarshal(b []byte) error {
  654. return xxx_messageInfo_GetPipelineRequest.Unmarshal(m, b)
  655. }
  656. func (m *GetPipelineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  657. return xxx_messageInfo_GetPipelineRequest.Marshal(b, m, deterministic)
  658. }
  659. func (dst *GetPipelineRequest) XXX_Merge(src proto.Message) {
  660. xxx_messageInfo_GetPipelineRequest.Merge(dst, src)
  661. }
  662. func (m *GetPipelineRequest) XXX_Size() int {
  663. return xxx_messageInfo_GetPipelineRequest.Size(m)
  664. }
  665. func (m *GetPipelineRequest) XXX_DiscardUnknown() {
  666. xxx_messageInfo_GetPipelineRequest.DiscardUnknown(m)
  667. }
  668. var xxx_messageInfo_GetPipelineRequest proto.InternalMessageInfo
  669. func (m *GetPipelineRequest) GetPipelineId() string {
  670. if m != nil {
  671. return m.PipelineId
  672. }
  673. return ""
  674. }
  675. // A request to list pipelines in a given project. Pipelines can be
  676. // filtered by name using `namePrefix`: all pipelines with names that
  677. // begin with `namePrefix` will be returned. Uses standard pagination:
  678. // `pageSize` indicates how many pipelines to return, and
  679. // `pageToken` comes from a previous ListPipelinesResponse to
  680. // indicate offset.
  681. type ListPipelinesRequest struct {
  682. // Required. The name of the project to search for pipelines. Caller
  683. // must have READ access to this project.
  684. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  685. // Pipelines with names that match this prefix should be
  686. // returned. If unspecified, all pipelines in the project, up to
  687. // `pageSize`, will be returned.
  688. NamePrefix string `protobuf:"bytes,2,opt,name=name_prefix,json=namePrefix,proto3" json:"name_prefix,omitempty"`
  689. // Number of pipelines to return at once. Defaults to 256, and max
  690. // is 2048.
  691. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  692. // Token to use to indicate where to start getting results.
  693. // If unspecified, returns the first page of results.
  694. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  695. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  696. XXX_unrecognized []byte `json:"-"`
  697. XXX_sizecache int32 `json:"-"`
  698. }
  699. func (m *ListPipelinesRequest) Reset() { *m = ListPipelinesRequest{} }
  700. func (m *ListPipelinesRequest) String() string { return proto.CompactTextString(m) }
  701. func (*ListPipelinesRequest) ProtoMessage() {}
  702. func (*ListPipelinesRequest) Descriptor() ([]byte, []int) {
  703. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{7}
  704. }
  705. func (m *ListPipelinesRequest) XXX_Unmarshal(b []byte) error {
  706. return xxx_messageInfo_ListPipelinesRequest.Unmarshal(m, b)
  707. }
  708. func (m *ListPipelinesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  709. return xxx_messageInfo_ListPipelinesRequest.Marshal(b, m, deterministic)
  710. }
  711. func (dst *ListPipelinesRequest) XXX_Merge(src proto.Message) {
  712. xxx_messageInfo_ListPipelinesRequest.Merge(dst, src)
  713. }
  714. func (m *ListPipelinesRequest) XXX_Size() int {
  715. return xxx_messageInfo_ListPipelinesRequest.Size(m)
  716. }
  717. func (m *ListPipelinesRequest) XXX_DiscardUnknown() {
  718. xxx_messageInfo_ListPipelinesRequest.DiscardUnknown(m)
  719. }
  720. var xxx_messageInfo_ListPipelinesRequest proto.InternalMessageInfo
  721. func (m *ListPipelinesRequest) GetProjectId() string {
  722. if m != nil {
  723. return m.ProjectId
  724. }
  725. return ""
  726. }
  727. func (m *ListPipelinesRequest) GetNamePrefix() string {
  728. if m != nil {
  729. return m.NamePrefix
  730. }
  731. return ""
  732. }
  733. func (m *ListPipelinesRequest) GetPageSize() int32 {
  734. if m != nil {
  735. return m.PageSize
  736. }
  737. return 0
  738. }
  739. func (m *ListPipelinesRequest) GetPageToken() string {
  740. if m != nil {
  741. return m.PageToken
  742. }
  743. return ""
  744. }
  745. // The response of ListPipelines. Contains at most `pageSize`
  746. // pipelines. If it contains `pageSize` pipelines, and more pipelines
  747. // exist, then `nextPageToken` will be populated and should be
  748. // used as the `pageToken` argument to a subsequent ListPipelines
  749. // request.
  750. type ListPipelinesResponse struct {
  751. // The matched pipelines.
  752. Pipelines []*Pipeline `protobuf:"bytes,1,rep,name=pipelines,proto3" json:"pipelines,omitempty"`
  753. // The token to use to get the next page of results.
  754. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  755. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  756. XXX_unrecognized []byte `json:"-"`
  757. XXX_sizecache int32 `json:"-"`
  758. }
  759. func (m *ListPipelinesResponse) Reset() { *m = ListPipelinesResponse{} }
  760. func (m *ListPipelinesResponse) String() string { return proto.CompactTextString(m) }
  761. func (*ListPipelinesResponse) ProtoMessage() {}
  762. func (*ListPipelinesResponse) Descriptor() ([]byte, []int) {
  763. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{8}
  764. }
  765. func (m *ListPipelinesResponse) XXX_Unmarshal(b []byte) error {
  766. return xxx_messageInfo_ListPipelinesResponse.Unmarshal(m, b)
  767. }
  768. func (m *ListPipelinesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  769. return xxx_messageInfo_ListPipelinesResponse.Marshal(b, m, deterministic)
  770. }
  771. func (dst *ListPipelinesResponse) XXX_Merge(src proto.Message) {
  772. xxx_messageInfo_ListPipelinesResponse.Merge(dst, src)
  773. }
  774. func (m *ListPipelinesResponse) XXX_Size() int {
  775. return xxx_messageInfo_ListPipelinesResponse.Size(m)
  776. }
  777. func (m *ListPipelinesResponse) XXX_DiscardUnknown() {
  778. xxx_messageInfo_ListPipelinesResponse.DiscardUnknown(m)
  779. }
  780. var xxx_messageInfo_ListPipelinesResponse proto.InternalMessageInfo
  781. func (m *ListPipelinesResponse) GetPipelines() []*Pipeline {
  782. if m != nil {
  783. return m.Pipelines
  784. }
  785. return nil
  786. }
  787. func (m *ListPipelinesResponse) GetNextPageToken() string {
  788. if m != nil {
  789. return m.NextPageToken
  790. }
  791. return ""
  792. }
  793. // The request to delete a saved pipeline by ID.
  794. type DeletePipelineRequest struct {
  795. // Caller must have WRITE access to the project in which this pipeline
  796. // is defined.
  797. PipelineId string `protobuf:"bytes,1,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"`
  798. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  799. XXX_unrecognized []byte `json:"-"`
  800. XXX_sizecache int32 `json:"-"`
  801. }
  802. func (m *DeletePipelineRequest) Reset() { *m = DeletePipelineRequest{} }
  803. func (m *DeletePipelineRequest) String() string { return proto.CompactTextString(m) }
  804. func (*DeletePipelineRequest) ProtoMessage() {}
  805. func (*DeletePipelineRequest) Descriptor() ([]byte, []int) {
  806. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{9}
  807. }
  808. func (m *DeletePipelineRequest) XXX_Unmarshal(b []byte) error {
  809. return xxx_messageInfo_DeletePipelineRequest.Unmarshal(m, b)
  810. }
  811. func (m *DeletePipelineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  812. return xxx_messageInfo_DeletePipelineRequest.Marshal(b, m, deterministic)
  813. }
  814. func (dst *DeletePipelineRequest) XXX_Merge(src proto.Message) {
  815. xxx_messageInfo_DeletePipelineRequest.Merge(dst, src)
  816. }
  817. func (m *DeletePipelineRequest) XXX_Size() int {
  818. return xxx_messageInfo_DeletePipelineRequest.Size(m)
  819. }
  820. func (m *DeletePipelineRequest) XXX_DiscardUnknown() {
  821. xxx_messageInfo_DeletePipelineRequest.DiscardUnknown(m)
  822. }
  823. var xxx_messageInfo_DeletePipelineRequest proto.InternalMessageInfo
  824. func (m *DeletePipelineRequest) GetPipelineId() string {
  825. if m != nil {
  826. return m.PipelineId
  827. }
  828. return ""
  829. }
  830. // Request to get controller configuation. Should only be used
  831. // by VMs created by the Pipelines Service and not by end users.
  832. type GetControllerConfigRequest struct {
  833. // The operation to retrieve controller configuration for.
  834. OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
  835. ValidationToken uint64 `protobuf:"varint,2,opt,name=validation_token,json=validationToken,proto3" json:"validation_token,omitempty"`
  836. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  837. XXX_unrecognized []byte `json:"-"`
  838. XXX_sizecache int32 `json:"-"`
  839. }
  840. func (m *GetControllerConfigRequest) Reset() { *m = GetControllerConfigRequest{} }
  841. func (m *GetControllerConfigRequest) String() string { return proto.CompactTextString(m) }
  842. func (*GetControllerConfigRequest) ProtoMessage() {}
  843. func (*GetControllerConfigRequest) Descriptor() ([]byte, []int) {
  844. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{10}
  845. }
  846. func (m *GetControllerConfigRequest) XXX_Unmarshal(b []byte) error {
  847. return xxx_messageInfo_GetControllerConfigRequest.Unmarshal(m, b)
  848. }
  849. func (m *GetControllerConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  850. return xxx_messageInfo_GetControllerConfigRequest.Marshal(b, m, deterministic)
  851. }
  852. func (dst *GetControllerConfigRequest) XXX_Merge(src proto.Message) {
  853. xxx_messageInfo_GetControllerConfigRequest.Merge(dst, src)
  854. }
  855. func (m *GetControllerConfigRequest) XXX_Size() int {
  856. return xxx_messageInfo_GetControllerConfigRequest.Size(m)
  857. }
  858. func (m *GetControllerConfigRequest) XXX_DiscardUnknown() {
  859. xxx_messageInfo_GetControllerConfigRequest.DiscardUnknown(m)
  860. }
  861. var xxx_messageInfo_GetControllerConfigRequest proto.InternalMessageInfo
  862. func (m *GetControllerConfigRequest) GetOperationId() string {
  863. if m != nil {
  864. return m.OperationId
  865. }
  866. return ""
  867. }
  868. func (m *GetControllerConfigRequest) GetValidationToken() uint64 {
  869. if m != nil {
  870. return m.ValidationToken
  871. }
  872. return 0
  873. }
  874. // Stores the information that the controller will fetch from the
  875. // server in order to run. Should only be used by VMs created by the
  876. // Pipelines Service and not by end users.
  877. type ControllerConfig struct {
  878. Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
  879. Cmd string `protobuf:"bytes,2,opt,name=cmd,proto3" json:"cmd,omitempty"`
  880. GcsLogPath string `protobuf:"bytes,3,opt,name=gcs_log_path,json=gcsLogPath,proto3" json:"gcs_log_path,omitempty"`
  881. MachineType string `protobuf:"bytes,4,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
  882. Vars map[string]string `protobuf:"bytes,5,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  883. Disks map[string]string `protobuf:"bytes,6,rep,name=disks,proto3" json:"disks,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  884. GcsSources map[string]*ControllerConfig_RepeatedString `protobuf:"bytes,7,rep,name=gcs_sources,json=gcsSources,proto3" json:"gcs_sources,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  885. GcsSinks map[string]*ControllerConfig_RepeatedString `protobuf:"bytes,8,rep,name=gcs_sinks,json=gcsSinks,proto3" json:"gcs_sinks,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  886. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  887. XXX_unrecognized []byte `json:"-"`
  888. XXX_sizecache int32 `json:"-"`
  889. }
  890. func (m *ControllerConfig) Reset() { *m = ControllerConfig{} }
  891. func (m *ControllerConfig) String() string { return proto.CompactTextString(m) }
  892. func (*ControllerConfig) ProtoMessage() {}
  893. func (*ControllerConfig) Descriptor() ([]byte, []int) {
  894. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{11}
  895. }
  896. func (m *ControllerConfig) XXX_Unmarshal(b []byte) error {
  897. return xxx_messageInfo_ControllerConfig.Unmarshal(m, b)
  898. }
  899. func (m *ControllerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  900. return xxx_messageInfo_ControllerConfig.Marshal(b, m, deterministic)
  901. }
  902. func (dst *ControllerConfig) XXX_Merge(src proto.Message) {
  903. xxx_messageInfo_ControllerConfig.Merge(dst, src)
  904. }
  905. func (m *ControllerConfig) XXX_Size() int {
  906. return xxx_messageInfo_ControllerConfig.Size(m)
  907. }
  908. func (m *ControllerConfig) XXX_DiscardUnknown() {
  909. xxx_messageInfo_ControllerConfig.DiscardUnknown(m)
  910. }
  911. var xxx_messageInfo_ControllerConfig proto.InternalMessageInfo
  912. func (m *ControllerConfig) GetImage() string {
  913. if m != nil {
  914. return m.Image
  915. }
  916. return ""
  917. }
  918. func (m *ControllerConfig) GetCmd() string {
  919. if m != nil {
  920. return m.Cmd
  921. }
  922. return ""
  923. }
  924. func (m *ControllerConfig) GetGcsLogPath() string {
  925. if m != nil {
  926. return m.GcsLogPath
  927. }
  928. return ""
  929. }
  930. func (m *ControllerConfig) GetMachineType() string {
  931. if m != nil {
  932. return m.MachineType
  933. }
  934. return ""
  935. }
  936. func (m *ControllerConfig) GetVars() map[string]string {
  937. if m != nil {
  938. return m.Vars
  939. }
  940. return nil
  941. }
  942. func (m *ControllerConfig) GetDisks() map[string]string {
  943. if m != nil {
  944. return m.Disks
  945. }
  946. return nil
  947. }
  948. func (m *ControllerConfig) GetGcsSources() map[string]*ControllerConfig_RepeatedString {
  949. if m != nil {
  950. return m.GcsSources
  951. }
  952. return nil
  953. }
  954. func (m *ControllerConfig) GetGcsSinks() map[string]*ControllerConfig_RepeatedString {
  955. if m != nil {
  956. return m.GcsSinks
  957. }
  958. return nil
  959. }
  960. type ControllerConfig_RepeatedString struct {
  961. Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
  962. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  963. XXX_unrecognized []byte `json:"-"`
  964. XXX_sizecache int32 `json:"-"`
  965. }
  966. func (m *ControllerConfig_RepeatedString) Reset() { *m = ControllerConfig_RepeatedString{} }
  967. func (m *ControllerConfig_RepeatedString) String() string { return proto.CompactTextString(m) }
  968. func (*ControllerConfig_RepeatedString) ProtoMessage() {}
  969. func (*ControllerConfig_RepeatedString) Descriptor() ([]byte, []int) {
  970. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{11, 0}
  971. }
  972. func (m *ControllerConfig_RepeatedString) XXX_Unmarshal(b []byte) error {
  973. return xxx_messageInfo_ControllerConfig_RepeatedString.Unmarshal(m, b)
  974. }
  975. func (m *ControllerConfig_RepeatedString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  976. return xxx_messageInfo_ControllerConfig_RepeatedString.Marshal(b, m, deterministic)
  977. }
  978. func (dst *ControllerConfig_RepeatedString) XXX_Merge(src proto.Message) {
  979. xxx_messageInfo_ControllerConfig_RepeatedString.Merge(dst, src)
  980. }
  981. func (m *ControllerConfig_RepeatedString) XXX_Size() int {
  982. return xxx_messageInfo_ControllerConfig_RepeatedString.Size(m)
  983. }
  984. func (m *ControllerConfig_RepeatedString) XXX_DiscardUnknown() {
  985. xxx_messageInfo_ControllerConfig_RepeatedString.DiscardUnknown(m)
  986. }
  987. var xxx_messageInfo_ControllerConfig_RepeatedString proto.InternalMessageInfo
  988. func (m *ControllerConfig_RepeatedString) GetValues() []string {
  989. if m != nil {
  990. return m.Values
  991. }
  992. return nil
  993. }
  994. // Stores the list of events and times they occured for major events in job
  995. // execution.
  996. type TimestampEvent struct {
  997. // String indicating the type of event
  998. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
  999. // The time this event occured.
  1000. Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
  1001. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1002. XXX_unrecognized []byte `json:"-"`
  1003. XXX_sizecache int32 `json:"-"`
  1004. }
  1005. func (m *TimestampEvent) Reset() { *m = TimestampEvent{} }
  1006. func (m *TimestampEvent) String() string { return proto.CompactTextString(m) }
  1007. func (*TimestampEvent) ProtoMessage() {}
  1008. func (*TimestampEvent) Descriptor() ([]byte, []int) {
  1009. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{12}
  1010. }
  1011. func (m *TimestampEvent) XXX_Unmarshal(b []byte) error {
  1012. return xxx_messageInfo_TimestampEvent.Unmarshal(m, b)
  1013. }
  1014. func (m *TimestampEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1015. return xxx_messageInfo_TimestampEvent.Marshal(b, m, deterministic)
  1016. }
  1017. func (dst *TimestampEvent) XXX_Merge(src proto.Message) {
  1018. xxx_messageInfo_TimestampEvent.Merge(dst, src)
  1019. }
  1020. func (m *TimestampEvent) XXX_Size() int {
  1021. return xxx_messageInfo_TimestampEvent.Size(m)
  1022. }
  1023. func (m *TimestampEvent) XXX_DiscardUnknown() {
  1024. xxx_messageInfo_TimestampEvent.DiscardUnknown(m)
  1025. }
  1026. var xxx_messageInfo_TimestampEvent proto.InternalMessageInfo
  1027. func (m *TimestampEvent) GetDescription() string {
  1028. if m != nil {
  1029. return m.Description
  1030. }
  1031. return ""
  1032. }
  1033. func (m *TimestampEvent) GetTimestamp() *timestamp.Timestamp {
  1034. if m != nil {
  1035. return m.Timestamp
  1036. }
  1037. return nil
  1038. }
  1039. // Request to set operation status. Should only be used by VMs
  1040. // created by the Pipelines Service and not by end users.
  1041. type SetOperationStatusRequest struct {
  1042. OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
  1043. TimestampEvents []*TimestampEvent `protobuf:"bytes,2,rep,name=timestamp_events,json=timestampEvents,proto3" json:"timestamp_events,omitempty"`
  1044. ErrorCode code.Code `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3,enum=google.rpc.Code" json:"error_code,omitempty"`
  1045. ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
  1046. ValidationToken uint64 `protobuf:"varint,5,opt,name=validation_token,json=validationToken,proto3" json:"validation_token,omitempty"`
  1047. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1048. XXX_unrecognized []byte `json:"-"`
  1049. XXX_sizecache int32 `json:"-"`
  1050. }
  1051. func (m *SetOperationStatusRequest) Reset() { *m = SetOperationStatusRequest{} }
  1052. func (m *SetOperationStatusRequest) String() string { return proto.CompactTextString(m) }
  1053. func (*SetOperationStatusRequest) ProtoMessage() {}
  1054. func (*SetOperationStatusRequest) Descriptor() ([]byte, []int) {
  1055. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{13}
  1056. }
  1057. func (m *SetOperationStatusRequest) XXX_Unmarshal(b []byte) error {
  1058. return xxx_messageInfo_SetOperationStatusRequest.Unmarshal(m, b)
  1059. }
  1060. func (m *SetOperationStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1061. return xxx_messageInfo_SetOperationStatusRequest.Marshal(b, m, deterministic)
  1062. }
  1063. func (dst *SetOperationStatusRequest) XXX_Merge(src proto.Message) {
  1064. xxx_messageInfo_SetOperationStatusRequest.Merge(dst, src)
  1065. }
  1066. func (m *SetOperationStatusRequest) XXX_Size() int {
  1067. return xxx_messageInfo_SetOperationStatusRequest.Size(m)
  1068. }
  1069. func (m *SetOperationStatusRequest) XXX_DiscardUnknown() {
  1070. xxx_messageInfo_SetOperationStatusRequest.DiscardUnknown(m)
  1071. }
  1072. var xxx_messageInfo_SetOperationStatusRequest proto.InternalMessageInfo
  1073. func (m *SetOperationStatusRequest) GetOperationId() string {
  1074. if m != nil {
  1075. return m.OperationId
  1076. }
  1077. return ""
  1078. }
  1079. func (m *SetOperationStatusRequest) GetTimestampEvents() []*TimestampEvent {
  1080. if m != nil {
  1081. return m.TimestampEvents
  1082. }
  1083. return nil
  1084. }
  1085. func (m *SetOperationStatusRequest) GetErrorCode() code.Code {
  1086. if m != nil {
  1087. return m.ErrorCode
  1088. }
  1089. return code.Code_OK
  1090. }
  1091. func (m *SetOperationStatusRequest) GetErrorMessage() string {
  1092. if m != nil {
  1093. return m.ErrorMessage
  1094. }
  1095. return ""
  1096. }
  1097. func (m *SetOperationStatusRequest) GetValidationToken() uint64 {
  1098. if m != nil {
  1099. return m.ValidationToken
  1100. }
  1101. return 0
  1102. }
  1103. // A Google Cloud Service Account.
  1104. type ServiceAccount struct {
  1105. // Email address of the service account. Defaults to `default`,
  1106. // which uses the compute service account associated with the project.
  1107. Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
  1108. // List of scopes to be enabled for this service account on the VM.
  1109. // The following scopes are automatically included:
  1110. //
  1111. // * https://www.googleapis.com/auth/compute
  1112. // * https://www.googleapis.com/auth/devstorage.full_control
  1113. // * https://www.googleapis.com/auth/genomics
  1114. // * https://www.googleapis.com/auth/logging.write
  1115. // * https://www.googleapis.com/auth/monitoring.write
  1116. Scopes []string `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes,omitempty"`
  1117. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1118. XXX_unrecognized []byte `json:"-"`
  1119. XXX_sizecache int32 `json:"-"`
  1120. }
  1121. func (m *ServiceAccount) Reset() { *m = ServiceAccount{} }
  1122. func (m *ServiceAccount) String() string { return proto.CompactTextString(m) }
  1123. func (*ServiceAccount) ProtoMessage() {}
  1124. func (*ServiceAccount) Descriptor() ([]byte, []int) {
  1125. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{14}
  1126. }
  1127. func (m *ServiceAccount) XXX_Unmarshal(b []byte) error {
  1128. return xxx_messageInfo_ServiceAccount.Unmarshal(m, b)
  1129. }
  1130. func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1131. return xxx_messageInfo_ServiceAccount.Marshal(b, m, deterministic)
  1132. }
  1133. func (dst *ServiceAccount) XXX_Merge(src proto.Message) {
  1134. xxx_messageInfo_ServiceAccount.Merge(dst, src)
  1135. }
  1136. func (m *ServiceAccount) XXX_Size() int {
  1137. return xxx_messageInfo_ServiceAccount.Size(m)
  1138. }
  1139. func (m *ServiceAccount) XXX_DiscardUnknown() {
  1140. xxx_messageInfo_ServiceAccount.DiscardUnknown(m)
  1141. }
  1142. var xxx_messageInfo_ServiceAccount proto.InternalMessageInfo
  1143. func (m *ServiceAccount) GetEmail() string {
  1144. if m != nil {
  1145. return m.Email
  1146. }
  1147. return ""
  1148. }
  1149. func (m *ServiceAccount) GetScopes() []string {
  1150. if m != nil {
  1151. return m.Scopes
  1152. }
  1153. return nil
  1154. }
  1155. // The logging options for the pipeline run.
  1156. type LoggingOptions struct {
  1157. // The location in Google Cloud Storage to which the pipeline logs
  1158. // will be copied. Can be specified as a fully qualified directory
  1159. // path, in which case logs will be output with a unique identifier
  1160. // as the filename in that directory, or as a fully specified path,
  1161. // which must end in `.log`, in which case that path will be
  1162. // used, and the user must ensure that logs are not
  1163. // overwritten. Stdout and stderr logs from the run are also
  1164. // generated and output as `-stdout.log` and `-stderr.log`.
  1165. GcsPath string `protobuf:"bytes,1,opt,name=gcs_path,json=gcsPath,proto3" json:"gcs_path,omitempty"`
  1166. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1167. XXX_unrecognized []byte `json:"-"`
  1168. XXX_sizecache int32 `json:"-"`
  1169. }
  1170. func (m *LoggingOptions) Reset() { *m = LoggingOptions{} }
  1171. func (m *LoggingOptions) String() string { return proto.CompactTextString(m) }
  1172. func (*LoggingOptions) ProtoMessage() {}
  1173. func (*LoggingOptions) Descriptor() ([]byte, []int) {
  1174. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{15}
  1175. }
  1176. func (m *LoggingOptions) XXX_Unmarshal(b []byte) error {
  1177. return xxx_messageInfo_LoggingOptions.Unmarshal(m, b)
  1178. }
  1179. func (m *LoggingOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1180. return xxx_messageInfo_LoggingOptions.Marshal(b, m, deterministic)
  1181. }
  1182. func (dst *LoggingOptions) XXX_Merge(src proto.Message) {
  1183. xxx_messageInfo_LoggingOptions.Merge(dst, src)
  1184. }
  1185. func (m *LoggingOptions) XXX_Size() int {
  1186. return xxx_messageInfo_LoggingOptions.Size(m)
  1187. }
  1188. func (m *LoggingOptions) XXX_DiscardUnknown() {
  1189. xxx_messageInfo_LoggingOptions.DiscardUnknown(m)
  1190. }
  1191. var xxx_messageInfo_LoggingOptions proto.InternalMessageInfo
  1192. func (m *LoggingOptions) GetGcsPath() string {
  1193. if m != nil {
  1194. return m.GcsPath
  1195. }
  1196. return ""
  1197. }
  1198. // The system resources for the pipeline run.
  1199. type PipelineResources struct {
  1200. // The minimum number of cores to use. Defaults to 1.
  1201. MinimumCpuCores int32 `protobuf:"varint,1,opt,name=minimum_cpu_cores,json=minimumCpuCores,proto3" json:"minimum_cpu_cores,omitempty"`
  1202. // Whether to use preemptible VMs. Defaults to `false`. In order to use this,
  1203. // must be true for both create time and run time. Cannot be true at run time
  1204. // if false at create time.
  1205. Preemptible bool `protobuf:"varint,2,opt,name=preemptible,proto3" json:"preemptible,omitempty"`
  1206. // The minimum amount of RAM to use. Defaults to 3.75 (GB)
  1207. MinimumRamGb float64 `protobuf:"fixed64,3,opt,name=minimum_ram_gb,json=minimumRamGb,proto3" json:"minimum_ram_gb,omitempty"`
  1208. // Disks to attach.
  1209. Disks []*PipelineResources_Disk `protobuf:"bytes,4,rep,name=disks,proto3" json:"disks,omitempty"`
  1210. // List of Google Compute Engine availability zones to which resource
  1211. // creation will restricted. If empty, any zone may be chosen.
  1212. Zones []string `protobuf:"bytes,5,rep,name=zones,proto3" json:"zones,omitempty"`
  1213. // The size of the boot disk. Defaults to 10 (GB).
  1214. BootDiskSizeGb int32 `protobuf:"varint,6,opt,name=boot_disk_size_gb,json=bootDiskSizeGb,proto3" json:"boot_disk_size_gb,omitempty"`
  1215. // Whether to assign an external IP to the instance. This is an experimental
  1216. // feature that may go away. Defaults to false.
  1217. // Corresponds to `--no_address` flag for [gcloud compute instances create]
  1218. // (https://cloud.google.com/sdk/gcloud/reference/compute/instances/create).
  1219. // In order to use this, must be true for both create time and run time.
  1220. // Cannot be true at run time if false at create time. If you need to ssh into
  1221. // a private IP VM for debugging, you can ssh to a public VM and then ssh into
  1222. // the private VM's Internal IP. If noAddress is set, this pipeline run may
  1223. // only load docker images from Google Container Registry and not Docker Hub.
  1224. // ** Note: To use this option, your project must be in Google Access for
  1225. // Private IPs Early Access Program.**
  1226. NoAddress bool `protobuf:"varint,7,opt,name=no_address,json=noAddress,proto3" json:"no_address,omitempty"`
  1227. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1228. XXX_unrecognized []byte `json:"-"`
  1229. XXX_sizecache int32 `json:"-"`
  1230. }
  1231. func (m *PipelineResources) Reset() { *m = PipelineResources{} }
  1232. func (m *PipelineResources) String() string { return proto.CompactTextString(m) }
  1233. func (*PipelineResources) ProtoMessage() {}
  1234. func (*PipelineResources) Descriptor() ([]byte, []int) {
  1235. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{16}
  1236. }
  1237. func (m *PipelineResources) XXX_Unmarshal(b []byte) error {
  1238. return xxx_messageInfo_PipelineResources.Unmarshal(m, b)
  1239. }
  1240. func (m *PipelineResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1241. return xxx_messageInfo_PipelineResources.Marshal(b, m, deterministic)
  1242. }
  1243. func (dst *PipelineResources) XXX_Merge(src proto.Message) {
  1244. xxx_messageInfo_PipelineResources.Merge(dst, src)
  1245. }
  1246. func (m *PipelineResources) XXX_Size() int {
  1247. return xxx_messageInfo_PipelineResources.Size(m)
  1248. }
  1249. func (m *PipelineResources) XXX_DiscardUnknown() {
  1250. xxx_messageInfo_PipelineResources.DiscardUnknown(m)
  1251. }
  1252. var xxx_messageInfo_PipelineResources proto.InternalMessageInfo
  1253. func (m *PipelineResources) GetMinimumCpuCores() int32 {
  1254. if m != nil {
  1255. return m.MinimumCpuCores
  1256. }
  1257. return 0
  1258. }
  1259. func (m *PipelineResources) GetPreemptible() bool {
  1260. if m != nil {
  1261. return m.Preemptible
  1262. }
  1263. return false
  1264. }
  1265. func (m *PipelineResources) GetMinimumRamGb() float64 {
  1266. if m != nil {
  1267. return m.MinimumRamGb
  1268. }
  1269. return 0
  1270. }
  1271. func (m *PipelineResources) GetDisks() []*PipelineResources_Disk {
  1272. if m != nil {
  1273. return m.Disks
  1274. }
  1275. return nil
  1276. }
  1277. func (m *PipelineResources) GetZones() []string {
  1278. if m != nil {
  1279. return m.Zones
  1280. }
  1281. return nil
  1282. }
  1283. func (m *PipelineResources) GetBootDiskSizeGb() int32 {
  1284. if m != nil {
  1285. return m.BootDiskSizeGb
  1286. }
  1287. return 0
  1288. }
  1289. func (m *PipelineResources) GetNoAddress() bool {
  1290. if m != nil {
  1291. return m.NoAddress
  1292. }
  1293. return false
  1294. }
  1295. // A Google Compute Engine disk resource specification.
  1296. type PipelineResources_Disk struct {
  1297. // Required. The name of the disk that can be used in the pipeline
  1298. // parameters. Must be 1 - 63 characters.
  1299. // The name "boot" is reserved for system use.
  1300. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1301. // Required. The type of the disk to create.
  1302. Type PipelineResources_Disk_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.genomics.v1alpha2.PipelineResources_Disk_Type" json:"type,omitempty"`
  1303. // The size of the disk. Defaults to 500 (GB).
  1304. // This field is not applicable for local SSD.
  1305. SizeGb int32 `protobuf:"varint,3,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
  1306. // The full or partial URL of the persistent disk to attach. See
  1307. // https://cloud.google.com/compute/docs/reference/latest/instances#resource
  1308. // and
  1309. // https://cloud.google.com/compute/docs/disks/persistent-disks#snapshots
  1310. // for more details.
  1311. Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
  1312. // Deprecated. Disks created by the Pipelines API will be deleted at the end
  1313. // of the pipeline run, regardless of what this field is set to.
  1314. AutoDelete bool `protobuf:"varint,6,opt,name=auto_delete,json=autoDelete,proto3" json:"auto_delete,omitempty"`
  1315. // Required at create time and cannot be overridden at run time.
  1316. // Specifies the path in the docker container where files on
  1317. // this disk should be located. For example, if `mountPoint`
  1318. // is `/mnt/disk`, and the parameter has `localPath`
  1319. // `inputs/file.txt`, the docker container can access the data at
  1320. // `/mnt/disk/inputs/file.txt`.
  1321. MountPoint string `protobuf:"bytes,8,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty"`
  1322. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1323. XXX_unrecognized []byte `json:"-"`
  1324. XXX_sizecache int32 `json:"-"`
  1325. }
  1326. func (m *PipelineResources_Disk) Reset() { *m = PipelineResources_Disk{} }
  1327. func (m *PipelineResources_Disk) String() string { return proto.CompactTextString(m) }
  1328. func (*PipelineResources_Disk) ProtoMessage() {}
  1329. func (*PipelineResources_Disk) Descriptor() ([]byte, []int) {
  1330. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{16, 0}
  1331. }
  1332. func (m *PipelineResources_Disk) XXX_Unmarshal(b []byte) error {
  1333. return xxx_messageInfo_PipelineResources_Disk.Unmarshal(m, b)
  1334. }
  1335. func (m *PipelineResources_Disk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1336. return xxx_messageInfo_PipelineResources_Disk.Marshal(b, m, deterministic)
  1337. }
  1338. func (dst *PipelineResources_Disk) XXX_Merge(src proto.Message) {
  1339. xxx_messageInfo_PipelineResources_Disk.Merge(dst, src)
  1340. }
  1341. func (m *PipelineResources_Disk) XXX_Size() int {
  1342. return xxx_messageInfo_PipelineResources_Disk.Size(m)
  1343. }
  1344. func (m *PipelineResources_Disk) XXX_DiscardUnknown() {
  1345. xxx_messageInfo_PipelineResources_Disk.DiscardUnknown(m)
  1346. }
  1347. var xxx_messageInfo_PipelineResources_Disk proto.InternalMessageInfo
  1348. func (m *PipelineResources_Disk) GetName() string {
  1349. if m != nil {
  1350. return m.Name
  1351. }
  1352. return ""
  1353. }
  1354. func (m *PipelineResources_Disk) GetType() PipelineResources_Disk_Type {
  1355. if m != nil {
  1356. return m.Type
  1357. }
  1358. return PipelineResources_Disk_TYPE_UNSPECIFIED
  1359. }
  1360. func (m *PipelineResources_Disk) GetSizeGb() int32 {
  1361. if m != nil {
  1362. return m.SizeGb
  1363. }
  1364. return 0
  1365. }
  1366. func (m *PipelineResources_Disk) GetSource() string {
  1367. if m != nil {
  1368. return m.Source
  1369. }
  1370. return ""
  1371. }
  1372. func (m *PipelineResources_Disk) GetAutoDelete() bool {
  1373. if m != nil {
  1374. return m.AutoDelete
  1375. }
  1376. return false
  1377. }
  1378. func (m *PipelineResources_Disk) GetMountPoint() string {
  1379. if m != nil {
  1380. return m.MountPoint
  1381. }
  1382. return ""
  1383. }
  1384. // Parameters facilitate setting and delivering data into the
  1385. // pipeline's execution environment. They are defined at create time,
  1386. // with optional defaults, and can be overridden at run time.
  1387. //
  1388. // If `localCopy` is unset, then the parameter specifies a string that
  1389. // is passed as-is into the pipeline, as the value of the environment
  1390. // variable with the given name. A default value can be optionally
  1391. // specified at create time. The default can be overridden at run time
  1392. // using the inputs map. If no default is given, a value must be
  1393. // supplied at runtime.
  1394. //
  1395. // If `localCopy` is defined, then the parameter specifies a data
  1396. // source or sink, both in Google Cloud Storage and on the Docker container
  1397. // where the pipeline computation is run. The [service account associated with
  1398. // the Pipeline][google.genomics.v1alpha2.RunPipelineArgs.service_account] (by
  1399. // default the project's Compute Engine service account) must have access to the
  1400. // Google Cloud Storage paths.
  1401. //
  1402. // At run time, the Google Cloud Storage paths can be overridden if a default
  1403. // was provided at create time, or must be set otherwise. The pipeline runner
  1404. // should add a key/value pair to either the inputs or outputs map. The
  1405. // indicated data copies will be carried out before/after pipeline execution,
  1406. // just as if the corresponding arguments were provided to `gsutil cp`.
  1407. //
  1408. // For example: Given the following `PipelineParameter`, specified
  1409. // in the `inputParameters` list:
  1410. //
  1411. // ```
  1412. // {name: "input_file", localCopy: {path: "file.txt", disk: "pd1"}}
  1413. // ```
  1414. //
  1415. // where `disk` is defined in the `PipelineResources` object as:
  1416. //
  1417. // ```
  1418. // {name: "pd1", mountPoint: "/mnt/disk/"}
  1419. // ```
  1420. //
  1421. // We create a disk named `pd1`, mount it on the host VM, and map
  1422. // `/mnt/pd1` to `/mnt/disk` in the docker container. At
  1423. // runtime, an entry for `input_file` would be required in the inputs
  1424. // map, such as:
  1425. //
  1426. // ```
  1427. // inputs["input_file"] = "gs://my-bucket/bar.txt"
  1428. // ```
  1429. //
  1430. // This would generate the following gsutil call:
  1431. //
  1432. // ```
  1433. // gsutil cp gs://my-bucket/bar.txt /mnt/pd1/file.txt
  1434. // ```
  1435. //
  1436. // The file `/mnt/pd1/file.txt` maps to `/mnt/disk/file.txt` in the
  1437. // Docker container. Acceptable paths are:
  1438. //
  1439. // <table>
  1440. // <thead>
  1441. // <tr><th>Google Cloud storage path</th><th>Local path</th></tr>
  1442. // </thead>
  1443. // <tbody>
  1444. // <tr><td>file</td><td>file</td></tr>
  1445. // <tr><td>glob</td><td>directory</td></tr>
  1446. // </tbody>
  1447. // </table>
  1448. //
  1449. // For outputs, the direction of the copy is reversed:
  1450. //
  1451. // ```
  1452. // gsutil cp /mnt/disk/file.txt gs://my-bucket/bar.txt
  1453. // ```
  1454. //
  1455. // Acceptable paths are:
  1456. //
  1457. // <table>
  1458. // <thead>
  1459. // <tr><th>Local path</th><th>Google Cloud Storage path</th></tr>
  1460. // </thead>
  1461. // <tbody>
  1462. // <tr><td>file</td><td>file</td></tr>
  1463. // <tr>
  1464. // <td>file</td>
  1465. // <td>directory - directory must already exist</td>
  1466. // </tr>
  1467. // <tr>
  1468. // <td>glob</td>
  1469. // <td>directory - directory will be created if it doesn't exist</td></tr>
  1470. // </tbody>
  1471. // </table>
  1472. //
  1473. // One restriction due to docker limitations, is that for outputs that are found
  1474. // on the boot disk, the local path cannot be a glob and must be a file.
  1475. type PipelineParameter struct {
  1476. // Required. Name of the parameter - the pipeline runner uses this string
  1477. // as the key to the input and output maps in RunPipeline.
  1478. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1479. // Human-readable description.
  1480. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  1481. // The default value for this parameter. Can be overridden at runtime.
  1482. // If `localCopy` is present, then this must be a Google Cloud Storage path
  1483. // beginning with `gs://`.
  1484. DefaultValue string `protobuf:"bytes,5,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
  1485. // If present, this parameter is marked for copying to and from the VM.
  1486. // `LocalCopy` indicates where on the VM the file should be. The value
  1487. // given to this parameter (either at runtime or using `defaultValue`)
  1488. // must be the remote path where the file should be.
  1489. LocalCopy *PipelineParameter_LocalCopy `protobuf:"bytes,6,opt,name=local_copy,json=localCopy,proto3" json:"local_copy,omitempty"`
  1490. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1491. XXX_unrecognized []byte `json:"-"`
  1492. XXX_sizecache int32 `json:"-"`
  1493. }
  1494. func (m *PipelineParameter) Reset() { *m = PipelineParameter{} }
  1495. func (m *PipelineParameter) String() string { return proto.CompactTextString(m) }
  1496. func (*PipelineParameter) ProtoMessage() {}
  1497. func (*PipelineParameter) Descriptor() ([]byte, []int) {
  1498. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{17}
  1499. }
  1500. func (m *PipelineParameter) XXX_Unmarshal(b []byte) error {
  1501. return xxx_messageInfo_PipelineParameter.Unmarshal(m, b)
  1502. }
  1503. func (m *PipelineParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1504. return xxx_messageInfo_PipelineParameter.Marshal(b, m, deterministic)
  1505. }
  1506. func (dst *PipelineParameter) XXX_Merge(src proto.Message) {
  1507. xxx_messageInfo_PipelineParameter.Merge(dst, src)
  1508. }
  1509. func (m *PipelineParameter) XXX_Size() int {
  1510. return xxx_messageInfo_PipelineParameter.Size(m)
  1511. }
  1512. func (m *PipelineParameter) XXX_DiscardUnknown() {
  1513. xxx_messageInfo_PipelineParameter.DiscardUnknown(m)
  1514. }
  1515. var xxx_messageInfo_PipelineParameter proto.InternalMessageInfo
  1516. func (m *PipelineParameter) GetName() string {
  1517. if m != nil {
  1518. return m.Name
  1519. }
  1520. return ""
  1521. }
  1522. func (m *PipelineParameter) GetDescription() string {
  1523. if m != nil {
  1524. return m.Description
  1525. }
  1526. return ""
  1527. }
  1528. func (m *PipelineParameter) GetDefaultValue() string {
  1529. if m != nil {
  1530. return m.DefaultValue
  1531. }
  1532. return ""
  1533. }
  1534. func (m *PipelineParameter) GetLocalCopy() *PipelineParameter_LocalCopy {
  1535. if m != nil {
  1536. return m.LocalCopy
  1537. }
  1538. return nil
  1539. }
  1540. // LocalCopy defines how a remote file should be copied to and from the VM.
  1541. type PipelineParameter_LocalCopy struct {
  1542. // Required. The path within the user's docker container where
  1543. // this input should be localized to and from, relative to the specified
  1544. // disk's mount point. For example: file.txt,
  1545. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
  1546. // Required. The name of the disk where this parameter is
  1547. // located. Can be the name of one of the disks specified in the
  1548. // Resources field, or "boot", which represents the Docker
  1549. // instance's boot disk and has a mount point of `/`.
  1550. Disk string `protobuf:"bytes,2,opt,name=disk,proto3" json:"disk,omitempty"`
  1551. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1552. XXX_unrecognized []byte `json:"-"`
  1553. XXX_sizecache int32 `json:"-"`
  1554. }
  1555. func (m *PipelineParameter_LocalCopy) Reset() { *m = PipelineParameter_LocalCopy{} }
  1556. func (m *PipelineParameter_LocalCopy) String() string { return proto.CompactTextString(m) }
  1557. func (*PipelineParameter_LocalCopy) ProtoMessage() {}
  1558. func (*PipelineParameter_LocalCopy) Descriptor() ([]byte, []int) {
  1559. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{17, 0}
  1560. }
  1561. func (m *PipelineParameter_LocalCopy) XXX_Unmarshal(b []byte) error {
  1562. return xxx_messageInfo_PipelineParameter_LocalCopy.Unmarshal(m, b)
  1563. }
  1564. func (m *PipelineParameter_LocalCopy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1565. return xxx_messageInfo_PipelineParameter_LocalCopy.Marshal(b, m, deterministic)
  1566. }
  1567. func (dst *PipelineParameter_LocalCopy) XXX_Merge(src proto.Message) {
  1568. xxx_messageInfo_PipelineParameter_LocalCopy.Merge(dst, src)
  1569. }
  1570. func (m *PipelineParameter_LocalCopy) XXX_Size() int {
  1571. return xxx_messageInfo_PipelineParameter_LocalCopy.Size(m)
  1572. }
  1573. func (m *PipelineParameter_LocalCopy) XXX_DiscardUnknown() {
  1574. xxx_messageInfo_PipelineParameter_LocalCopy.DiscardUnknown(m)
  1575. }
  1576. var xxx_messageInfo_PipelineParameter_LocalCopy proto.InternalMessageInfo
  1577. func (m *PipelineParameter_LocalCopy) GetPath() string {
  1578. if m != nil {
  1579. return m.Path
  1580. }
  1581. return ""
  1582. }
  1583. func (m *PipelineParameter_LocalCopy) GetDisk() string {
  1584. if m != nil {
  1585. return m.Disk
  1586. }
  1587. return ""
  1588. }
  1589. // The Docker execuctor specification.
  1590. type DockerExecutor struct {
  1591. // Required. Image name from either Docker Hub or Google Container Registry.
  1592. // Users that run pipelines must have READ access to the image.
  1593. ImageName string `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
  1594. // Required. The command or newline delimited script to run. The command
  1595. // string will be executed within a bash shell.
  1596. //
  1597. // If the command exits with a non-zero exit code, output parameter
  1598. // de-localization will be skipped and the pipeline operation's
  1599. // [`error`][google.longrunning.Operation.error] field will be populated.
  1600. //
  1601. // Maximum command string length is 16384.
  1602. Cmd string `protobuf:"bytes,2,opt,name=cmd,proto3" json:"cmd,omitempty"`
  1603. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1604. XXX_unrecognized []byte `json:"-"`
  1605. XXX_sizecache int32 `json:"-"`
  1606. }
  1607. func (m *DockerExecutor) Reset() { *m = DockerExecutor{} }
  1608. func (m *DockerExecutor) String() string { return proto.CompactTextString(m) }
  1609. func (*DockerExecutor) ProtoMessage() {}
  1610. func (*DockerExecutor) Descriptor() ([]byte, []int) {
  1611. return fileDescriptor_pipelines_8146614aa6e9cb66, []int{18}
  1612. }
  1613. func (m *DockerExecutor) XXX_Unmarshal(b []byte) error {
  1614. return xxx_messageInfo_DockerExecutor.Unmarshal(m, b)
  1615. }
  1616. func (m *DockerExecutor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1617. return xxx_messageInfo_DockerExecutor.Marshal(b, m, deterministic)
  1618. }
  1619. func (dst *DockerExecutor) XXX_Merge(src proto.Message) {
  1620. xxx_messageInfo_DockerExecutor.Merge(dst, src)
  1621. }
  1622. func (m *DockerExecutor) XXX_Size() int {
  1623. return xxx_messageInfo_DockerExecutor.Size(m)
  1624. }
  1625. func (m *DockerExecutor) XXX_DiscardUnknown() {
  1626. xxx_messageInfo_DockerExecutor.DiscardUnknown(m)
  1627. }
  1628. var xxx_messageInfo_DockerExecutor proto.InternalMessageInfo
  1629. func (m *DockerExecutor) GetImageName() string {
  1630. if m != nil {
  1631. return m.ImageName
  1632. }
  1633. return ""
  1634. }
  1635. func (m *DockerExecutor) GetCmd() string {
  1636. if m != nil {
  1637. return m.Cmd
  1638. }
  1639. return ""
  1640. }
  1641. func init() {
  1642. proto.RegisterType((*ComputeEngine)(nil), "google.genomics.v1alpha2.ComputeEngine")
  1643. proto.RegisterType((*RuntimeMetadata)(nil), "google.genomics.v1alpha2.RuntimeMetadata")
  1644. proto.RegisterType((*Pipeline)(nil), "google.genomics.v1alpha2.Pipeline")
  1645. proto.RegisterType((*CreatePipelineRequest)(nil), "google.genomics.v1alpha2.CreatePipelineRequest")
  1646. proto.RegisterType((*RunPipelineArgs)(nil), "google.genomics.v1alpha2.RunPipelineArgs")
  1647. proto.RegisterMapType((map[string]string)(nil), "google.genomics.v1alpha2.RunPipelineArgs.InputsEntry")
  1648. proto.RegisterMapType((map[string]string)(nil), "google.genomics.v1alpha2.RunPipelineArgs.LabelsEntry")
  1649. proto.RegisterMapType((map[string]string)(nil), "google.genomics.v1alpha2.RunPipelineArgs.OutputsEntry")
  1650. proto.RegisterType((*RunPipelineRequest)(nil), "google.genomics.v1alpha2.RunPipelineRequest")
  1651. proto.RegisterType((*GetPipelineRequest)(nil), "google.genomics.v1alpha2.GetPipelineRequest")
  1652. proto.RegisterType((*ListPipelinesRequest)(nil), "google.genomics.v1alpha2.ListPipelinesRequest")
  1653. proto.RegisterType((*ListPipelinesResponse)(nil), "google.genomics.v1alpha2.ListPipelinesResponse")
  1654. proto.RegisterType((*DeletePipelineRequest)(nil), "google.genomics.v1alpha2.DeletePipelineRequest")
  1655. proto.RegisterType((*GetControllerConfigRequest)(nil), "google.genomics.v1alpha2.GetControllerConfigRequest")
  1656. proto.RegisterType((*ControllerConfig)(nil), "google.genomics.v1alpha2.ControllerConfig")
  1657. proto.RegisterMapType((map[string]string)(nil), "google.genomics.v1alpha2.ControllerConfig.DisksEntry")
  1658. proto.RegisterMapType((map[string]*ControllerConfig_RepeatedString)(nil), "google.genomics.v1alpha2.ControllerConfig.GcsSinksEntry")
  1659. proto.RegisterMapType((map[string]*ControllerConfig_RepeatedString)(nil), "google.genomics.v1alpha2.ControllerConfig.GcsSourcesEntry")
  1660. proto.RegisterMapType((map[string]string)(nil), "google.genomics.v1alpha2.ControllerConfig.VarsEntry")
  1661. proto.RegisterType((*ControllerConfig_RepeatedString)(nil), "google.genomics.v1alpha2.ControllerConfig.RepeatedString")
  1662. proto.RegisterType((*TimestampEvent)(nil), "google.genomics.v1alpha2.TimestampEvent")
  1663. proto.RegisterType((*SetOperationStatusRequest)(nil), "google.genomics.v1alpha2.SetOperationStatusRequest")
  1664. proto.RegisterType((*ServiceAccount)(nil), "google.genomics.v1alpha2.ServiceAccount")
  1665. proto.RegisterType((*LoggingOptions)(nil), "google.genomics.v1alpha2.LoggingOptions")
  1666. proto.RegisterType((*PipelineResources)(nil), "google.genomics.v1alpha2.PipelineResources")
  1667. proto.RegisterType((*PipelineResources_Disk)(nil), "google.genomics.v1alpha2.PipelineResources.Disk")
  1668. proto.RegisterType((*PipelineParameter)(nil), "google.genomics.v1alpha2.PipelineParameter")
  1669. proto.RegisterType((*PipelineParameter_LocalCopy)(nil), "google.genomics.v1alpha2.PipelineParameter.LocalCopy")
  1670. proto.RegisterType((*DockerExecutor)(nil), "google.genomics.v1alpha2.DockerExecutor")
  1671. proto.RegisterEnum("google.genomics.v1alpha2.PipelineResources_Disk_Type", PipelineResources_Disk_Type_name, PipelineResources_Disk_Type_value)
  1672. }
  1673. // Reference imports to suppress errors if they are not otherwise used.
  1674. var _ context.Context
  1675. var _ grpc.ClientConn
  1676. // This is a compile-time assertion to ensure that this generated file
  1677. // is compatible with the grpc package it is being compiled against.
  1678. const _ = grpc.SupportPackageIsVersion4
  1679. // PipelinesV1Alpha2Client is the client API for PipelinesV1Alpha2 service.
  1680. //
  1681. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1682. type PipelinesV1Alpha2Client interface {
  1683. // Creates a pipeline that can be run later. Create takes a Pipeline that
  1684. // has all fields other than `pipelineId` populated, and then returns
  1685. // the same pipeline with `pipelineId` populated. This id can be used
  1686. // to run the pipeline.
  1687. //
  1688. // Caller must have WRITE permission to the project.
  1689. CreatePipeline(ctx context.Context, in *CreatePipelineRequest, opts ...grpc.CallOption) (*Pipeline, error)
  1690. // Runs a pipeline. If `pipelineId` is specified in the request, then
  1691. // run a saved pipeline. If `ephemeralPipeline` is specified, then run
  1692. // that pipeline once without saving a copy.
  1693. //
  1694. // The caller must have READ permission to the project where the pipeline
  1695. // is stored and WRITE permission to the project where the pipeline will be
  1696. // run, as VMs will be created and storage will be used.
  1697. RunPipeline(ctx context.Context, in *RunPipelineRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1698. // Retrieves a pipeline based on ID.
  1699. //
  1700. // Caller must have READ permission to the project.
  1701. GetPipeline(ctx context.Context, in *GetPipelineRequest, opts ...grpc.CallOption) (*Pipeline, error)
  1702. // Lists pipelines.
  1703. //
  1704. // Caller must have READ permission to the project.
  1705. ListPipelines(ctx context.Context, in *ListPipelinesRequest, opts ...grpc.CallOption) (*ListPipelinesResponse, error)
  1706. // Deletes a pipeline based on ID.
  1707. //
  1708. // Caller must have WRITE permission to the project.
  1709. DeletePipeline(ctx context.Context, in *DeletePipelineRequest, opts ...grpc.CallOption) (*empty.Empty, error)
  1710. // Gets controller configuration information. Should only be called
  1711. // by VMs created by the Pipelines Service and not by end users.
  1712. GetControllerConfig(ctx context.Context, in *GetControllerConfigRequest, opts ...grpc.CallOption) (*ControllerConfig, error)
  1713. // Sets status of a given operation. Any new timestamps (as determined by
  1714. // description) are appended to TimestampEvents. Should only be called by VMs
  1715. // created by the Pipelines Service and not by end users.
  1716. SetOperationStatus(ctx context.Context, in *SetOperationStatusRequest, opts ...grpc.CallOption) (*empty.Empty, error)
  1717. }
  1718. type pipelinesV1Alpha2Client struct {
  1719. cc *grpc.ClientConn
  1720. }
  1721. func NewPipelinesV1Alpha2Client(cc *grpc.ClientConn) PipelinesV1Alpha2Client {
  1722. return &pipelinesV1Alpha2Client{cc}
  1723. }
  1724. func (c *pipelinesV1Alpha2Client) CreatePipeline(ctx context.Context, in *CreatePipelineRequest, opts ...grpc.CallOption) (*Pipeline, error) {
  1725. out := new(Pipeline)
  1726. err := c.cc.Invoke(ctx, "/google.genomics.v1alpha2.PipelinesV1Alpha2/CreatePipeline", in, out, opts...)
  1727. if err != nil {
  1728. return nil, err
  1729. }
  1730. return out, nil
  1731. }
  1732. func (c *pipelinesV1Alpha2Client) RunPipeline(ctx context.Context, in *RunPipelineRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1733. out := new(longrunning.Operation)
  1734. err := c.cc.Invoke(ctx, "/google.genomics.v1alpha2.PipelinesV1Alpha2/RunPipeline", in, out, opts...)
  1735. if err != nil {
  1736. return nil, err
  1737. }
  1738. return out, nil
  1739. }
  1740. func (c *pipelinesV1Alpha2Client) GetPipeline(ctx context.Context, in *GetPipelineRequest, opts ...grpc.CallOption) (*Pipeline, error) {
  1741. out := new(Pipeline)
  1742. err := c.cc.Invoke(ctx, "/google.genomics.v1alpha2.PipelinesV1Alpha2/GetPipeline", in, out, opts...)
  1743. if err != nil {
  1744. return nil, err
  1745. }
  1746. return out, nil
  1747. }
  1748. func (c *pipelinesV1Alpha2Client) ListPipelines(ctx context.Context, in *ListPipelinesRequest, opts ...grpc.CallOption) (*ListPipelinesResponse, error) {
  1749. out := new(ListPipelinesResponse)
  1750. err := c.cc.Invoke(ctx, "/google.genomics.v1alpha2.PipelinesV1Alpha2/ListPipelines", in, out, opts...)
  1751. if err != nil {
  1752. return nil, err
  1753. }
  1754. return out, nil
  1755. }
  1756. func (c *pipelinesV1Alpha2Client) DeletePipeline(ctx context.Context, in *DeletePipelineRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
  1757. out := new(empty.Empty)
  1758. err := c.cc.Invoke(ctx, "/google.genomics.v1alpha2.PipelinesV1Alpha2/DeletePipeline", in, out, opts...)
  1759. if err != nil {
  1760. return nil, err
  1761. }
  1762. return out, nil
  1763. }
  1764. func (c *pipelinesV1Alpha2Client) GetControllerConfig(ctx context.Context, in *GetControllerConfigRequest, opts ...grpc.CallOption) (*ControllerConfig, error) {
  1765. out := new(ControllerConfig)
  1766. err := c.cc.Invoke(ctx, "/google.genomics.v1alpha2.PipelinesV1Alpha2/GetControllerConfig", in, out, opts...)
  1767. if err != nil {
  1768. return nil, err
  1769. }
  1770. return out, nil
  1771. }
  1772. func (c *pipelinesV1Alpha2Client) SetOperationStatus(ctx context.Context, in *SetOperationStatusRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
  1773. out := new(empty.Empty)
  1774. err := c.cc.Invoke(ctx, "/google.genomics.v1alpha2.PipelinesV1Alpha2/SetOperationStatus", in, out, opts...)
  1775. if err != nil {
  1776. return nil, err
  1777. }
  1778. return out, nil
  1779. }
  1780. // PipelinesV1Alpha2Server is the server API for PipelinesV1Alpha2 service.
  1781. type PipelinesV1Alpha2Server interface {
  1782. // Creates a pipeline that can be run later. Create takes a Pipeline that
  1783. // has all fields other than `pipelineId` populated, and then returns
  1784. // the same pipeline with `pipelineId` populated. This id can be used
  1785. // to run the pipeline.
  1786. //
  1787. // Caller must have WRITE permission to the project.
  1788. CreatePipeline(context.Context, *CreatePipelineRequest) (*Pipeline, error)
  1789. // Runs a pipeline. If `pipelineId` is specified in the request, then
  1790. // run a saved pipeline. If `ephemeralPipeline` is specified, then run
  1791. // that pipeline once without saving a copy.
  1792. //
  1793. // The caller must have READ permission to the project where the pipeline
  1794. // is stored and WRITE permission to the project where the pipeline will be
  1795. // run, as VMs will be created and storage will be used.
  1796. RunPipeline(context.Context, *RunPipelineRequest) (*longrunning.Operation, error)
  1797. // Retrieves a pipeline based on ID.
  1798. //
  1799. // Caller must have READ permission to the project.
  1800. GetPipeline(context.Context, *GetPipelineRequest) (*Pipeline, error)
  1801. // Lists pipelines.
  1802. //
  1803. // Caller must have READ permission to the project.
  1804. ListPipelines(context.Context, *ListPipelinesRequest) (*ListPipelinesResponse, error)
  1805. // Deletes a pipeline based on ID.
  1806. //
  1807. // Caller must have WRITE permission to the project.
  1808. DeletePipeline(context.Context, *DeletePipelineRequest) (*empty.Empty, error)
  1809. // Gets controller configuration information. Should only be called
  1810. // by VMs created by the Pipelines Service and not by end users.
  1811. GetControllerConfig(context.Context, *GetControllerConfigRequest) (*ControllerConfig, error)
  1812. // Sets status of a given operation. Any new timestamps (as determined by
  1813. // description) are appended to TimestampEvents. Should only be called by VMs
  1814. // created by the Pipelines Service and not by end users.
  1815. SetOperationStatus(context.Context, *SetOperationStatusRequest) (*empty.Empty, error)
  1816. }
  1817. func RegisterPipelinesV1Alpha2Server(s *grpc.Server, srv PipelinesV1Alpha2Server) {
  1818. s.RegisterService(&_PipelinesV1Alpha2_serviceDesc, srv)
  1819. }
  1820. func _PipelinesV1Alpha2_CreatePipeline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1821. in := new(CreatePipelineRequest)
  1822. if err := dec(in); err != nil {
  1823. return nil, err
  1824. }
  1825. if interceptor == nil {
  1826. return srv.(PipelinesV1Alpha2Server).CreatePipeline(ctx, in)
  1827. }
  1828. info := &grpc.UnaryServerInfo{
  1829. Server: srv,
  1830. FullMethod: "/google.genomics.v1alpha2.PipelinesV1Alpha2/CreatePipeline",
  1831. }
  1832. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1833. return srv.(PipelinesV1Alpha2Server).CreatePipeline(ctx, req.(*CreatePipelineRequest))
  1834. }
  1835. return interceptor(ctx, in, info, handler)
  1836. }
  1837. func _PipelinesV1Alpha2_RunPipeline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1838. in := new(RunPipelineRequest)
  1839. if err := dec(in); err != nil {
  1840. return nil, err
  1841. }
  1842. if interceptor == nil {
  1843. return srv.(PipelinesV1Alpha2Server).RunPipeline(ctx, in)
  1844. }
  1845. info := &grpc.UnaryServerInfo{
  1846. Server: srv,
  1847. FullMethod: "/google.genomics.v1alpha2.PipelinesV1Alpha2/RunPipeline",
  1848. }
  1849. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1850. return srv.(PipelinesV1Alpha2Server).RunPipeline(ctx, req.(*RunPipelineRequest))
  1851. }
  1852. return interceptor(ctx, in, info, handler)
  1853. }
  1854. func _PipelinesV1Alpha2_GetPipeline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1855. in := new(GetPipelineRequest)
  1856. if err := dec(in); err != nil {
  1857. return nil, err
  1858. }
  1859. if interceptor == nil {
  1860. return srv.(PipelinesV1Alpha2Server).GetPipeline(ctx, in)
  1861. }
  1862. info := &grpc.UnaryServerInfo{
  1863. Server: srv,
  1864. FullMethod: "/google.genomics.v1alpha2.PipelinesV1Alpha2/GetPipeline",
  1865. }
  1866. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1867. return srv.(PipelinesV1Alpha2Server).GetPipeline(ctx, req.(*GetPipelineRequest))
  1868. }
  1869. return interceptor(ctx, in, info, handler)
  1870. }
  1871. func _PipelinesV1Alpha2_ListPipelines_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1872. in := new(ListPipelinesRequest)
  1873. if err := dec(in); err != nil {
  1874. return nil, err
  1875. }
  1876. if interceptor == nil {
  1877. return srv.(PipelinesV1Alpha2Server).ListPipelines(ctx, in)
  1878. }
  1879. info := &grpc.UnaryServerInfo{
  1880. Server: srv,
  1881. FullMethod: "/google.genomics.v1alpha2.PipelinesV1Alpha2/ListPipelines",
  1882. }
  1883. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1884. return srv.(PipelinesV1Alpha2Server).ListPipelines(ctx, req.(*ListPipelinesRequest))
  1885. }
  1886. return interceptor(ctx, in, info, handler)
  1887. }
  1888. func _PipelinesV1Alpha2_DeletePipeline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1889. in := new(DeletePipelineRequest)
  1890. if err := dec(in); err != nil {
  1891. return nil, err
  1892. }
  1893. if interceptor == nil {
  1894. return srv.(PipelinesV1Alpha2Server).DeletePipeline(ctx, in)
  1895. }
  1896. info := &grpc.UnaryServerInfo{
  1897. Server: srv,
  1898. FullMethod: "/google.genomics.v1alpha2.PipelinesV1Alpha2/DeletePipeline",
  1899. }
  1900. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1901. return srv.(PipelinesV1Alpha2Server).DeletePipeline(ctx, req.(*DeletePipelineRequest))
  1902. }
  1903. return interceptor(ctx, in, info, handler)
  1904. }
  1905. func _PipelinesV1Alpha2_GetControllerConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1906. in := new(GetControllerConfigRequest)
  1907. if err := dec(in); err != nil {
  1908. return nil, err
  1909. }
  1910. if interceptor == nil {
  1911. return srv.(PipelinesV1Alpha2Server).GetControllerConfig(ctx, in)
  1912. }
  1913. info := &grpc.UnaryServerInfo{
  1914. Server: srv,
  1915. FullMethod: "/google.genomics.v1alpha2.PipelinesV1Alpha2/GetControllerConfig",
  1916. }
  1917. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1918. return srv.(PipelinesV1Alpha2Server).GetControllerConfig(ctx, req.(*GetControllerConfigRequest))
  1919. }
  1920. return interceptor(ctx, in, info, handler)
  1921. }
  1922. func _PipelinesV1Alpha2_SetOperationStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1923. in := new(SetOperationStatusRequest)
  1924. if err := dec(in); err != nil {
  1925. return nil, err
  1926. }
  1927. if interceptor == nil {
  1928. return srv.(PipelinesV1Alpha2Server).SetOperationStatus(ctx, in)
  1929. }
  1930. info := &grpc.UnaryServerInfo{
  1931. Server: srv,
  1932. FullMethod: "/google.genomics.v1alpha2.PipelinesV1Alpha2/SetOperationStatus",
  1933. }
  1934. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1935. return srv.(PipelinesV1Alpha2Server).SetOperationStatus(ctx, req.(*SetOperationStatusRequest))
  1936. }
  1937. return interceptor(ctx, in, info, handler)
  1938. }
  1939. var _PipelinesV1Alpha2_serviceDesc = grpc.ServiceDesc{
  1940. ServiceName: "google.genomics.v1alpha2.PipelinesV1Alpha2",
  1941. HandlerType: (*PipelinesV1Alpha2Server)(nil),
  1942. Methods: []grpc.MethodDesc{
  1943. {
  1944. MethodName: "CreatePipeline",
  1945. Handler: _PipelinesV1Alpha2_CreatePipeline_Handler,
  1946. },
  1947. {
  1948. MethodName: "RunPipeline",
  1949. Handler: _PipelinesV1Alpha2_RunPipeline_Handler,
  1950. },
  1951. {
  1952. MethodName: "GetPipeline",
  1953. Handler: _PipelinesV1Alpha2_GetPipeline_Handler,
  1954. },
  1955. {
  1956. MethodName: "ListPipelines",
  1957. Handler: _PipelinesV1Alpha2_ListPipelines_Handler,
  1958. },
  1959. {
  1960. MethodName: "DeletePipeline",
  1961. Handler: _PipelinesV1Alpha2_DeletePipeline_Handler,
  1962. },
  1963. {
  1964. MethodName: "GetControllerConfig",
  1965. Handler: _PipelinesV1Alpha2_GetControllerConfig_Handler,
  1966. },
  1967. {
  1968. MethodName: "SetOperationStatus",
  1969. Handler: _PipelinesV1Alpha2_SetOperationStatus_Handler,
  1970. },
  1971. },
  1972. Streams: []grpc.StreamDesc{},
  1973. Metadata: "google/genomics/v1alpha2/pipelines.proto",
  1974. }
  1975. func init() {
  1976. proto.RegisterFile("google/genomics/v1alpha2/pipelines.proto", fileDescriptor_pipelines_8146614aa6e9cb66)
  1977. }
  1978. var fileDescriptor_pipelines_8146614aa6e9cb66 = []byte{
  1979. // 2065 bytes of a gzipped FileDescriptorProto
  1980. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x4d, 0x73, 0xdb, 0xc8,
  1981. 0xd1, 0x36, 0x28, 0x4a, 0x22, 0x9a, 0x12, 0x45, 0xcf, 0xda, 0x6b, 0x9a, 0xf6, 0xbe, 0xb6, 0xe1,
  1982. 0x37, 0xbb, 0xb2, 0x9c, 0x22, 0x63, 0x79, 0x9d, 0xc8, 0x4a, 0xd5, 0xd6, 0x4a, 0x14, 0x2d, 0xb1,
  1983. 0x22, 0x4b, 0x0c, 0xa8, 0x55, 0xbe, 0x0e, 0xa8, 0x11, 0x38, 0x82, 0xb0, 0x02, 0x30, 0x08, 0x06,
  1984. 0x50, 0x59, 0x4e, 0x25, 0x55, 0x49, 0xe5, 0x90, 0xda, 0x4a, 0x2e, 0xc9, 0xfe, 0x88, 0x5c, 0x72,
  1985. 0xcc, 0xcf, 0xc8, 0x29, 0xa7, 0x9c, 0x72, 0xc9, 0x21, 0x3f, 0x21, 0xb9, 0xa5, 0x66, 0x06, 0x03,
  1986. 0x82, 0x1f, 0x92, 0xc8, 0xaa, 0x54, 0x6e, 0x33, 0x3d, 0xdd, 0x0f, 0x9e, 0xe9, 0xe9, 0xe9, 0xe9,
  1987. 0x06, 0xac, 0x3a, 0x94, 0x3a, 0x1e, 0x69, 0x3a, 0x24, 0xa0, 0xbe, 0x6b, 0xb3, 0xe6, 0xc5, 0x0b,
  1988. 0xec, 0x85, 0x67, 0x78, 0xbd, 0x19, 0xba, 0x21, 0xf1, 0xdc, 0x80, 0xb0, 0x46, 0x18, 0xd1, 0x98,
  1989. 0xa2, 0x9a, 0xd4, 0x6c, 0x28, 0xcd, 0x86, 0xd2, 0xac, 0x3f, 0x4c, 0x31, 0x70, 0xe8, 0x36, 0x71,
  1990. 0x10, 0xd0, 0x18, 0xc7, 0x2e, 0x0d, 0x52, 0xbb, 0xfa, 0xd3, 0x74, 0xd5, 0xa3, 0x81, 0x13, 0x25,
  1991. 0x41, 0xe0, 0x06, 0x4e, 0x93, 0x86, 0x24, 0x1a, 0x52, 0xfa, 0xbf, 0x54, 0x49, 0xcc, 0x4e, 0x92,
  1992. 0xd3, 0x66, 0x3f, 0x91, 0x0a, 0xe9, 0xfa, 0x83, 0xd1, 0x75, 0xe2, 0x87, 0xf1, 0x65, 0xba, 0xf8,
  1993. 0x68, 0x74, 0x31, 0x76, 0x7d, 0xc2, 0x62, 0xec, 0x87, 0xa9, 0xc2, 0xdd, 0x54, 0x21, 0x0a, 0xed,
  1994. 0xa6, 0x4d, 0xfb, 0x44, 0x8a, 0x8d, 0xaf, 0x34, 0x58, 0x6e, 0x51, 0x3f, 0x4c, 0x62, 0xd2, 0x0e,
  1995. 0x1c, 0x37, 0x20, 0xe8, 0x29, 0x2c, 0xbb, 0x01, 0x8b, 0x71, 0x60, 0x13, 0x2b, 0xc0, 0x3e, 0xa9,
  1996. 0x69, 0x8f, 0xb5, 0x55, 0xdd, 0x5c, 0x52, 0xc2, 0x03, 0xec, 0x13, 0x84, 0xa0, 0xf8, 0x9e, 0x06,
  1997. 0xa4, 0x56, 0x10, 0x6b, 0x62, 0x8c, 0x9e, 0xc0, 0x92, 0x8f, 0xed, 0x33, 0x37, 0x20, 0x56, 0x7c,
  1998. 0x19, 0x92, 0xda, 0x9c, 0x58, 0x2b, 0xa7, 0xb2, 0xa3, 0xcb, 0x90, 0xa0, 0x8f, 0x00, 0xfa, 0x2e,
  1999. 0x3b, 0x17, 0xb8, 0xac, 0x56, 0x7c, 0x3c, 0xb7, 0xaa, 0x9b, 0x3a, 0x97, 0x70, 0x50, 0x66, 0x60,
  2000. 0x58, 0x31, 0x93, 0x80, 0x33, 0x7f, 0x4b, 0x62, 0xdc, 0xc7, 0x31, 0x46, 0x07, 0x50, 0xb1, 0x25,
  2001. 0x3d, 0x8b, 0x08, 0x7e, 0x82, 0x4e, 0x79, 0xfd, 0x93, 0xc6, 0x55, 0x47, 0xd1, 0x18, 0xda, 0x8e,
  2002. 0xb9, 0x6c, 0xe7, 0xa7, 0xc6, 0x5f, 0xe6, 0xa0, 0xd4, 0x4d, 0x4f, 0x95, 0xd3, 0x09, 0x23, 0xfa,
  2003. 0x25, 0xb1, 0x63, 0xcb, 0xed, 0xa7, 0xfb, 0xd4, 0x53, 0x49, 0xa7, 0xcf, 0x37, 0x29, 0x1c, 0x90,
  2004. 0x6e, 0x92, 0x8f, 0xd1, 0x63, 0x28, 0xf7, 0x09, 0xb3, 0x23, 0x37, 0xe4, 0x27, 0xa3, 0xf6, 0x98,
  2005. 0x13, 0xa1, 0x63, 0xa8, 0xba, 0x41, 0x98, 0xc4, 0x56, 0x88, 0x23, 0xec, 0x93, 0x98, 0x44, 0xac,
  2006. 0x56, 0x7a, 0x3c, 0xb7, 0x5a, 0x5e, 0x7f, 0x7e, 0x35, 0x67, 0x45, 0xa9, 0xab, 0x6c, 0xcc, 0x15,
  2007. 0x01, 0x92, 0xcd, 0x19, 0xfa, 0x21, 0xdc, 0xa6, 0x49, 0x3c, 0x02, 0xac, 0xcf, 0x0e, 0x5c, 0x95,
  2008. 0x28, 0x39, 0xe4, 0x6d, 0x58, 0xe8, 0x53, 0xfb, 0x9c, 0x44, 0xb5, 0x79, 0xe1, 0xdb, 0xd5, 0xab,
  2009. 0xe1, 0x76, 0x84, 0x5e, 0xfb, 0x1d, 0xb1, 0x93, 0x98, 0x46, 0x7b, 0xb7, 0xcc, 0xd4, 0x12, 0x75,
  2010. 0x40, 0x8f, 0x08, 0xa3, 0x49, 0x64, 0x13, 0x56, 0x5b, 0x10, 0x30, 0x53, 0xb0, 0x32, 0x95, 0x89,
  2011. 0x39, 0xb0, 0x46, 0x8f, 0xa0, 0xac, 0xee, 0x1d, 0x3f, 0x96, 0x45, 0xe1, 0x62, 0x50, 0xa2, 0x4e,
  2012. 0x7f, 0x1b, 0xa0, 0x44, 0x52, 0x06, 0xc6, 0x0f, 0xe0, 0x6e, 0x2b, 0x22, 0x38, 0x26, 0x03, 0xc8,
  2013. 0x9f, 0x26, 0x84, 0xc5, 0xe8, 0x33, 0x28, 0x29, 0x93, 0x34, 0x64, 0x8c, 0x29, 0xf8, 0x64, 0x36,
  2014. 0xc6, 0x9f, 0x17, 0x44, 0x30, 0xaa, 0x95, 0xad, 0xc8, 0x61, 0x37, 0xc5, 0xcb, 0x5b, 0x58, 0x10,
  2015. 0x87, 0xc6, 0x6a, 0x05, 0x71, 0x2c, 0xaf, 0xae, 0xfe, 0xe0, 0x08, 0x72, 0xa3, 0x23, 0xec, 0xda,
  2016. 0x41, 0x1c, 0x5d, 0x9a, 0x29, 0x08, 0xea, 0xc2, 0xa2, 0x3c, 0x2a, 0x56, 0x9b, 0x13, 0x78, 0xdf,
  2017. 0x9e, 0x1e, 0xef, 0x50, 0x1a, 0x4a, 0x40, 0x05, 0x83, 0xbe, 0x0f, 0x2b, 0x8c, 0x44, 0x17, 0xae,
  2018. 0x4d, 0x2c, 0x6c, 0xdb, 0x34, 0x09, 0xe2, 0x5a, 0xf1, 0xa6, 0x13, 0xef, 0x49, 0x83, 0x2d, 0xa9,
  2019. 0x6f, 0x56, 0xd8, 0xd0, 0x1c, 0x3d, 0x00, 0xdd, 0xf6, 0x5c, 0x12, 0x08, 0x8f, 0xcc, 0x0b, 0x8f,
  2020. 0x94, 0xa4, 0xa0, 0xd3, 0xff, 0x6f, 0x06, 0xc5, 0x36, 0x2c, 0x7a, 0xd4, 0x71, 0xdc, 0xc0, 0x11,
  2021. 0x01, 0x71, 0x2d, 0xe5, 0x7d, 0xa9, 0x78, 0x28, 0xee, 0x23, 0x33, 0x95, 0x21, 0x3a, 0x81, 0x27,
  2022. 0xe7, 0x84, 0x84, 0xd6, 0x85, 0x6f, 0x61, 0xcf, 0xbd, 0x20, 0x16, 0x0d, 0xac, 0x53, 0xec, 0x7a,
  2023. 0x49, 0x44, 0x2c, 0x95, 0x6b, 0x6b, 0x25, 0x81, 0x7e, 0x5f, 0xa1, 0xab, 0x7c, 0xda, 0xd8, 0x49,
  2024. 0x15, 0xcc, 0x87, 0x1c, 0xe3, 0xd8, 0xdf, 0xe2, 0x08, 0x87, 0xc1, 0x1b, 0x69, 0xaf, 0x56, 0x79,
  2025. 0x0c, 0x78, 0xf8, 0x84, 0x78, 0xea, 0x6a, 0xce, 0x10, 0x03, 0xfb, 0xc2, 0x2e, 0x8d, 0x01, 0x09,
  2026. 0x52, 0x7f, 0x0d, 0xe5, 0x5c, 0x68, 0xa0, 0x2a, 0xcc, 0x9d, 0x93, 0xcb, 0x34, 0xf2, 0xf8, 0x10,
  2027. 0xdd, 0x81, 0xf9, 0x0b, 0xec, 0x25, 0x2a, 0x49, 0xc9, 0xc9, 0x66, 0x61, 0x43, 0xab, 0x6f, 0xc2,
  2028. 0x52, 0x3e, 0x0a, 0x66, 0xb2, 0x7d, 0x0d, 0xe5, 0x1c, 0x9b, 0x59, 0x4c, 0x8d, 0x7f, 0x6a, 0x80,
  2029. 0x72, 0x3b, 0x53, 0xd7, 0xf1, 0xc9, 0xf0, 0xa5, 0x16, 0x50, 0x7b, 0xb7, 0xf2, 0xd7, 0x1a, 0xf5,
  2030. 0x00, 0x91, 0xf0, 0x8c, 0xf8, 0x24, 0xc2, 0x9e, 0x95, 0xdd, 0xdd, 0xc2, 0xb4, 0x77, 0x77, 0xef,
  2031. 0x96, 0x79, 0x3b, 0xb3, 0xcf, 0x52, 0xfc, 0x01, 0x2c, 0x67, 0xdf, 0xc5, 0x91, 0xc3, 0x44, 0xc6,
  2032. 0x2e, 0xaf, 0x3f, 0x9b, 0xfa, 0x58, 0xcc, 0xa5, 0x30, 0x37, 0xe3, 0xb9, 0x27, 0x4b, 0x11, 0xaf,
  2033. 0x00, 0xed, 0x92, 0x78, 0x74, 0xa7, 0x8f, 0x26, 0xec, 0x34, 0xbf, 0x4f, 0xe3, 0xf7, 0x1a, 0xdc,
  2034. 0xd9, 0x77, 0x59, 0x66, 0xc8, 0x94, 0xe5, 0x0d, 0xe9, 0xe5, 0x11, 0x94, 0xf9, 0x13, 0x64, 0x85,
  2035. 0x11, 0x39, 0x75, 0xdf, 0xa5, 0x9e, 0x07, 0x2e, 0xea, 0x0a, 0x09, 0xbf, 0x8b, 0x21, 0x76, 0x88,
  2036. 0xc5, 0xdc, 0xf7, 0xf2, 0xf5, 0x9d, 0x37, 0x4b, 0x5c, 0xd0, 0x73, 0xdf, 0xcb, 0xb7, 0x8e, 0x2f,
  2037. 0xc6, 0xf4, 0x9c, 0x04, 0xe2, 0xda, 0x73, 0x70, 0xec, 0x90, 0x23, 0x2e, 0x30, 0x7e, 0xa9, 0xc1,
  2038. 0xdd, 0x11, 0x52, 0x2c, 0xa4, 0x01, 0x23, 0xe8, 0x73, 0xd0, 0xb3, 0x32, 0xa8, 0xa6, 0x89, 0xa0,
  2039. 0x9e, 0x26, 0x93, 0x0e, 0x8c, 0xd0, 0xc7, 0xb0, 0x12, 0x90, 0x77, 0xfc, 0xdd, 0xca, 0xbe, 0x2f,
  2040. 0xc9, 0x2f, 0x73, 0x71, 0x37, 0xe3, 0xb0, 0x01, 0x77, 0x77, 0x88, 0x47, 0xc6, 0x73, 0xf9, 0x8d,
  2041. 0x2e, 0xfd, 0x12, 0xea, 0xbb, 0x24, 0x6e, 0xd1, 0x20, 0x8e, 0xa8, 0xe7, 0x91, 0xa8, 0x45, 0x83,
  2042. 0x53, 0xd7, 0x19, 0xc4, 0xde, 0x52, 0x56, 0x6c, 0x0d, 0xec, 0xcb, 0x99, 0xac, 0xd3, 0x47, 0xcf,
  2043. 0xa0, 0x7a, 0x81, 0x3d, 0xb7, 0x2f, 0x75, 0x06, 0x1c, 0x8b, 0xe6, 0xca, 0x40, 0x2e, 0x59, 0xfe,
  2044. 0x6d, 0x01, 0xaa, 0xa3, 0x5f, 0xe2, 0xf7, 0xc1, 0xf5, 0xb1, 0xa3, 0x8a, 0x25, 0x39, 0xe1, 0xf7,
  2045. 0xc6, 0xf6, 0xfb, 0xe9, 0x66, 0xf9, 0x10, 0x3d, 0x86, 0x25, 0xc7, 0x66, 0x96, 0x47, 0x1d, 0x2b,
  2046. 0xc4, 0xf1, 0x59, 0x5a, 0x3f, 0x80, 0x63, 0xb3, 0x7d, 0xea, 0x74, 0x71, 0x7c, 0x36, 0x56, 0x45,
  2047. 0x15, 0xc7, 0xab, 0xa8, 0x3d, 0x28, 0x5e, 0xe0, 0x88, 0xd5, 0xe6, 0xc5, 0x61, 0x7c, 0x7a, 0x5d,
  2048. 0x25, 0x34, 0x4c, 0xb3, 0x71, 0x8c, 0xa3, 0x34, 0xc1, 0x08, 0x04, 0xf4, 0x3d, 0x98, 0xe7, 0xd5,
  2049. 0x17, 0x4f, 0xce, 0x37, 0x24, 0xab, 0x31, 0xa8, 0x1d, 0x6e, 0x27, 0xb1, 0x24, 0x06, 0xfa, 0x09,
  2050. 0x94, 0xf9, 0xde, 0x54, 0xbe, 0x5f, 0x14, 0x90, 0x9b, 0x33, 0x40, 0xee, 0xda, 0xac, 0x27, 0x8d,
  2051. 0x25, 0x2e, 0x77, 0x4b, 0x2a, 0x40, 0x5f, 0x80, 0x2e, 0xc0, 0xdd, 0xe0, 0x5c, 0x95, 0x53, 0x1b,
  2052. 0x33, 0x42, 0x73, 0x53, 0x09, 0x5c, 0x72, 0xd2, 0x69, 0x7d, 0x15, 0x2a, 0x26, 0x09, 0x79, 0xfd,
  2053. 0xd0, 0xef, 0xc5, 0x11, 0x7f, 0x24, 0x3e, 0x84, 0x05, 0x91, 0xcc, 0x64, 0xac, 0xeb, 0x66, 0x3a,
  2054. 0xab, 0x7f, 0x07, 0xf4, 0xcc, 0x7b, 0x33, 0xe5, 0xd2, 0x0d, 0x80, 0x81, 0xaf, 0x66, 0xb2, 0x7c,
  2055. 0x07, 0x2b, 0x23, 0x2e, 0x99, 0x60, 0x7e, 0x98, 0x37, 0x2f, 0xaf, 0xbf, 0x9e, 0xc1, 0x29, 0xc3,
  2056. 0x3b, 0xcf, 0x7f, 0xf9, 0x02, 0x96, 0x87, 0x3c, 0xf6, 0x3f, 0xfa, 0xae, 0xe1, 0x41, 0xe5, 0x48,
  2057. 0xf5, 0x2d, 0xed, 0x0b, 0x12, 0xc4, 0xa3, 0xf5, 0xb6, 0x36, 0x5e, 0x6f, 0x6f, 0x80, 0x9e, 0xf5,
  2058. 0x3a, 0x29, 0x99, 0xfa, 0xd8, 0xeb, 0x9d, 0xa1, 0x9a, 0x03, 0x65, 0xe3, 0xeb, 0x02, 0xdc, 0xef,
  2059. 0x91, 0xf8, 0x50, 0xe5, 0x81, 0x5e, 0x8c, 0xe3, 0x84, 0xcd, 0x90, 0x35, 0x7a, 0x50, 0xcd, 0xd0,
  2060. 0x2c, 0xc2, 0xf9, 0xaa, 0xd2, 0xef, 0x9a, 0xea, 0x64, 0x78, 0x83, 0xe6, 0x4a, 0x3c, 0x34, 0x67,
  2061. 0xa8, 0x09, 0x40, 0xa2, 0x88, 0x46, 0x16, 0xef, 0xd2, 0x44, 0x82, 0xa8, 0xac, 0x57, 0x15, 0x5c,
  2062. 0x14, 0xda, 0x8d, 0x16, 0xed, 0x13, 0x53, 0x17, 0x3a, 0x7c, 0xc8, 0x1b, 0x36, 0x69, 0xe0, 0x13,
  2063. 0xc6, 0x78, 0x0e, 0x92, 0x29, 0x63, 0x49, 0x08, 0xdf, 0x4a, 0xd9, 0xc4, 0x04, 0x37, 0x3f, 0x39,
  2064. 0xc1, 0x7d, 0x06, 0x95, 0xe1, 0xa2, 0x8f, 0x87, 0x28, 0xf1, 0xb1, 0xeb, 0xa9, 0xec, 0x26, 0x26,
  2065. 0xfc, 0xa6, 0x30, 0x9b, 0x86, 0x44, 0xee, 0x59, 0x37, 0xd3, 0x99, 0xf1, 0x1c, 0x2a, 0xc3, 0x15,
  2066. 0x18, 0xba, 0x0f, 0xfc, 0xc6, 0xc9, 0x8c, 0x27, 0x21, 0x16, 0x1d, 0x9b, 0xf1, 0x74, 0x67, 0xfc,
  2067. 0xbd, 0x08, 0xb7, 0xc7, 0x0a, 0x3f, 0xb4, 0x06, 0xb7, 0x7d, 0x37, 0x70, 0xfd, 0xc4, 0xb7, 0xec,
  2068. 0x30, 0xb1, 0x6c, 0x1a, 0x89, 0xfb, 0xc8, 0x5f, 0xb4, 0x95, 0x74, 0xa1, 0x15, 0x26, 0x2d, 0x2e,
  2069. 0xe6, 0x11, 0x12, 0x46, 0x84, 0xf7, 0xc2, 0xee, 0x89, 0x27, 0xc3, 0xb1, 0x64, 0xe6, 0x45, 0xe8,
  2070. 0xff, 0xa1, 0xa2, 0xd0, 0x22, 0xec, 0x5b, 0xce, 0x89, 0xf0, 0xaa, 0x66, 0x2e, 0xa5, 0x52, 0x13,
  2071. 0xfb, 0xbb, 0x27, 0xe8, 0x8d, 0xca, 0x85, 0x45, 0x71, 0x82, 0xdf, 0x9a, 0xa1, 0x50, 0x15, 0xc9,
  2072. 0x50, 0xa5, 0xc1, 0x3b, 0x30, 0xcf, 0xdb, 0x61, 0x99, 0x9e, 0x75, 0x53, 0x4e, 0xd0, 0x33, 0xb8,
  2073. 0x7d, 0x42, 0x69, 0x6c, 0x89, 0xf6, 0x97, 0x3f, 0xd0, 0x9c, 0xc6, 0x82, 0xd8, 0x51, 0x85, 0x2f,
  2074. 0x70, 0x04, 0xfe, 0x4e, 0xef, 0x9e, 0xf0, 0x97, 0x3a, 0xa0, 0x16, 0xee, 0xf7, 0x23, 0xc2, 0x98,
  2075. 0xa8, 0x76, 0x4b, 0xa6, 0x1e, 0xd0, 0x2d, 0x29, 0xa8, 0xff, 0xa9, 0x00, 0x45, 0xae, 0x9d, 0xb5,
  2076. 0xa7, 0x5a, 0xae, 0x3d, 0xed, 0x40, 0x51, 0xbc, 0x1a, 0x05, 0x11, 0x36, 0xaf, 0x66, 0xdd, 0x43,
  2077. 0x83, 0xbf, 0x2f, 0xa6, 0x80, 0x40, 0xf7, 0x60, 0x51, 0xf1, 0x94, 0xb5, 0xc4, 0x02, 0x93, 0xfc,
  2078. 0xf8, 0xb9, 0x0b, 0x9b, 0x34, 0xd0, 0xd2, 0x19, 0x7f, 0xa5, 0x71, 0x12, 0x53, 0xab, 0x2f, 0xde,
  2079. 0x70, 0xb1, 0xb9, 0x92, 0x09, 0x5c, 0x24, 0x5f, 0x75, 0xae, 0xe0, 0xf3, 0x78, 0xb2, 0x42, 0xea,
  2080. 0x06, 0xb1, 0xa8, 0xb4, 0x75, 0x13, 0x84, 0xa8, 0xcb, 0x25, 0x46, 0x0f, 0x8a, 0xe2, 0x81, 0xbb,
  2081. 0x03, 0xd5, 0xa3, 0x1f, 0x75, 0xdb, 0xd6, 0x17, 0x07, 0xbd, 0x6e, 0xbb, 0xd5, 0x79, 0xd3, 0x69,
  2082. 0xef, 0x54, 0x6f, 0x21, 0x04, 0x95, 0x6e, 0xdb, 0xec, 0x75, 0x7a, 0x47, 0xed, 0x83, 0x23, 0x6b,
  2083. 0x6f, 0x67, 0xa7, 0xaa, 0x8d, 0xc8, 0x7a, 0xbd, 0x9d, 0x6a, 0x01, 0x2d, 0x83, 0xbe, 0x7f, 0xd8,
  2084. 0xda, 0xda, 0x17, 0xd3, 0x39, 0xe3, 0xdf, 0xda, 0x20, 0xc2, 0xb2, 0xa6, 0x77, 0xa2, 0xf3, 0x46,
  2085. 0x72, 0x4d, 0x61, 0x3c, 0xd7, 0x3c, 0x85, 0xe5, 0x3e, 0x39, 0xc5, 0x89, 0x17, 0x5b, 0x32, 0xf9,
  2086. 0xc9, 0x8e, 0x67, 0x29, 0x15, 0x1e, 0x73, 0x19, 0x3a, 0x02, 0xf0, 0xa8, 0x8d, 0x3d, 0xcb, 0xa6,
  2087. 0xe1, 0x65, 0xda, 0xf6, 0xbc, 0x9a, 0xa1, 0x43, 0x6f, 0xec, 0x73, 0xeb, 0x16, 0x0d, 0x2f, 0x4d,
  2088. 0xdd, 0x53, 0xc3, 0xfa, 0x4b, 0xd0, 0x33, 0x39, 0x67, 0x9f, 0xbb, 0x4c, 0x62, 0xcc, 0x65, 0x3c,
  2089. 0xb8, 0xd4, 0xdf, 0x0a, 0x3e, 0x36, 0xb6, 0xa0, 0x32, 0xdc, 0xb1, 0xf3, 0xe0, 0x12, 0xb5, 0x49,
  2090. 0xfe, 0xd7, 0x8e, 0x2e, 0x24, 0xe2, 0xbf, 0xce, 0x58, 0xc5, 0xb2, 0xfe, 0x9b, 0xd2, 0xc0, 0x7d,
  2091. 0xec, 0xf8, 0xc5, 0x96, 0x20, 0x8d, 0x7e, 0xab, 0x41, 0x65, 0xb8, 0xef, 0x46, 0xcd, 0x6b, 0x5e,
  2092. 0x80, 0x49, 0x1d, 0x7a, 0x7d, 0x8a, 0x2a, 0xd2, 0xf8, 0xc6, 0xaf, 0xfe, 0xfa, 0x8f, 0x3f, 0x14,
  2093. 0x1e, 0x19, 0x1f, 0x4c, 0xf8, 0x27, 0xb7, 0x99, 0x55, 0xe2, 0xe8, 0x17, 0x50, 0xce, 0x95, 0xed,
  2094. 0xe8, 0x9b, 0x53, 0x55, 0xf7, 0x8a, 0xc7, 0x47, 0x4a, 0x3b, 0xf7, 0x77, 0xae, 0x91, 0x3d, 0x0a,
  2095. 0x86, 0x21, 0x28, 0x3c, 0x34, 0xee, 0x4d, 0xa2, 0x10, 0x25, 0xc1, 0xa6, 0xb6, 0x86, 0xbe, 0xd2,
  2096. 0xa0, 0x9c, 0x6b, 0x05, 0xae, 0x23, 0x30, 0xde, 0x31, 0x4c, 0xe5, 0x88, 0x67, 0x82, 0xc5, 0x53,
  2097. 0xf4, 0x64, 0x02, 0x8b, 0xe6, 0xcf, 0x72, 0xd5, 0xf1, 0xcf, 0xd1, 0xef, 0x34, 0x58, 0x1e, 0x2a,
  2098. 0xe5, 0x51, 0xe3, 0x9a, 0x5e, 0x79, 0x42, 0x23, 0x52, 0x6f, 0x4e, 0xad, 0x2f, 0x7b, 0x04, 0xe3,
  2099. 0x81, 0x60, 0x77, 0x17, 0x4d, 0x3a, 0x26, 0xf4, 0x6b, 0x0d, 0x2a, 0xc3, 0x75, 0xfd, 0x75, 0xb1,
  2100. 0x32, 0xb1, 0x03, 0xa8, 0x7f, 0x38, 0xf6, 0xa2, 0xb7, 0xfd, 0x30, 0xbe, 0x54, 0x6e, 0x59, 0x9b,
  2101. 0xc2, 0x2d, 0x7f, 0xd4, 0xe0, 0x83, 0x09, 0x4d, 0x02, 0xfa, 0xf4, 0xda, 0xb3, 0xba, 0xa2, 0xa7,
  2102. 0xa8, 0xaf, 0x4d, 0x5f, 0xef, 0x18, 0x4d, 0x41, 0xf2, 0x19, 0xfa, 0x64, 0x52, 0x04, 0x39, 0x13,
  2103. 0x28, 0x7d, 0xad, 0x01, 0x1a, 0x2f, 0x4c, 0xd0, 0xcb, 0xeb, 0xfe, 0xd2, 0x5c, 0x51, 0xc6, 0x5c,
  2104. 0xe9, 0xb9, 0x17, 0x82, 0xd4, 0xf3, 0xfa, 0xc7, 0x93, 0x48, 0xb1, 0x31, 0xb8, 0x4d, 0x6d, 0x6d,
  2105. 0x3b, 0x84, 0x7b, 0x36, 0xf5, 0x27, 0x91, 0xd8, 0xae, 0x64, 0x31, 0xd1, 0xe5, 0x9f, 0xe9, 0x6a,
  2106. 0x3f, 0xfe, 0x5c, 0xa9, 0x51, 0x0f, 0x07, 0x4e, 0x83, 0x46, 0x4e, 0xd3, 0x21, 0x81, 0x20, 0xd1,
  2107. 0x94, 0x4b, 0x38, 0x74, 0xd9, 0xf8, 0x3f, 0xf7, 0xef, 0x2a, 0xc9, 0xbf, 0x34, 0xed, 0x64, 0x41,
  2108. 0xe8, 0xbf, 0xfc, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x13, 0x10, 0x96, 0x1d, 0xa2, 0x17, 0x00,
  2109. 0x00,
  2110. }