genomics

package
v0.0.0-...-8b5d7a1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PipelineResources_Disk_Type_name = map[int32]string{
	0: "TYPE_UNSPECIFIED",
	1: "PERSISTENT_HDD",
	2: "PERSISTENT_SSD",
	3: "LOCAL_SSD",
}
View Source
var PipelineResources_Disk_Type_value = map[string]int32{
	"TYPE_UNSPECIFIED": 0,
	"PERSISTENT_HDD":   1,
	"PERSISTENT_SSD":   2,
	"LOCAL_SSD":        3,
}

Functions

func RegisterPipelinesV1Alpha2Server

func RegisterPipelinesV1Alpha2Server(s *grpc.Server, srv PipelinesV1Alpha2Server)

Types

type ComputeEngine

type ComputeEngine struct {
	// The instance on which the operation is running.
	InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"`
	// The availability zone in which the instance resides.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The machine type of the instance.
	MachineType string `protobuf:"bytes,3,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
	// The names of the disks that were created for this pipeline.
	DiskNames            []string `protobuf:"bytes,4,rep,name=disk_names,json=diskNames,proto3" json:"disk_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Describes a Compute Engine resource that is being managed by a running [pipeline][google.genomics.v1alpha2.Pipeline].

func (*ComputeEngine) Descriptor

func (*ComputeEngine) Descriptor() ([]byte, []int)

func (*ComputeEngine) GetDiskNames

func (m *ComputeEngine) GetDiskNames() []string

func (*ComputeEngine) GetInstanceName

func (m *ComputeEngine) GetInstanceName() string

func (*ComputeEngine) GetMachineType

func (m *ComputeEngine) GetMachineType() string

func (*ComputeEngine) GetZone

func (m *ComputeEngine) GetZone() string

func (*ComputeEngine) ProtoMessage

func (*ComputeEngine) ProtoMessage()

func (*ComputeEngine) Reset

func (m *ComputeEngine) Reset()

func (*ComputeEngine) String

func (m *ComputeEngine) String() string

func (*ComputeEngine) XXX_DiscardUnknown

func (m *ComputeEngine) XXX_DiscardUnknown()

func (*ComputeEngine) XXX_Marshal

func (m *ComputeEngine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComputeEngine) XXX_Merge

func (m *ComputeEngine) XXX_Merge(src proto.Message)

func (*ComputeEngine) XXX_Size

func (m *ComputeEngine) XXX_Size() int

func (*ComputeEngine) XXX_Unmarshal

func (m *ComputeEngine) XXX_Unmarshal(b []byte) error

type ControllerConfig

type ControllerConfig struct {
	Image                string                                      `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	Cmd                  string                                      `protobuf:"bytes,2,opt,name=cmd,proto3" json:"cmd,omitempty"`
	GcsLogPath           string                                      `protobuf:"bytes,3,opt,name=gcs_log_path,json=gcsLogPath,proto3" json:"gcs_log_path,omitempty"`
	MachineType          string                                      `protobuf:"bytes,4,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
	Vars                 map[string]string                           `` /* 149-byte string literal not displayed */
	Disks                map[string]string                           `` /* 151-byte string literal not displayed */
	GcsSources           map[string]*ControllerConfig_RepeatedString `` /* 179-byte string literal not displayed */
	GcsSinks             map[string]*ControllerConfig_RepeatedString `` /* 173-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                    `json:"-"`
	XXX_unrecognized     []byte                                      `json:"-"`
	XXX_sizecache        int32                                       `json:"-"`
}

Stores the information that the controller will fetch from the server in order to run. Should only be used by VMs created by the Pipelines Service and not by end users.

func (*ControllerConfig) Descriptor

func (*ControllerConfig) Descriptor() ([]byte, []int)

func (*ControllerConfig) GetCmd

func (m *ControllerConfig) GetCmd() string

func (*ControllerConfig) GetDisks

func (m *ControllerConfig) GetDisks() map[string]string

func (*ControllerConfig) GetGcsLogPath

func (m *ControllerConfig) GetGcsLogPath() string

func (*ControllerConfig) GetGcsSinks

func (*ControllerConfig) GetGcsSources

func (*ControllerConfig) GetImage

func (m *ControllerConfig) GetImage() string

func (*ControllerConfig) GetMachineType

func (m *ControllerConfig) GetMachineType() string

func (*ControllerConfig) GetVars

func (m *ControllerConfig) GetVars() map[string]string

func (*ControllerConfig) ProtoMessage

func (*ControllerConfig) ProtoMessage()

func (*ControllerConfig) Reset

func (m *ControllerConfig) Reset()

func (*ControllerConfig) String

func (m *ControllerConfig) String() string

func (*ControllerConfig) XXX_DiscardUnknown

func (m *ControllerConfig) XXX_DiscardUnknown()

func (*ControllerConfig) XXX_Marshal

func (m *ControllerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ControllerConfig) XXX_Merge

func (m *ControllerConfig) XXX_Merge(src proto.Message)

func (*ControllerConfig) XXX_Size

func (m *ControllerConfig) XXX_Size() int

func (*ControllerConfig) XXX_Unmarshal

func (m *ControllerConfig) XXX_Unmarshal(b []byte) error

type ControllerConfig_RepeatedString

type ControllerConfig_RepeatedString struct {
	Values               []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ControllerConfig_RepeatedString) Descriptor

func (*ControllerConfig_RepeatedString) Descriptor() ([]byte, []int)

func (*ControllerConfig_RepeatedString) GetValues

func (m *ControllerConfig_RepeatedString) GetValues() []string

func (*ControllerConfig_RepeatedString) ProtoMessage

func (*ControllerConfig_RepeatedString) ProtoMessage()

func (*ControllerConfig_RepeatedString) Reset

func (*ControllerConfig_RepeatedString) String

func (*ControllerConfig_RepeatedString) XXX_DiscardUnknown

func (m *ControllerConfig_RepeatedString) XXX_DiscardUnknown()

func (*ControllerConfig_RepeatedString) XXX_Marshal

func (m *ControllerConfig_RepeatedString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ControllerConfig_RepeatedString) XXX_Merge

func (m *ControllerConfig_RepeatedString) XXX_Merge(src proto.Message)

func (*ControllerConfig_RepeatedString) XXX_Size

func (m *ControllerConfig_RepeatedString) XXX_Size() int

func (*ControllerConfig_RepeatedString) XXX_Unmarshal

func (m *ControllerConfig_RepeatedString) XXX_Unmarshal(b []byte) error

type CreatePipelineRequest

type CreatePipelineRequest struct {
	// The pipeline to create. Should not have `pipelineId` populated.
	Pipeline             *Pipeline `protobuf:"bytes,1,opt,name=pipeline,proto3" json:"pipeline,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

The request to create a pipeline. The pipeline field here should not have `pipelineId` populated, as that will be populated by the server.

func (*CreatePipelineRequest) Descriptor

func (*CreatePipelineRequest) Descriptor() ([]byte, []int)

func (*CreatePipelineRequest) GetPipeline

func (m *CreatePipelineRequest) GetPipeline() *Pipeline

func (*CreatePipelineRequest) ProtoMessage

func (*CreatePipelineRequest) ProtoMessage()

func (*CreatePipelineRequest) Reset

func (m *CreatePipelineRequest) Reset()

func (*CreatePipelineRequest) String

func (m *CreatePipelineRequest) String() string

func (*CreatePipelineRequest) XXX_DiscardUnknown

func (m *CreatePipelineRequest) XXX_DiscardUnknown()

func (*CreatePipelineRequest) XXX_Marshal

func (m *CreatePipelineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreatePipelineRequest) XXX_Merge

func (m *CreatePipelineRequest) XXX_Merge(src proto.Message)

func (*CreatePipelineRequest) XXX_Size

func (m *CreatePipelineRequest) XXX_Size() int

func (*CreatePipelineRequest) XXX_Unmarshal

func (m *CreatePipelineRequest) XXX_Unmarshal(b []byte) error

type DeletePipelineRequest

type DeletePipelineRequest struct {
	// Caller must have WRITE access to the project in which this pipeline
	// is defined.
	PipelineId           string   `protobuf:"bytes,1,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request to delete a saved pipeline by ID.

func (*DeletePipelineRequest) Descriptor

func (*DeletePipelineRequest) Descriptor() ([]byte, []int)

func (*DeletePipelineRequest) GetPipelineId

func (m *DeletePipelineRequest) GetPipelineId() string

func (*DeletePipelineRequest) ProtoMessage

func (*DeletePipelineRequest) ProtoMessage()

func (*DeletePipelineRequest) Reset

func (m *DeletePipelineRequest) Reset()

func (*DeletePipelineRequest) String

func (m *DeletePipelineRequest) String() string

func (*DeletePipelineRequest) XXX_DiscardUnknown

func (m *DeletePipelineRequest) XXX_DiscardUnknown()

func (*DeletePipelineRequest) XXX_Marshal

func (m *DeletePipelineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeletePipelineRequest) XXX_Merge

func (m *DeletePipelineRequest) XXX_Merge(src proto.Message)

func (*DeletePipelineRequest) XXX_Size

func (m *DeletePipelineRequest) XXX_Size() int

func (*DeletePipelineRequest) XXX_Unmarshal

func (m *DeletePipelineRequest) XXX_Unmarshal(b []byte) error

type DockerExecutor

type DockerExecutor struct {
	// Required. Image name from either Docker Hub or Google Container Registry.
	// Users that run pipelines must have READ access to the image.
	ImageName string `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
	// Required. The command or newline delimited script to run. The command
	// string will be executed within a bash shell.
	//
	// If the command exits with a non-zero exit code, output parameter
	// de-localization will be skipped and the pipeline operation's
	// [`error`][google.longrunning.Operation.error] field will be populated.
	//
	// Maximum command string length is 16384.
	Cmd                  string   `protobuf:"bytes,2,opt,name=cmd,proto3" json:"cmd,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The Docker execuctor specification.

func (*DockerExecutor) Descriptor

func (*DockerExecutor) Descriptor() ([]byte, []int)

func (*DockerExecutor) GetCmd

func (m *DockerExecutor) GetCmd() string

func (*DockerExecutor) GetImageName

func (m *DockerExecutor) GetImageName() string

func (*DockerExecutor) ProtoMessage

func (*DockerExecutor) ProtoMessage()

func (*DockerExecutor) Reset

func (m *DockerExecutor) Reset()

func (*DockerExecutor) String

func (m *DockerExecutor) String() string

func (*DockerExecutor) XXX_DiscardUnknown

func (m *DockerExecutor) XXX_DiscardUnknown()

func (*DockerExecutor) XXX_Marshal

func (m *DockerExecutor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DockerExecutor) XXX_Merge

func (m *DockerExecutor) XXX_Merge(src proto.Message)

func (*DockerExecutor) XXX_Size

func (m *DockerExecutor) XXX_Size() int

func (*DockerExecutor) XXX_Unmarshal

func (m *DockerExecutor) XXX_Unmarshal(b []byte) error

type GetControllerConfigRequest

type GetControllerConfigRequest struct {
	// The operation to retrieve controller configuration for.
	OperationId          string   `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	ValidationToken      uint64   `protobuf:"varint,2,opt,name=validation_token,json=validationToken,proto3" json:"validation_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to get controller configuation. Should only be used by VMs created by the Pipelines Service and not by end users.

func (*GetControllerConfigRequest) Descriptor

func (*GetControllerConfigRequest) Descriptor() ([]byte, []int)

func (*GetControllerConfigRequest) GetOperationId

func (m *GetControllerConfigRequest) GetOperationId() string

func (*GetControllerConfigRequest) GetValidationToken

func (m *GetControllerConfigRequest) GetValidationToken() uint64

func (*GetControllerConfigRequest) ProtoMessage

func (*GetControllerConfigRequest) ProtoMessage()

func (*GetControllerConfigRequest) Reset

func (m *GetControllerConfigRequest) Reset()

func (*GetControllerConfigRequest) String

func (m *GetControllerConfigRequest) String() string

func (*GetControllerConfigRequest) XXX_DiscardUnknown

func (m *GetControllerConfigRequest) XXX_DiscardUnknown()

func (*GetControllerConfigRequest) XXX_Marshal

func (m *GetControllerConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetControllerConfigRequest) XXX_Merge

func (m *GetControllerConfigRequest) XXX_Merge(src proto.Message)

func (*GetControllerConfigRequest) XXX_Size

func (m *GetControllerConfigRequest) XXX_Size() int

func (*GetControllerConfigRequest) XXX_Unmarshal

func (m *GetControllerConfigRequest) XXX_Unmarshal(b []byte) error

type GetPipelineRequest

type GetPipelineRequest struct {
	// Caller must have READ access to the project in which this pipeline
	// is defined.
	PipelineId           string   `protobuf:"bytes,1,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A request to get a saved pipeline by id.

func (*GetPipelineRequest) Descriptor

func (*GetPipelineRequest) Descriptor() ([]byte, []int)

func (*GetPipelineRequest) GetPipelineId

func (m *GetPipelineRequest) GetPipelineId() string

func (*GetPipelineRequest) ProtoMessage

func (*GetPipelineRequest) ProtoMessage()

func (*GetPipelineRequest) Reset

func (m *GetPipelineRequest) Reset()

func (*GetPipelineRequest) String

func (m *GetPipelineRequest) String() string

func (*GetPipelineRequest) XXX_DiscardUnknown

func (m *GetPipelineRequest) XXX_DiscardUnknown()

func (*GetPipelineRequest) XXX_Marshal

func (m *GetPipelineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPipelineRequest) XXX_Merge

func (m *GetPipelineRequest) XXX_Merge(src proto.Message)

func (*GetPipelineRequest) XXX_Size

func (m *GetPipelineRequest) XXX_Size() int

func (*GetPipelineRequest) XXX_Unmarshal

func (m *GetPipelineRequest) XXX_Unmarshal(b []byte) error

type ListPipelinesRequest

type ListPipelinesRequest struct {
	// Required. The name of the project to search for pipelines. Caller
	// must have READ access to this project.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Pipelines with names that match this prefix should be
	// returned.  If unspecified, all pipelines in the project, up to
	// `pageSize`, will be returned.
	NamePrefix string `protobuf:"bytes,2,opt,name=name_prefix,json=namePrefix,proto3" json:"name_prefix,omitempty"`
	// Number of pipelines to return at once. Defaults to 256, and max
	// is 2048.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token to use to indicate where to start getting results.
	// If unspecified, returns the first page of results.
	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A request to list pipelines in a given project. Pipelines can be filtered by name using `namePrefix`: all pipelines with names that begin with `namePrefix` will be returned. Uses standard pagination: `pageSize` indicates how many pipelines to return, and `pageToken` comes from a previous ListPipelinesResponse to indicate offset.

func (*ListPipelinesRequest) Descriptor

func (*ListPipelinesRequest) Descriptor() ([]byte, []int)

func (*ListPipelinesRequest) GetNamePrefix

func (m *ListPipelinesRequest) GetNamePrefix() string

func (*ListPipelinesRequest) GetPageSize

func (m *ListPipelinesRequest) GetPageSize() int32

func (*ListPipelinesRequest) GetPageToken

func (m *ListPipelinesRequest) GetPageToken() string

func (*ListPipelinesRequest) GetProjectId

func (m *ListPipelinesRequest) GetProjectId() string

func (*ListPipelinesRequest) ProtoMessage

func (*ListPipelinesRequest) ProtoMessage()

func (*ListPipelinesRequest) Reset

func (m *ListPipelinesRequest) Reset()

func (*ListPipelinesRequest) String

func (m *ListPipelinesRequest) String() string

func (*ListPipelinesRequest) XXX_DiscardUnknown

func (m *ListPipelinesRequest) XXX_DiscardUnknown()

func (*ListPipelinesRequest) XXX_Marshal

func (m *ListPipelinesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPipelinesRequest) XXX_Merge

func (m *ListPipelinesRequest) XXX_Merge(src proto.Message)

func (*ListPipelinesRequest) XXX_Size

func (m *ListPipelinesRequest) XXX_Size() int

func (*ListPipelinesRequest) XXX_Unmarshal

func (m *ListPipelinesRequest) XXX_Unmarshal(b []byte) error

type ListPipelinesResponse

type ListPipelinesResponse struct {
	// The matched pipelines.
	Pipelines []*Pipeline `protobuf:"bytes,1,rep,name=pipelines,proto3" json:"pipelines,omitempty"`
	// The token to use to get the next page of results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The response of ListPipelines. Contains at most `pageSize` pipelines. If it contains `pageSize` pipelines, and more pipelines exist, then `nextPageToken` will be populated and should be used as the `pageToken` argument to a subsequent ListPipelines request.

func (*ListPipelinesResponse) Descriptor

func (*ListPipelinesResponse) Descriptor() ([]byte, []int)

func (*ListPipelinesResponse) GetNextPageToken

func (m *ListPipelinesResponse) GetNextPageToken() string

func (*ListPipelinesResponse) GetPipelines

func (m *ListPipelinesResponse) GetPipelines() []*Pipeline

func (*ListPipelinesResponse) ProtoMessage

func (*ListPipelinesResponse) ProtoMessage()

func (*ListPipelinesResponse) Reset

func (m *ListPipelinesResponse) Reset()

func (*ListPipelinesResponse) String

func (m *ListPipelinesResponse) String() string

func (*ListPipelinesResponse) XXX_DiscardUnknown

func (m *ListPipelinesResponse) XXX_DiscardUnknown()

func (*ListPipelinesResponse) XXX_Marshal

func (m *ListPipelinesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPipelinesResponse) XXX_Merge

func (m *ListPipelinesResponse) XXX_Merge(src proto.Message)

func (*ListPipelinesResponse) XXX_Size

func (m *ListPipelinesResponse) XXX_Size() int

func (*ListPipelinesResponse) XXX_Unmarshal

func (m *ListPipelinesResponse) XXX_Unmarshal(b []byte) error

type LoggingOptions

type LoggingOptions struct {
	// The location in Google Cloud Storage to which the pipeline logs
	// will be copied. Can be specified as a fully qualified directory
	// path, in which case logs will be output with a unique identifier
	// as the filename in that directory, or as a fully specified path,
	// which must end in `.log`, in which case that path will be
	// used, and the user must ensure that logs are not
	// overwritten. Stdout and stderr logs from the run are also
	// generated and output as `-stdout.log` and `-stderr.log`.
	GcsPath              string   `protobuf:"bytes,1,opt,name=gcs_path,json=gcsPath,proto3" json:"gcs_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The logging options for the pipeline run.

func (*LoggingOptions) Descriptor

func (*LoggingOptions) Descriptor() ([]byte, []int)

func (*LoggingOptions) GetGcsPath

func (m *LoggingOptions) GetGcsPath() string

func (*LoggingOptions) ProtoMessage

func (*LoggingOptions) ProtoMessage()

func (*LoggingOptions) Reset

func (m *LoggingOptions) Reset()

func (*LoggingOptions) String

func (m *LoggingOptions) String() string

func (*LoggingOptions) XXX_DiscardUnknown

func (m *LoggingOptions) XXX_DiscardUnknown()

func (*LoggingOptions) XXX_Marshal

func (m *LoggingOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoggingOptions) XXX_Merge

func (m *LoggingOptions) XXX_Merge(src proto.Message)

func (*LoggingOptions) XXX_Size

func (m *LoggingOptions) XXX_Size() int

func (*LoggingOptions) XXX_Unmarshal

func (m *LoggingOptions) XXX_Unmarshal(b []byte) error

type Pipeline

type Pipeline struct {
	// Required. The project in which to create the pipeline. The caller must have
	// WRITE access.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Required. A user specified pipeline name that does not have to be unique.
	// This name can be used for filtering Pipelines in ListPipelines.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// User-specified description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Input parameters of the pipeline.
	InputParameters []*PipelineParameter `protobuf:"bytes,8,rep,name=input_parameters,json=inputParameters,proto3" json:"input_parameters,omitempty"`
	// Output parameters of the pipeline.
	OutputParameters []*PipelineParameter `protobuf:"bytes,9,rep,name=output_parameters,json=outputParameters,proto3" json:"output_parameters,omitempty"`
	// Required. The executor indicates in which environment the pipeline runs.
	//
	// Types that are valid to be assigned to Executor:
	//	*Pipeline_Docker
	Executor isPipeline_Executor `protobuf_oneof:"executor"`
	// Required. Specifies resource requirements for the pipeline run.
	// Required fields:
	//
	// *
	// [minimumCpuCores][google.genomics.v1alpha2.PipelineResources.minimum_cpu_cores]
	//
	// *
	// [minimumRamGb][google.genomics.v1alpha2.PipelineResources.minimum_ram_gb]
	Resources *PipelineResources `protobuf:"bytes,6,opt,name=resources,proto3" json:"resources,omitempty"`
	// Unique pipeline id that is generated by the service when CreatePipeline
	// is called. Cannot be specified in the Pipeline used in the
	// CreatePipelineRequest, and will be populated in the response to
	// CreatePipeline and all subsequent Get and List calls. Indicates that the
	// service has registered this pipeline.
	PipelineId           string   `protobuf:"bytes,7,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The pipeline object. Represents a transformation from a set of input parameters to a set of output parameters. The transformation is defined as a docker image and command to run within that image. Each pipeline is run on a Google Compute Engine VM. A pipeline can be created with the `create` method and then later run with the `run` method, or a pipeline can be defined and run all at once with the `run` method.

func (*Pipeline) Descriptor

func (*Pipeline) Descriptor() ([]byte, []int)

func (*Pipeline) GetDescription

func (m *Pipeline) GetDescription() string

func (*Pipeline) GetDocker

func (m *Pipeline) GetDocker() *DockerExecutor

func (*Pipeline) GetExecutor

func (m *Pipeline) GetExecutor() isPipeline_Executor

func (*Pipeline) GetInputParameters

func (m *Pipeline) GetInputParameters() []*PipelineParameter

func (*Pipeline) GetName

func (m *Pipeline) GetName() string

func (*Pipeline) GetOutputParameters

func (m *Pipeline) GetOutputParameters() []*PipelineParameter

func (*Pipeline) GetPipelineId

func (m *Pipeline) GetPipelineId() string

func (*Pipeline) GetProjectId

func (m *Pipeline) GetProjectId() string

func (*Pipeline) GetResources

func (m *Pipeline) GetResources() *PipelineResources

func (*Pipeline) ProtoMessage

func (*Pipeline) ProtoMessage()

func (*Pipeline) Reset

func (m *Pipeline) Reset()

func (*Pipeline) String

func (m *Pipeline) String() string

func (*Pipeline) XXX_DiscardUnknown

func (m *Pipeline) XXX_DiscardUnknown()

func (*Pipeline) XXX_Marshal

func (m *Pipeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pipeline) XXX_Merge

func (m *Pipeline) XXX_Merge(src proto.Message)

func (*Pipeline) XXX_OneofFuncs

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{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Pipeline) XXX_Size

func (m *Pipeline) XXX_Size() int

func (*Pipeline) XXX_Unmarshal

func (m *Pipeline) XXX_Unmarshal(b []byte) error

type PipelineParameter

type PipelineParameter struct {
	// Required. Name of the parameter - the pipeline runner uses this string
	// as the key to the input and output maps in RunPipeline.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Human-readable description.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The default value for this parameter. Can be overridden at runtime.
	// If `localCopy` is present, then this must be a Google Cloud Storage path
	// beginning with `gs://`.
	DefaultValue string `protobuf:"bytes,5,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// If present, this parameter is marked for copying to and from the VM.
	// `LocalCopy` indicates where on the VM the file should be. The value
	// given to this parameter (either at runtime or using `defaultValue`)
	// must be the remote path where the file should be.
	LocalCopy            *PipelineParameter_LocalCopy `protobuf:"bytes,6,opt,name=local_copy,json=localCopy,proto3" json:"local_copy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

Parameters facilitate setting and delivering data into the pipeline's execution environment. They are defined at create time, with optional defaults, and can be overridden at run time.

If `localCopy` is unset, then the parameter specifies a string that is passed as-is into the pipeline, as the value of the environment variable with the given name. A default value can be optionally specified at create time. The default can be overridden at run time using the inputs map. If no default is given, a value must be supplied at runtime.

If `localCopy` is defined, then the parameter specifies a data source or sink, both in Google Cloud Storage and on the Docker container where the pipeline computation is run. The [service account associated with the Pipeline][google.genomics.v1alpha2.RunPipelineArgs.service_account] (by default the project's Compute Engine service account) must have access to the Google Cloud Storage paths.

At run time, the Google Cloud Storage paths can be overridden if a default was provided at create time, or must be set otherwise. The pipeline runner should add a key/value pair to either the inputs or outputs map. The indicated data copies will be carried out before/after pipeline execution, just as if the corresponding arguments were provided to `gsutil cp`.

For example: Given the following `PipelineParameter`, specified in the `inputParameters` list:

``` {name: "input_file", localCopy: {path: "file.txt", disk: "pd1"}} ```

where `disk` is defined in the `PipelineResources` object as:

``` {name: "pd1", mountPoint: "/mnt/disk/"} ```

We create a disk named `pd1`, mount it on the host VM, and map `/mnt/pd1` to `/mnt/disk` in the docker container. At runtime, an entry for `input_file` would be required in the inputs map, such as:

```

inputs["input_file"] = "gs://my-bucket/bar.txt"

```

This would generate the following gsutil call:

```

gsutil cp gs://my-bucket/bar.txt /mnt/pd1/file.txt

```

The file `/mnt/pd1/file.txt` maps to `/mnt/disk/file.txt` in the Docker container. Acceptable paths are:

<table>

<thead>
  <tr><th>Google Cloud storage path</th><th>Local path</th></tr>
</thead>
<tbody>
  <tr><td>file</td><td>file</td></tr>
  <tr><td>glob</td><td>directory</td></tr>
</tbody>

</table>

For outputs, the direction of the copy is reversed:

```

gsutil cp /mnt/disk/file.txt gs://my-bucket/bar.txt

```

Acceptable paths are:

<table>

<thead>
  <tr><th>Local path</th><th>Google Cloud Storage path</th></tr>
</thead>
<tbody>
  <tr><td>file</td><td>file</td></tr>
  <tr>
    <td>file</td>
    <td>directory - directory must already exist</td>
  </tr>
  <tr>
    <td>glob</td>
    <td>directory - directory will be created if it doesn't exist</td></tr>
</tbody>

</table>

One restriction due to docker limitations, is that for outputs that are found on the boot disk, the local path cannot be a glob and must be a file.

func (*PipelineParameter) Descriptor

func (*PipelineParameter) Descriptor() ([]byte, []int)

func (*PipelineParameter) GetDefaultValue

func (m *PipelineParameter) GetDefaultValue() string

func (*PipelineParameter) GetDescription

func (m *PipelineParameter) GetDescription() string

func (*PipelineParameter) GetLocalCopy

func (*PipelineParameter) GetName

func (m *PipelineParameter) GetName() string

func (*PipelineParameter) ProtoMessage

func (*PipelineParameter) ProtoMessage()

func (*PipelineParameter) Reset

func (m *PipelineParameter) Reset()

func (*PipelineParameter) String

func (m *PipelineParameter) String() string

func (*PipelineParameter) XXX_DiscardUnknown

func (m *PipelineParameter) XXX_DiscardUnknown()

func (*PipelineParameter) XXX_Marshal

func (m *PipelineParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PipelineParameter) XXX_Merge

func (m *PipelineParameter) XXX_Merge(src proto.Message)

func (*PipelineParameter) XXX_Size

func (m *PipelineParameter) XXX_Size() int

func (*PipelineParameter) XXX_Unmarshal

func (m *PipelineParameter) XXX_Unmarshal(b []byte) error

type PipelineParameter_LocalCopy

type PipelineParameter_LocalCopy struct {
	// Required. The path within the user's docker container where
	// this input should be localized to and from, relative to the specified
	// disk's mount point. For example: file.txt,
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Required. The name of the disk where this parameter is
	// located. Can be the name of one of the disks specified in the
	// Resources field, or "boot", which represents the Docker
	// instance's boot disk and has a mount point of `/`.
	Disk                 string   `protobuf:"bytes,2,opt,name=disk,proto3" json:"disk,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

LocalCopy defines how a remote file should be copied to and from the VM.

func (*PipelineParameter_LocalCopy) Descriptor

func (*PipelineParameter_LocalCopy) Descriptor() ([]byte, []int)

func (*PipelineParameter_LocalCopy) GetDisk

func (m *PipelineParameter_LocalCopy) GetDisk() string

func (*PipelineParameter_LocalCopy) GetPath

func (m *PipelineParameter_LocalCopy) GetPath() string

func (*PipelineParameter_LocalCopy) ProtoMessage

func (*PipelineParameter_LocalCopy) ProtoMessage()

func (*PipelineParameter_LocalCopy) Reset

func (m *PipelineParameter_LocalCopy) Reset()

func (*PipelineParameter_LocalCopy) String

func (m *PipelineParameter_LocalCopy) String() string

func (*PipelineParameter_LocalCopy) XXX_DiscardUnknown

func (m *PipelineParameter_LocalCopy) XXX_DiscardUnknown()

func (*PipelineParameter_LocalCopy) XXX_Marshal

func (m *PipelineParameter_LocalCopy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PipelineParameter_LocalCopy) XXX_Merge

func (m *PipelineParameter_LocalCopy) XXX_Merge(src proto.Message)

func (*PipelineParameter_LocalCopy) XXX_Size

func (m *PipelineParameter_LocalCopy) XXX_Size() int

func (*PipelineParameter_LocalCopy) XXX_Unmarshal

func (m *PipelineParameter_LocalCopy) XXX_Unmarshal(b []byte) error

type PipelineResources

type PipelineResources struct {
	// The minimum number of cores to use. Defaults to 1.
	MinimumCpuCores int32 `protobuf:"varint,1,opt,name=minimum_cpu_cores,json=minimumCpuCores,proto3" json:"minimum_cpu_cores,omitempty"`
	// Whether to use preemptible VMs. Defaults to `false`. In order to use this,
	// must be true for both create time and run time. Cannot be true at run time
	// if false at create time.
	Preemptible bool `protobuf:"varint,2,opt,name=preemptible,proto3" json:"preemptible,omitempty"`
	// The minimum amount of RAM to use. Defaults to 3.75 (GB)
	MinimumRamGb float64 `protobuf:"fixed64,3,opt,name=minimum_ram_gb,json=minimumRamGb,proto3" json:"minimum_ram_gb,omitempty"`
	// Disks to attach.
	Disks []*PipelineResources_Disk `protobuf:"bytes,4,rep,name=disks,proto3" json:"disks,omitempty"`
	// List of Google Compute Engine availability zones to which resource
	// creation will restricted. If empty, any zone may be chosen.
	Zones []string `protobuf:"bytes,5,rep,name=zones,proto3" json:"zones,omitempty"`
	// The size of the boot disk. Defaults to 10 (GB).
	BootDiskSizeGb int32 `protobuf:"varint,6,opt,name=boot_disk_size_gb,json=bootDiskSizeGb,proto3" json:"boot_disk_size_gb,omitempty"`
	// Whether to assign an external IP to the instance. This is an experimental
	// feature that may go away. Defaults to false.
	// Corresponds to `--no_address` flag for [gcloud compute instances create]
	// (https://cloud.google.com/sdk/gcloud/reference/compute/instances/create).
	// In order to use this, must be true for both create time and run time.
	// Cannot be true at run time if false at create time. If you need to ssh into
	// a private IP VM for debugging, you can ssh to a public VM and then ssh into
	// the private VM's Internal IP.  If noAddress is set, this pipeline run may
	// only load docker images from Google Container Registry and not Docker Hub.
	// ** Note: To use this option, your project must be in Google Access for
	// Private IPs Early Access Program.**
	NoAddress            bool     `protobuf:"varint,7,opt,name=no_address,json=noAddress,proto3" json:"no_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The system resources for the pipeline run.

func (*PipelineResources) Descriptor

func (*PipelineResources) Descriptor() ([]byte, []int)

func (*PipelineResources) GetBootDiskSizeGb

func (m *PipelineResources) GetBootDiskSizeGb() int32

func (*PipelineResources) GetDisks

func (m *PipelineResources) GetDisks() []*PipelineResources_Disk

func (*PipelineResources) GetMinimumCpuCores

func (m *PipelineResources) GetMinimumCpuCores() int32

func (*PipelineResources) GetMinimumRamGb

func (m *PipelineResources) GetMinimumRamGb() float64

func (*PipelineResources) GetNoAddress

func (m *PipelineResources) GetNoAddress() bool

func (*PipelineResources) GetPreemptible

func (m *PipelineResources) GetPreemptible() bool

func (*PipelineResources) GetZones

func (m *PipelineResources) GetZones() []string

func (*PipelineResources) ProtoMessage

func (*PipelineResources) ProtoMessage()

func (*PipelineResources) Reset

func (m *PipelineResources) Reset()

func (*PipelineResources) String

func (m *PipelineResources) String() string

func (*PipelineResources) XXX_DiscardUnknown

func (m *PipelineResources) XXX_DiscardUnknown()

func (*PipelineResources) XXX_Marshal

func (m *PipelineResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PipelineResources) XXX_Merge

func (m *PipelineResources) XXX_Merge(src proto.Message)

func (*PipelineResources) XXX_Size

func (m *PipelineResources) XXX_Size() int

func (*PipelineResources) XXX_Unmarshal

func (m *PipelineResources) XXX_Unmarshal(b []byte) error

type PipelineResources_Disk

type PipelineResources_Disk struct {
	// Required. The name of the disk that can be used in the pipeline
	// parameters. Must be 1 - 63 characters.
	// The name "boot" is reserved for system use.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The type of the disk to create.
	Type PipelineResources_Disk_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.genomics.v1alpha2.PipelineResources_Disk_Type" json:"type,omitempty"`
	// The size of the disk. Defaults to 500 (GB).
	// This field is not applicable for local SSD.
	SizeGb int32 `protobuf:"varint,3,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
	// The full or partial URL of the persistent disk to attach. See
	// https://cloud.google.com/compute/docs/reference/latest/instances#resource
	// and
	// https://cloud.google.com/compute/docs/disks/persistent-disks#snapshots
	// for more details.
	Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
	// Deprecated. Disks created by the Pipelines API will be deleted at the end
	// of the pipeline run, regardless of what this field is set to.
	AutoDelete bool `protobuf:"varint,6,opt,name=auto_delete,json=autoDelete,proto3" json:"auto_delete,omitempty"`
	// Required at create time and cannot be overridden at run time.
	// Specifies the path in the docker container where files on
	// this disk should be located. For example, if `mountPoint`
	// is `/mnt/disk`, and the parameter has `localPath`
	// `inputs/file.txt`, the docker container can access the data at
	// `/mnt/disk/inputs/file.txt`.
	MountPoint           string   `protobuf:"bytes,8,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A Google Compute Engine disk resource specification.

func (*PipelineResources_Disk) Descriptor

func (*PipelineResources_Disk) Descriptor() ([]byte, []int)

func (*PipelineResources_Disk) GetAutoDelete

func (m *PipelineResources_Disk) GetAutoDelete() bool

func (*PipelineResources_Disk) GetMountPoint

func (m *PipelineResources_Disk) GetMountPoint() string

func (*PipelineResources_Disk) GetName

func (m *PipelineResources_Disk) GetName() string

func (*PipelineResources_Disk) GetSizeGb

func (m *PipelineResources_Disk) GetSizeGb() int32

func (*PipelineResources_Disk) GetSource

func (m *PipelineResources_Disk) GetSource() string

func (*PipelineResources_Disk) GetType

func (*PipelineResources_Disk) ProtoMessage

func (*PipelineResources_Disk) ProtoMessage()

func (*PipelineResources_Disk) Reset

func (m *PipelineResources_Disk) Reset()

func (*PipelineResources_Disk) String

func (m *PipelineResources_Disk) String() string

func (*PipelineResources_Disk) XXX_DiscardUnknown

func (m *PipelineResources_Disk) XXX_DiscardUnknown()

func (*PipelineResources_Disk) XXX_Marshal

func (m *PipelineResources_Disk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PipelineResources_Disk) XXX_Merge

func (m *PipelineResources_Disk) XXX_Merge(src proto.Message)

func (*PipelineResources_Disk) XXX_Size

func (m *PipelineResources_Disk) XXX_Size() int

func (*PipelineResources_Disk) XXX_Unmarshal

func (m *PipelineResources_Disk) XXX_Unmarshal(b []byte) error

type PipelineResources_Disk_Type

type PipelineResources_Disk_Type int32

The types of disks that may be attached to VMs.

const (
	// Default disk type. Use one of the other options below.
	PipelineResources_Disk_TYPE_UNSPECIFIED PipelineResources_Disk_Type = 0
	// Specifies a Google Compute Engine persistent hard disk. See
	// https://cloud.google.com/compute/docs/disks/#pdspecs for details.
	PipelineResources_Disk_PERSISTENT_HDD PipelineResources_Disk_Type = 1
	// Specifies a Google Compute Engine persistent solid-state disk. See
	// https://cloud.google.com/compute/docs/disks/#pdspecs for details.
	PipelineResources_Disk_PERSISTENT_SSD PipelineResources_Disk_Type = 2
	// Specifies a Google Compute Engine local SSD.
	// See https://cloud.google.com/compute/docs/disks/local-ssd for details.
	PipelineResources_Disk_LOCAL_SSD PipelineResources_Disk_Type = 3
)

func (PipelineResources_Disk_Type) EnumDescriptor

func (PipelineResources_Disk_Type) EnumDescriptor() ([]byte, []int)

func (PipelineResources_Disk_Type) String

type Pipeline_Docker

type Pipeline_Docker struct {
	Docker *DockerExecutor `protobuf:"bytes,5,opt,name=docker,proto3,oneof"`
}

type PipelinesV1Alpha2Client

type PipelinesV1Alpha2Client interface {
	// Creates a pipeline that can be run later. Create takes a Pipeline that
	// has all fields other than `pipelineId` populated, and then returns
	// the same pipeline with `pipelineId` populated. This id can be used
	// to run the pipeline.
	//
	// Caller must have WRITE permission to the project.
	CreatePipeline(ctx context.Context, in *CreatePipelineRequest, opts ...grpc.CallOption) (*Pipeline, error)
	// Runs a pipeline. If `pipelineId` is specified in the request, then
	// run a saved pipeline. If `ephemeralPipeline` is specified, then run
	// that pipeline once without saving a copy.
	//
	// The caller must have READ permission to the project where the pipeline
	// is stored and WRITE permission to the project where the pipeline will be
	// run, as VMs will be created and storage will be used.
	RunPipeline(ctx context.Context, in *RunPipelineRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Retrieves a pipeline based on ID.
	//
	// Caller must have READ permission to the project.
	GetPipeline(ctx context.Context, in *GetPipelineRequest, opts ...grpc.CallOption) (*Pipeline, error)
	// Lists pipelines.
	//
	// Caller must have READ permission to the project.
	ListPipelines(ctx context.Context, in *ListPipelinesRequest, opts ...grpc.CallOption) (*ListPipelinesResponse, error)
	// Deletes a pipeline based on ID.
	//
	// Caller must have WRITE permission to the project.
	DeletePipeline(ctx context.Context, in *DeletePipelineRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Gets controller configuration information. Should only be called
	// by VMs created by the Pipelines Service and not by end users.
	GetControllerConfig(ctx context.Context, in *GetControllerConfigRequest, opts ...grpc.CallOption) (*ControllerConfig, error)
	// Sets status of a given operation. Any new timestamps (as determined by
	// description) are appended to TimestampEvents. Should only be called by VMs
	// created by the Pipelines Service and not by end users.
	SetOperationStatus(ctx context.Context, in *SetOperationStatusRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

PipelinesV1Alpha2Client is the client API for PipelinesV1Alpha2 service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPipelinesV1Alpha2Client

func NewPipelinesV1Alpha2Client(cc *grpc.ClientConn) PipelinesV1Alpha2Client

type PipelinesV1Alpha2Server

type PipelinesV1Alpha2Server interface {
	// Creates a pipeline that can be run later. Create takes a Pipeline that
	// has all fields other than `pipelineId` populated, and then returns
	// the same pipeline with `pipelineId` populated. This id can be used
	// to run the pipeline.
	//
	// Caller must have WRITE permission to the project.
	CreatePipeline(context.Context, *CreatePipelineRequest) (*Pipeline, error)
	// Runs a pipeline. If `pipelineId` is specified in the request, then
	// run a saved pipeline. If `ephemeralPipeline` is specified, then run
	// that pipeline once without saving a copy.
	//
	// The caller must have READ permission to the project where the pipeline
	// is stored and WRITE permission to the project where the pipeline will be
	// run, as VMs will be created and storage will be used.
	RunPipeline(context.Context, *RunPipelineRequest) (*longrunning.Operation, error)
	// Retrieves a pipeline based on ID.
	//
	// Caller must have READ permission to the project.
	GetPipeline(context.Context, *GetPipelineRequest) (*Pipeline, error)
	// Lists pipelines.
	//
	// Caller must have READ permission to the project.
	ListPipelines(context.Context, *ListPipelinesRequest) (*ListPipelinesResponse, error)
	// Deletes a pipeline based on ID.
	//
	// Caller must have WRITE permission to the project.
	DeletePipeline(context.Context, *DeletePipelineRequest) (*empty.Empty, error)
	// Gets controller configuration information. Should only be called
	// by VMs created by the Pipelines Service and not by end users.
	GetControllerConfig(context.Context, *GetControllerConfigRequest) (*ControllerConfig, error)
	// Sets status of a given operation. Any new timestamps (as determined by
	// description) are appended to TimestampEvents. Should only be called by VMs
	// created by the Pipelines Service and not by end users.
	SetOperationStatus(context.Context, *SetOperationStatusRequest) (*empty.Empty, error)
}

PipelinesV1Alpha2Server is the server API for PipelinesV1Alpha2 service.

type RunPipelineArgs

type RunPipelineArgs struct {
	// Required. The project in which to run the pipeline. The caller must have
	// WRITER access to all Google Cloud services and resources (e.g. Google
	// Compute Engine) will be used.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Pipeline input arguments; keys are defined in the pipeline documentation.
	// All input parameters that do not have default values  must be specified.
	// If parameters with defaults are specified here, the defaults will be
	// overridden.
	Inputs map[string]string `` /* 153-byte string literal not displayed */
	// Pipeline output arguments; keys are defined in the pipeline
	// documentation.  All output parameters of without default values
	// must be specified.  If parameters with defaults are specified
	// here, the defaults will be overridden.
	Outputs map[string]string `` /* 155-byte string literal not displayed */
	// The Google Cloud Service Account that will be used to access data and
	// services. By default, the compute service account associated with
	// `projectId` is used.
	ServiceAccount *ServiceAccount `protobuf:"bytes,4,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// This field is deprecated. Use `labels` instead. Client-specified pipeline
	// operation identifier.
	ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// Specifies resource requirements/overrides for the pipeline run.
	Resources *PipelineResources `protobuf:"bytes,6,opt,name=resources,proto3" json:"resources,omitempty"`
	// Required. Logging options. Used by the service to communicate results
	// to the user.
	Logging *LoggingOptions `protobuf:"bytes,7,opt,name=logging,proto3" json:"logging,omitempty"`
	// How long to keep the VM up after a failure (for example docker command
	// failed, copying input or output files failed, etc). While the VM is up, one
	// can ssh into the VM to debug. Default is 0; maximum allowed value is 1 day.
	KeepVmAliveOnFailureDuration *duration.Duration `` /* 153-byte string literal not displayed */
	// Labels to apply to this pipeline run. Labels will also be applied to
	// compute resources (VM, disks) created by this pipeline run. When listing
	// operations, operations can [filtered by labels]
	// [google.longrunning.ListOperationsRequest.filter].
	// Label keys may not be empty; label values may be empty. Non-empty labels
	// must be 1-63 characters long, and comply with [RFC1035]
	// (https://www.ietf.org/rfc/rfc1035.txt).
	// Specifically, the name must be 1-63 characters long and match the regular
	// expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
	// character must be a lowercase letter, and all following characters must be
	// a dash, lowercase letter, or digit, except the last character, which cannot
	// be a dash.
	Labels               map[string]string `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

The pipeline run arguments.

func (*RunPipelineArgs) Descriptor

func (*RunPipelineArgs) Descriptor() ([]byte, []int)

func (*RunPipelineArgs) GetClientId

func (m *RunPipelineArgs) GetClientId() string

func (*RunPipelineArgs) GetInputs

func (m *RunPipelineArgs) GetInputs() map[string]string

func (*RunPipelineArgs) GetKeepVmAliveOnFailureDuration

func (m *RunPipelineArgs) GetKeepVmAliveOnFailureDuration() *duration.Duration

func (*RunPipelineArgs) GetLabels

func (m *RunPipelineArgs) GetLabels() map[string]string

func (*RunPipelineArgs) GetLogging

func (m *RunPipelineArgs) GetLogging() *LoggingOptions

func (*RunPipelineArgs) GetOutputs

func (m *RunPipelineArgs) GetOutputs() map[string]string

func (*RunPipelineArgs) GetProjectId

func (m *RunPipelineArgs) GetProjectId() string

func (*RunPipelineArgs) GetResources

func (m *RunPipelineArgs) GetResources() *PipelineResources

func (*RunPipelineArgs) GetServiceAccount

func (m *RunPipelineArgs) GetServiceAccount() *ServiceAccount

func (*RunPipelineArgs) ProtoMessage

func (*RunPipelineArgs) ProtoMessage()

func (*RunPipelineArgs) Reset

func (m *RunPipelineArgs) Reset()

func (*RunPipelineArgs) String

func (m *RunPipelineArgs) String() string

func (*RunPipelineArgs) XXX_DiscardUnknown

func (m *RunPipelineArgs) XXX_DiscardUnknown()

func (*RunPipelineArgs) XXX_Marshal

func (m *RunPipelineArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunPipelineArgs) XXX_Merge

func (m *RunPipelineArgs) XXX_Merge(src proto.Message)

func (*RunPipelineArgs) XXX_Size

func (m *RunPipelineArgs) XXX_Size() int

func (*RunPipelineArgs) XXX_Unmarshal

func (m *RunPipelineArgs) XXX_Unmarshal(b []byte) error

type RunPipelineRequest

type RunPipelineRequest struct {
	// Types that are valid to be assigned to Pipeline:
	//	*RunPipelineRequest_PipelineId
	//	*RunPipelineRequest_EphemeralPipeline
	Pipeline isRunPipelineRequest_Pipeline `protobuf_oneof:"pipeline"`
	// The arguments to use when running this pipeline.
	PipelineArgs         *RunPipelineArgs `protobuf:"bytes,3,opt,name=pipeline_args,json=pipelineArgs,proto3" json:"pipeline_args,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

The request to run a pipeline. If `pipelineId` is specified, it refers to a saved pipeline created with CreatePipeline and set as the `pipelineId` of the returned Pipeline object. If `ephemeralPipeline` is specified, that pipeline is run once with the given args and not saved. It is an error to specify both `pipelineId` and `ephemeralPipeline`. `pipelineArgs` must be specified.

func (*RunPipelineRequest) Descriptor

func (*RunPipelineRequest) Descriptor() ([]byte, []int)

func (*RunPipelineRequest) GetEphemeralPipeline

func (m *RunPipelineRequest) GetEphemeralPipeline() *Pipeline

func (*RunPipelineRequest) GetPipeline

func (m *RunPipelineRequest) GetPipeline() isRunPipelineRequest_Pipeline

func (*RunPipelineRequest) GetPipelineArgs

func (m *RunPipelineRequest) GetPipelineArgs() *RunPipelineArgs

func (*RunPipelineRequest) GetPipelineId

func (m *RunPipelineRequest) GetPipelineId() string

func (*RunPipelineRequest) ProtoMessage

func (*RunPipelineRequest) ProtoMessage()

func (*RunPipelineRequest) Reset

func (m *RunPipelineRequest) Reset()

func (*RunPipelineRequest) String

func (m *RunPipelineRequest) String() string

func (*RunPipelineRequest) XXX_DiscardUnknown

func (m *RunPipelineRequest) XXX_DiscardUnknown()

func (*RunPipelineRequest) XXX_Marshal

func (m *RunPipelineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunPipelineRequest) XXX_Merge

func (m *RunPipelineRequest) XXX_Merge(src proto.Message)

func (*RunPipelineRequest) XXX_OneofFuncs

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{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*RunPipelineRequest) XXX_Size

func (m *RunPipelineRequest) XXX_Size() int

func (*RunPipelineRequest) XXX_Unmarshal

func (m *RunPipelineRequest) XXX_Unmarshal(b []byte) error

type RunPipelineRequest_EphemeralPipeline

type RunPipelineRequest_EphemeralPipeline struct {
	EphemeralPipeline *Pipeline `protobuf:"bytes,2,opt,name=ephemeral_pipeline,json=ephemeralPipeline,proto3,oneof"`
}

type RunPipelineRequest_PipelineId

type RunPipelineRequest_PipelineId struct {
	PipelineId string `protobuf:"bytes,1,opt,name=pipeline_id,json=pipelineId,proto3,oneof"`
}

type RuntimeMetadata

type RuntimeMetadata struct {
	// Execution information specific to Google Compute Engine.
	ComputeEngine        *ComputeEngine `protobuf:"bytes,1,opt,name=compute_engine,json=computeEngine,proto3" json:"compute_engine,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Runtime metadata that will be populated in the [runtimeMetadata][google.genomics.v1.OperationMetadata.runtime_metadata] field of the Operation associated with a RunPipeline execution.

func (*RuntimeMetadata) Descriptor

func (*RuntimeMetadata) Descriptor() ([]byte, []int)

func (*RuntimeMetadata) GetComputeEngine

func (m *RuntimeMetadata) GetComputeEngine() *ComputeEngine

func (*RuntimeMetadata) ProtoMessage

func (*RuntimeMetadata) ProtoMessage()

func (*RuntimeMetadata) Reset

func (m *RuntimeMetadata) Reset()

func (*RuntimeMetadata) String

func (m *RuntimeMetadata) String() string

func (*RuntimeMetadata) XXX_DiscardUnknown

func (m *RuntimeMetadata) XXX_DiscardUnknown()

func (*RuntimeMetadata) XXX_Marshal

func (m *RuntimeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeMetadata) XXX_Merge

func (m *RuntimeMetadata) XXX_Merge(src proto.Message)

func (*RuntimeMetadata) XXX_Size

func (m *RuntimeMetadata) XXX_Size() int

func (*RuntimeMetadata) XXX_Unmarshal

func (m *RuntimeMetadata) XXX_Unmarshal(b []byte) error

type ServiceAccount

type ServiceAccount struct {
	// Email address of the service account. Defaults to `default`,
	// which uses the compute service account associated with the project.
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// List of scopes to be enabled for this service account on the VM.
	// The following scopes are automatically included:
	//
	// * https://www.googleapis.com/auth/compute
	// * https://www.googleapis.com/auth/devstorage.full_control
	// * https://www.googleapis.com/auth/genomics
	// * https://www.googleapis.com/auth/logging.write
	// * https://www.googleapis.com/auth/monitoring.write
	Scopes               []string `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A Google Cloud Service Account.

func (*ServiceAccount) Descriptor

func (*ServiceAccount) Descriptor() ([]byte, []int)

func (*ServiceAccount) GetEmail

func (m *ServiceAccount) GetEmail() string

func (*ServiceAccount) GetScopes

func (m *ServiceAccount) GetScopes() []string

func (*ServiceAccount) ProtoMessage

func (*ServiceAccount) ProtoMessage()

func (*ServiceAccount) Reset

func (m *ServiceAccount) Reset()

func (*ServiceAccount) String

func (m *ServiceAccount) String() string

func (*ServiceAccount) XXX_DiscardUnknown

func (m *ServiceAccount) XXX_DiscardUnknown()

func (*ServiceAccount) XXX_Marshal

func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceAccount) XXX_Merge

func (m *ServiceAccount) XXX_Merge(src proto.Message)

func (*ServiceAccount) XXX_Size

func (m *ServiceAccount) XXX_Size() int

func (*ServiceAccount) XXX_Unmarshal

func (m *ServiceAccount) XXX_Unmarshal(b []byte) error

type SetOperationStatusRequest

type SetOperationStatusRequest struct {
	OperationId          string            `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	TimestampEvents      []*TimestampEvent `protobuf:"bytes,2,rep,name=timestamp_events,json=timestampEvents,proto3" json:"timestamp_events,omitempty"`
	ErrorCode            code.Code         `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3,enum=google.rpc.Code" json:"error_code,omitempty"`
	ErrorMessage         string            `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	ValidationToken      uint64            `protobuf:"varint,5,opt,name=validation_token,json=validationToken,proto3" json:"validation_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Request to set operation status. Should only be used by VMs created by the Pipelines Service and not by end users.

func (*SetOperationStatusRequest) Descriptor

func (*SetOperationStatusRequest) Descriptor() ([]byte, []int)

func (*SetOperationStatusRequest) GetErrorCode

func (m *SetOperationStatusRequest) GetErrorCode() code.Code

func (*SetOperationStatusRequest) GetErrorMessage

func (m *SetOperationStatusRequest) GetErrorMessage() string

func (*SetOperationStatusRequest) GetOperationId

func (m *SetOperationStatusRequest) GetOperationId() string

func (*SetOperationStatusRequest) GetTimestampEvents

func (m *SetOperationStatusRequest) GetTimestampEvents() []*TimestampEvent

func (*SetOperationStatusRequest) GetValidationToken

func (m *SetOperationStatusRequest) GetValidationToken() uint64

func (*SetOperationStatusRequest) ProtoMessage

func (*SetOperationStatusRequest) ProtoMessage()

func (*SetOperationStatusRequest) Reset

func (m *SetOperationStatusRequest) Reset()

func (*SetOperationStatusRequest) String

func (m *SetOperationStatusRequest) String() string

func (*SetOperationStatusRequest) XXX_DiscardUnknown

func (m *SetOperationStatusRequest) XXX_DiscardUnknown()

func (*SetOperationStatusRequest) XXX_Marshal

func (m *SetOperationStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetOperationStatusRequest) XXX_Merge

func (m *SetOperationStatusRequest) XXX_Merge(src proto.Message)

func (*SetOperationStatusRequest) XXX_Size

func (m *SetOperationStatusRequest) XXX_Size() int

func (*SetOperationStatusRequest) XXX_Unmarshal

func (m *SetOperationStatusRequest) XXX_Unmarshal(b []byte) error

type TimestampEvent

type TimestampEvent struct {
	// String indicating the type of event
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// The time this event occured.
	Timestamp            *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Stores the list of events and times they occured for major events in job execution.

func (*TimestampEvent) Descriptor

func (*TimestampEvent) Descriptor() ([]byte, []int)

func (*TimestampEvent) GetDescription

func (m *TimestampEvent) GetDescription() string

func (*TimestampEvent) GetTimestamp

func (m *TimestampEvent) GetTimestamp() *timestamp.Timestamp

func (*TimestampEvent) ProtoMessage

func (*TimestampEvent) ProtoMessage()

func (*TimestampEvent) Reset

func (m *TimestampEvent) Reset()

func (*TimestampEvent) String

func (m *TimestampEvent) String() string

func (*TimestampEvent) XXX_DiscardUnknown

func (m *TimestampEvent) XXX_DiscardUnknown()

func (*TimestampEvent) XXX_Marshal

func (m *TimestampEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimestampEvent) XXX_Merge

func (m *TimestampEvent) XXX_Merge(src proto.Message)

func (*TimestampEvent) XXX_Size

func (m *TimestampEvent) XXX_Size() int

func (*TimestampEvent) XXX_Unmarshal

func (m *TimestampEvent) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL