2313 lines
95 KiB
Go
2313 lines
95 KiB
Go
// Copyright 2018 The Kubeflow Authors
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.26.0
|
|
// protoc v3.17.3
|
|
// source: backend/api/v1beta1/pipeline.proto
|
|
|
|
package go_client
|
|
|
|
import (
|
|
context "context"
|
|
_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options"
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type Url struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// URL of the pipeline definition or the pipeline version definition.
|
|
PipelineUrl string `protobuf:"bytes,1,opt,name=pipeline_url,json=pipelineUrl,proto3" json:"pipeline_url,omitempty"`
|
|
}
|
|
|
|
func (x *Url) Reset() {
|
|
*x = Url{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Url) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Url) ProtoMessage() {}
|
|
|
|
func (x *Url) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Url.ProtoReflect.Descriptor instead.
|
|
func (*Url) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Url) GetPipelineUrl() string {
|
|
if x != nil {
|
|
return x.PipelineUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Create pipeline by providing an URL pointing to the pipeline file,
|
|
// and optionally a pipeline name. If name is not provided, file name is used as
|
|
// pipeline name by default. Maximum size of 32MB is supported.
|
|
type CreatePipelineRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Pipeline *Pipeline `protobuf:"bytes,1,opt,name=pipeline,proto3" json:"pipeline,omitempty"`
|
|
}
|
|
|
|
func (x *CreatePipelineRequest) Reset() {
|
|
*x = CreatePipelineRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreatePipelineRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreatePipelineRequest) ProtoMessage() {}
|
|
|
|
func (x *CreatePipelineRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreatePipelineRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreatePipelineRequest) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CreatePipelineRequest) GetPipeline() *Pipeline {
|
|
if x != nil {
|
|
return x.Pipeline
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdatePipelineDefaultVersionRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The ID of the pipeline to be updated.
|
|
PipelineId string `protobuf:"bytes,1,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"`
|
|
// The ID of the default version.
|
|
VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
|
|
}
|
|
|
|
func (x *UpdatePipelineDefaultVersionRequest) Reset() {
|
|
*x = UpdatePipelineDefaultVersionRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdatePipelineDefaultVersionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdatePipelineDefaultVersionRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdatePipelineDefaultVersionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdatePipelineDefaultVersionRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdatePipelineDefaultVersionRequest) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *UpdatePipelineDefaultVersionRequest) GetPipelineId() string {
|
|
if x != nil {
|
|
return x.PipelineId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdatePipelineDefaultVersionRequest) GetVersionId() string {
|
|
if x != nil {
|
|
return x.VersionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetPipelineRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The ID of the pipeline to be retrieved.
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
}
|
|
|
|
func (x *GetPipelineRequest) Reset() {
|
|
*x = GetPipelineRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetPipelineRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPipelineRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPipelineRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPipelineRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPipelineRequest) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GetPipelineRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListPipelinesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// A page token to request the next page of results. The token is acquried
|
|
// from the nextPageToken field of the response from the previous
|
|
// ListPipelines call.
|
|
PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
|
|
// The number of pipelines to be listed per page. If there are more pipelines
|
|
// than this number, the response message will contain a valid value in the
|
|
// nextPageToken field.
|
|
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
|
// Can be format of "field_name", "field_name asc" or "field_name desc"
|
|
// Ascending by default.
|
|
SortBy string `protobuf:"bytes,3,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"`
|
|
// A url-encoded, JSON-serialized Filter protocol buffer (see
|
|
// [filter.proto](https://github.com/kubeflow/pipelines/blob/master/backend/api/v1beta1/filter.proto)).
|
|
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
|
|
// What resource reference to filter on.
|
|
// For Pipeline, the only valid resource type is Namespace. An sample query string could be
|
|
// resource_reference_key.type=NAMESPACE&resource_reference_key.id=ns1
|
|
ResourceReferenceKey *ResourceKey `protobuf:"bytes,5,opt,name=resource_reference_key,json=resourceReferenceKey,proto3" json:"resource_reference_key,omitempty"`
|
|
}
|
|
|
|
func (x *ListPipelinesRequest) Reset() {
|
|
*x = ListPipelinesRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListPipelinesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPipelinesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListPipelinesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPipelinesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListPipelinesRequest) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ListPipelinesRequest) GetPageToken() string {
|
|
if x != nil {
|
|
return x.PageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListPipelinesRequest) GetPageSize() int32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListPipelinesRequest) GetSortBy() string {
|
|
if x != nil {
|
|
return x.SortBy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListPipelinesRequest) GetFilter() string {
|
|
if x != nil {
|
|
return x.Filter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListPipelinesRequest) GetResourceReferenceKey() *ResourceKey {
|
|
if x != nil {
|
|
return x.ResourceReferenceKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListPipelinesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Pipelines []*Pipeline `protobuf:"bytes,1,rep,name=pipelines,proto3" json:"pipelines,omitempty"`
|
|
// The total number of pipelines for the given query.
|
|
TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
|
|
// The token to list the next page of pipelines.
|
|
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
}
|
|
|
|
func (x *ListPipelinesResponse) Reset() {
|
|
*x = ListPipelinesResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListPipelinesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPipelinesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListPipelinesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPipelinesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListPipelinesResponse) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ListPipelinesResponse) GetPipelines() []*Pipeline {
|
|
if x != nil {
|
|
return x.Pipelines
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListPipelinesResponse) GetTotalSize() int32 {
|
|
if x != nil {
|
|
return x.TotalSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListPipelinesResponse) GetNextPageToken() string {
|
|
if x != nil {
|
|
return x.NextPageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetPipelineByNameRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The Name of the pipeline to be retrieved.
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
// The Namespace the pipeline belongs to.
|
|
// In the case of shared pipelines and KFPipeline standalone installation,
|
|
// the pipeline name is the only needed field for unique resource lookup (namespace is not required).
|
|
// In those case, please provide hyphen (dash character, "-").
|
|
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
}
|
|
|
|
func (x *GetPipelineByNameRequest) Reset() {
|
|
*x = GetPipelineByNameRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetPipelineByNameRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPipelineByNameRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPipelineByNameRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPipelineByNameRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPipelineByNameRequest) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GetPipelineByNameRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetPipelineByNameRequest) GetNamespace() string {
|
|
if x != nil {
|
|
return x.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeletePipelineRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The ID of the pipeline to be deleted.
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
}
|
|
|
|
func (x *DeletePipelineRequest) Reset() {
|
|
*x = DeletePipelineRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeletePipelineRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePipelineRequest) ProtoMessage() {}
|
|
|
|
func (x *DeletePipelineRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeletePipelineRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeletePipelineRequest) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *DeletePipelineRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetTemplateRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The ID of the pipeline whose template is to be retrieved.
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
}
|
|
|
|
func (x *GetTemplateRequest) Reset() {
|
|
*x = GetTemplateRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetTemplateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTemplateRequest) ProtoMessage() {}
|
|
|
|
func (x *GetTemplateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTemplateRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetTemplateRequest) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *GetTemplateRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetTemplateResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The template of the pipeline specified in a GetTemplate request, or of a
|
|
// pipeline version specified in a GetPipelinesVersionTemplate request.
|
|
Template string `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
|
|
}
|
|
|
|
func (x *GetTemplateResponse) Reset() {
|
|
*x = GetTemplateResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetTemplateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTemplateResponse) ProtoMessage() {}
|
|
|
|
func (x *GetTemplateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTemplateResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetTemplateResponse) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *GetTemplateResponse) GetTemplate() string {
|
|
if x != nil {
|
|
return x.Template
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetPipelineVersionTemplateRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The ID of the pipeline version whose template is to be retrieved.
|
|
VersionId string `protobuf:"bytes,1,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetPipelineVersionTemplateRequest) Reset() {
|
|
*x = GetPipelineVersionTemplateRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetPipelineVersionTemplateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPipelineVersionTemplateRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPipelineVersionTemplateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPipelineVersionTemplateRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPipelineVersionTemplateRequest) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *GetPipelineVersionTemplateRequest) GetVersionId() string {
|
|
if x != nil {
|
|
return x.VersionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreatePipelineVersionRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// ResourceReference inside PipelineVersion specifies the pipeline that this
|
|
// version belongs to.
|
|
Version *PipelineVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
}
|
|
|
|
func (x *CreatePipelineVersionRequest) Reset() {
|
|
*x = CreatePipelineVersionRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreatePipelineVersionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreatePipelineVersionRequest) ProtoMessage() {}
|
|
|
|
func (x *CreatePipelineVersionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[11]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreatePipelineVersionRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreatePipelineVersionRequest) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *CreatePipelineVersionRequest) GetVersion() *PipelineVersion {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetPipelineVersionRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The ID of the pipeline version to be retrieved.
|
|
VersionId string `protobuf:"bytes,1,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetPipelineVersionRequest) Reset() {
|
|
*x = GetPipelineVersionRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetPipelineVersionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPipelineVersionRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPipelineVersionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[12]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPipelineVersionRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPipelineVersionRequest) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *GetPipelineVersionRequest) GetVersionId() string {
|
|
if x != nil {
|
|
return x.VersionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListPipelineVersionsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// ResourceKey specifies the pipeline whose versions are to be listed.
|
|
ResourceKey *ResourceKey `protobuf:"bytes,1,opt,name=resource_key,json=resourceKey,proto3" json:"resource_key,omitempty"`
|
|
// The number of pipeline versions to be listed per page. If there are more
|
|
// pipeline versions than this number, the response message will contain a
|
|
// nextPageToken field you can use to fetch the next page.
|
|
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
|
// A page token to request the next page of results. The token is acquried
|
|
// from the nextPageToken field of the response from the previous
|
|
// ListPipelineVersions call or can be omitted when fetching the first page.
|
|
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
|
|
// Can be format of "field_name", "field_name asc" or "field_name desc"
|
|
// Ascending by default.
|
|
SortBy string `protobuf:"bytes,4,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"`
|
|
// A base-64 encoded, JSON-serialized Filter protocol buffer (see
|
|
// filter.proto).
|
|
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
|
|
}
|
|
|
|
func (x *ListPipelineVersionsRequest) Reset() {
|
|
*x = ListPipelineVersionsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListPipelineVersionsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPipelineVersionsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListPipelineVersionsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[13]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPipelineVersionsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListPipelineVersionsRequest) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *ListPipelineVersionsRequest) GetResourceKey() *ResourceKey {
|
|
if x != nil {
|
|
return x.ResourceKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListPipelineVersionsRequest) GetPageSize() int32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListPipelineVersionsRequest) GetPageToken() string {
|
|
if x != nil {
|
|
return x.PageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListPipelineVersionsRequest) GetSortBy() string {
|
|
if x != nil {
|
|
return x.SortBy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListPipelineVersionsRequest) GetFilter() string {
|
|
if x != nil {
|
|
return x.Filter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListPipelineVersionsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Versions []*PipelineVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
|
|
// The token to list the next page of pipeline versions.
|
|
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
// The total number of pipeline versions for the given query.
|
|
TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
|
|
}
|
|
|
|
func (x *ListPipelineVersionsResponse) Reset() {
|
|
*x = ListPipelineVersionsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListPipelineVersionsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPipelineVersionsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListPipelineVersionsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[14]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPipelineVersionsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListPipelineVersionsResponse) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *ListPipelineVersionsResponse) GetVersions() []*PipelineVersion {
|
|
if x != nil {
|
|
return x.Versions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListPipelineVersionsResponse) GetNextPageToken() string {
|
|
if x != nil {
|
|
return x.NextPageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListPipelineVersionsResponse) GetTotalSize() int32 {
|
|
if x != nil {
|
|
return x.TotalSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeletePipelineVersionRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The ID of the pipeline version to be deleted.
|
|
VersionId string `protobuf:"bytes,1,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
|
|
}
|
|
|
|
func (x *DeletePipelineVersionRequest) Reset() {
|
|
*x = DeletePipelineVersionRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeletePipelineVersionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePipelineVersionRequest) ProtoMessage() {}
|
|
|
|
func (x *DeletePipelineVersionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[15]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeletePipelineVersionRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeletePipelineVersionRequest) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *DeletePipelineVersionRequest) GetVersionId() string {
|
|
if x != nil {
|
|
return x.VersionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Pipeline struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Output. Unique pipeline ID. Generated by API server.
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
// Output. The time this pipeline is created.
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
// Optional input field. Pipeline name provided by user. If not specified,
|
|
// file name is used as pipeline name.
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
// Optional input field. Describing the purpose of the job.
|
|
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
|
|
// Output. The input parameters for this pipeline.
|
|
// TODO(jingzhang36): replace this parameters field with the parameters field
|
|
// inside PipelineVersion when all usage of the former has been changed to use
|
|
// the latter.
|
|
Parameters []*Parameter `protobuf:"bytes,5,rep,name=parameters,proto3" json:"parameters,omitempty"`
|
|
// Input. Required. The URL to the source of the pipeline.
|
|
// This is required when creating the pipeine through CreatePipeline API.
|
|
Url *Url `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"`
|
|
// In case any error happens retrieving a pipeline field, only pipeline ID
|
|
// and the error message is returned. Client has the flexibility of choosing
|
|
// how to handle error. This is especially useful during listing call.
|
|
Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
|
|
// Output only. The default version of the pipeline. As of now, the latest
|
|
// version is used as default. (In the future, if desired by customers, we
|
|
// can allow them to set default version.)
|
|
DefaultVersion *PipelineVersion `protobuf:"bytes,8,opt,name=default_version,json=defaultVersion,proto3" json:"default_version,omitempty"`
|
|
// Input field. Specify which resource this pipeline belongs to.
|
|
// For Pipeline, the only valid resource reference is a single Namespace.
|
|
ResourceReferences []*ResourceReference `protobuf:"bytes,9,rep,name=resource_references,json=resourceReferences,proto3" json:"resource_references,omitempty"`
|
|
}
|
|
|
|
func (x *Pipeline) Reset() {
|
|
*x = Pipeline{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Pipeline) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Pipeline) ProtoMessage() {}
|
|
|
|
func (x *Pipeline) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[16]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Pipeline.ProtoReflect.Descriptor instead.
|
|
func (*Pipeline) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *Pipeline) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Pipeline) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Pipeline) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Pipeline) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Pipeline) GetParameters() []*Parameter {
|
|
if x != nil {
|
|
return x.Parameters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Pipeline) GetUrl() *Url {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Pipeline) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Pipeline) GetDefaultVersion() *PipelineVersion {
|
|
if x != nil {
|
|
return x.DefaultVersion
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Pipeline) GetResourceReferences() []*ResourceReference {
|
|
if x != nil {
|
|
return x.ResourceReferences
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PipelineVersion struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Output. Unique version ID. Generated by API server.
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
// Optional input field. Version name provided by user.
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
// Output. The time this pipeline version is created.
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
// Output. The input parameters for this pipeline.
|
|
Parameters []*Parameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"`
|
|
// Input. Optional. The URL to the code source of the pipeline version.
|
|
// The code is usually the Python definition of the pipeline and potentially
|
|
// the related component definitions. This allows users to trace back to how
|
|
// the pipeline YAML was created.
|
|
CodeSourceUrl string `protobuf:"bytes,5,opt,name=code_source_url,json=codeSourceUrl,proto3" json:"code_source_url,omitempty"`
|
|
// Input. Required. The URL to the source of the pipeline version.
|
|
// This is required when creating the pipeine version through
|
|
// CreatePipelineVersion API.
|
|
PackageUrl *Url `protobuf:"bytes,6,opt,name=package_url,json=packageUrl,proto3" json:"package_url,omitempty"`
|
|
// Input field. Specify which resource this pipeline version belongs to.
|
|
// For Experiment, the only valid resource reference is a single Namespace.
|
|
ResourceReferences []*ResourceReference `protobuf:"bytes,7,rep,name=resource_references,json=resourceReferences,proto3" json:"resource_references,omitempty"`
|
|
// Input. Optional. Description for the pipeline version.
|
|
Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
|
|
}
|
|
|
|
func (x *PipelineVersion) Reset() {
|
|
*x = PipelineVersion{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PipelineVersion) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PipelineVersion) ProtoMessage() {}
|
|
|
|
func (x *PipelineVersion) ProtoReflect() protoreflect.Message {
|
|
mi := &file_backend_api_v1beta1_pipeline_proto_msgTypes[17]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PipelineVersion.ProtoReflect.Descriptor instead.
|
|
func (*PipelineVersion) Descriptor() ([]byte, []int) {
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *PipelineVersion) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PipelineVersion) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PipelineVersion) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PipelineVersion) GetParameters() []*Parameter {
|
|
if x != nil {
|
|
return x.Parameters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PipelineVersion) GetCodeSourceUrl() string {
|
|
if x != nil {
|
|
return x.CodeSourceUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PipelineVersion) GetPackageUrl() *Url {
|
|
if x != nil {
|
|
return x.PackageUrl
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PipelineVersion) GetResourceReferences() []*ResourceReference {
|
|
if x != nil {
|
|
return x.ResourceReferences
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PipelineVersion) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_backend_api_v1beta1_pipeline_proto protoreflect.FileDescriptor
|
|
|
|
var file_backend_api_v1beta1_pipeline_proto_rawDesc = []byte{
|
|
0x0a, 0x22, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31,
|
|
0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x61, 0x70, 0x69, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
|
|
0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
|
|
0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
|
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x61,
|
|
0x70, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x65, 0x72, 0x72, 0x6f, 0x72,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f,
|
|
0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61,
|
|
0x6d, 0x65, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x62, 0x61, 0x63,
|
|
0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
|
|
0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65,
|
|
0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x73, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x2f, 0x6f, 0x70,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x28, 0x0a, 0x03, 0x55, 0x72, 0x6c, 0x12, 0x21,
|
|
0x0a, 0x0c, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x55, 0x72,
|
|
0x6c, 0x22, 0x42, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x69, 0x70, 0x65, 0x6c,
|
|
0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x08, 0x70, 0x69,
|
|
0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61,
|
|
0x70, 0x69, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x08, 0x70, 0x69, 0x70,
|
|
0x65, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0x65, 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50,
|
|
0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x65,
|
|
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b,
|
|
0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0a, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a,
|
|
0x0a, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x09, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x24, 0x0a, 0x12,
|
|
0x47, 0x65, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
|
0x69, 0x64, 0x22, 0xcb, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c,
|
|
0x69, 0x6e, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70,
|
|
0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61,
|
|
0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70,
|
|
0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f,
|
|
0x62, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, 0x42, 0x79,
|
|
0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x16, 0x72, 0x65, 0x73, 0x6f,
|
|
0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6b,
|
|
0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52,
|
|
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x14, 0x72, 0x65, 0x73, 0x6f,
|
|
0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x4b, 0x65, 0x79,
|
|
0x22, 0x8b, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e,
|
|
0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x09, 0x70, 0x69,
|
|
0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
|
|
0x61, 0x70, 0x69, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x09, 0x70, 0x69,
|
|
0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c,
|
|
0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74,
|
|
0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70,
|
|
0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4c,
|
|
0x0a, 0x18, 0x47, 0x65, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x42, 0x79, 0x4e,
|
|
0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
|
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c,
|
|
0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x27, 0x0a, 0x15,
|
|
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x24, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6d, 0x70,
|
|
0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x31, 0x0a, 0x13, 0x47,
|
|
0x65, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0x42,
|
|
0x0a, 0x21, 0x47, 0x65, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x56, 0x65, 0x72,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69,
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
0x49, 0x64, 0x22, 0x4e, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x69, 0x70, 0x65,
|
|
0x6c, 0x69, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x12, 0x2e, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69,
|
|
0x6e, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
|
|
0x6f, 0x6e, 0x22, 0x3a, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e,
|
|
0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
0x1d, 0x0a, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x09, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xbf,
|
|
0x01, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x56,
|
|
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33,
|
|
0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75,
|
|
0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
|
|
0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12,
|
|
0x17, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74,
|
|
0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
|
|
0x22, 0x97, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e,
|
|
0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x12, 0x30, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69,
|
|
0x6e, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69,
|
|
0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65,
|
|
0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65,
|
|
0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74,
|
|
0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x3d, 0x0a, 0x1c, 0x44, 0x65,
|
|
0x6c, 0x65, 0x74, 0x65, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x73,
|
|
0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x65,
|
|
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
|
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xf5, 0x02, 0x0a, 0x08, 0x50, 0x69,
|
|
0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
|
|
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
|
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
|
|
0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
|
|
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d,
|
|
0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x61, 0x70,
|
|
0x69, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x70, 0x61, 0x72,
|
|
0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1a, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x07,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x72, 0x6c, 0x52, 0x03,
|
|
0x75, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3d, 0x0a, 0x0f, 0x64, 0x65, 0x66,
|
|
0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e,
|
|
0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,
|
|
0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x6f,
|
|
0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18,
|
|
0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f,
|
|
0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x12, 0x72,
|
|
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
|
|
0x73, 0x22, 0xde, 0x02, 0x0a, 0x0f, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x56, 0x65,
|
|
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65,
|
|
0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
|
|
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
|
|
0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
|
|
0x65, 0x64, 0x41, 0x74, 0x12, 0x2e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65,
|
|
0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50,
|
|
0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65,
|
|
0x74, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x6f, 0x75,
|
|
0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63,
|
|
0x6f, 0x64, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x29, 0x0a, 0x0b,
|
|
0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x08, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x72, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x63,
|
|
0x6b, 0x61, 0x67, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x47, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x6f, 0x75,
|
|
0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x07,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75,
|
|
0x72, 0x63, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x12, 0x72, 0x65,
|
|
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73,
|
|
0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
|
|
0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x32, 0x9e, 0x0c, 0x0a, 0x0f, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x53,
|
|
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x68, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x56, 0x31, 0x12, 0x1a, 0x2e, 0x61, 0x70, 0x69,
|
|
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x69, 0x70,
|
|
0x65, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, 0x17, 0x2f,
|
|
0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x69, 0x70,
|
|
0x65, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x3a, 0x08, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65,
|
|
0x12, 0x5d, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x56,
|
|
0x31, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c,
|
|
0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x61, 0x70, 0x69,
|
|
0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02,
|
|
0x1e, 0x12, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
|
|
0x2f, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12,
|
|
0x82, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x42,
|
|
0x79, 0x4e, 0x61, 0x6d, 0x65, 0x56, 0x31, 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65,
|
|
0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x69, 0x70,
|
|
0x65, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x12, 0x35, 0x2f,
|
|
0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6e, 0x61, 0x6d,
|
|
0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
|
|
0x63, 0x65, 0x7d, 0x2f, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x2f, 0x7b, 0x6e,
|
|
0x61, 0x6d, 0x65, 0x7d, 0x12, 0x69, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x69, 0x70, 0x65,
|
|
0x6c, 0x69, 0x6e, 0x65, 0x73, 0x56, 0x31, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69,
|
|
0x73, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x69, 0x70,
|
|
0x65, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f,
|
|
0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31,
|
|
0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x12,
|
|
0x6c, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e,
|
|
0x65, 0x56, 0x31, 0x12, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
|
0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x2a,
|
|
0x1c, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70,
|
|
0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x70, 0x0a,
|
|
0x0b, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x17, 0x2e, 0x61,
|
|
0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x54,
|
|
0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
|
0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76,
|
|
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x73,
|
|
0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x12,
|
|
0x84, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69,
|
|
0x6e, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x56, 0x31, 0x12, 0x21, 0x2e, 0x61, 0x70,
|
|
0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65,
|
|
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,
|
|
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x56, 0x65, 0x72,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x22, 0x1f, 0x2f, 0x61,
|
|
0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x69, 0x70, 0x65,
|
|
0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x07, 0x76,
|
|
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x82, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x50, 0x69,
|
|
0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x56, 0x31, 0x12,
|
|
0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e,
|
|
0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x56, 0x65,
|
|
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f,
|
|
0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x69, 0x70,
|
|
0x65, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b,
|
|
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x86, 0x01, 0x0a, 0x16,
|
|
0x4c, 0x69, 0x73, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x73,
|
|
0x69, 0x6f, 0x6e, 0x73, 0x56, 0x31, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73,
|
|
0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c,
|
|
0x69, 0x73, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69,
|
|
0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4,
|
|
0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74,
|
|
0x61, 0x31, 0x2f, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73,
|
|
0x69, 0x6f, 0x6e, 0x73, 0x12, 0x8a, 0x01, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50,
|
|
0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x56, 0x31,
|
|
0x12, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x69, 0x70,
|
|
0x65, 0x6c, 0x69, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x34, 0x82, 0xd3, 0xe4,
|
|
0x93, 0x02, 0x2e, 0x2a, 0x2c, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74,
|
|
0x61, 0x31, 0x2f, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73,
|
|
0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64,
|
|
0x7d, 0x12, 0x9e, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e,
|
|
0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
|
|
0x12, 0x26, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69,
|
|
0x6e, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
|
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47,
|
|
0x65, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x22, 0x3e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x12, 0x36, 0x2f, 0x61, 0x70, 0x69,
|
|
0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69,
|
|
0x6e, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x76, 0x65, 0x72,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
|
|
0x65, 0x73, 0x12, 0xae, 0x01, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x69, 0x70,
|
|
0x65, 0x6c, 0x69, 0x6e, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x65, 0x72, 0x73,
|
|
0x69, 0x6f, 0x6e, 0x56, 0x31, 0x12, 0x28, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61,
|
|
0x74, 0x65, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c,
|
|
0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x4a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44, 0x22,
|
|
0x42, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70,
|
|
0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x2f, 0x7b, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69,
|
|
0x6e, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76,
|
|
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f,
|
|
0x69, 0x64, 0x7d, 0x42, 0x8d, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
|
|
0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x70, 0x69, 0x70, 0x65,
|
|
0x6c, 0x69, 0x6e, 0x65, 0x73, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x61, 0x70,
|
|
0x69, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x67, 0x6f, 0x5f, 0x63, 0x6c, 0x69,
|
|
0x65, 0x6e, 0x74, 0x92, 0x41, 0x4d, 0x52, 0x1c, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,
|
|
0x74, 0x12, 0x11, 0x12, 0x0f, 0x0a, 0x0d, 0x1a, 0x0b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x74,
|
|
0x61, 0x74, 0x75, 0x73, 0x5a, 0x1f, 0x0a, 0x1d, 0x0a, 0x06, 0x42, 0x65, 0x61, 0x72, 0x65, 0x72,
|
|
0x12, 0x13, 0x08, 0x02, 0x1a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x20, 0x02, 0x62, 0x0c, 0x0a, 0x0a, 0x0a, 0x06, 0x42, 0x65, 0x61, 0x72, 0x65,
|
|
0x72, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_backend_api_v1beta1_pipeline_proto_rawDescOnce sync.Once
|
|
file_backend_api_v1beta1_pipeline_proto_rawDescData = file_backend_api_v1beta1_pipeline_proto_rawDesc
|
|
)
|
|
|
|
func file_backend_api_v1beta1_pipeline_proto_rawDescGZIP() []byte {
|
|
file_backend_api_v1beta1_pipeline_proto_rawDescOnce.Do(func() {
|
|
file_backend_api_v1beta1_pipeline_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_api_v1beta1_pipeline_proto_rawDescData)
|
|
})
|
|
return file_backend_api_v1beta1_pipeline_proto_rawDescData
|
|
}
|
|
|
|
var file_backend_api_v1beta1_pipeline_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
|
|
var file_backend_api_v1beta1_pipeline_proto_goTypes = []interface{}{
|
|
(*Url)(nil), // 0: api.Url
|
|
(*CreatePipelineRequest)(nil), // 1: api.CreatePipelineRequest
|
|
(*UpdatePipelineDefaultVersionRequest)(nil), // 2: api.UpdatePipelineDefaultVersionRequest
|
|
(*GetPipelineRequest)(nil), // 3: api.GetPipelineRequest
|
|
(*ListPipelinesRequest)(nil), // 4: api.ListPipelinesRequest
|
|
(*ListPipelinesResponse)(nil), // 5: api.ListPipelinesResponse
|
|
(*GetPipelineByNameRequest)(nil), // 6: api.GetPipelineByNameRequest
|
|
(*DeletePipelineRequest)(nil), // 7: api.DeletePipelineRequest
|
|
(*GetTemplateRequest)(nil), // 8: api.GetTemplateRequest
|
|
(*GetTemplateResponse)(nil), // 9: api.GetTemplateResponse
|
|
(*GetPipelineVersionTemplateRequest)(nil), // 10: api.GetPipelineVersionTemplateRequest
|
|
(*CreatePipelineVersionRequest)(nil), // 11: api.CreatePipelineVersionRequest
|
|
(*GetPipelineVersionRequest)(nil), // 12: api.GetPipelineVersionRequest
|
|
(*ListPipelineVersionsRequest)(nil), // 13: api.ListPipelineVersionsRequest
|
|
(*ListPipelineVersionsResponse)(nil), // 14: api.ListPipelineVersionsResponse
|
|
(*DeletePipelineVersionRequest)(nil), // 15: api.DeletePipelineVersionRequest
|
|
(*Pipeline)(nil), // 16: api.Pipeline
|
|
(*PipelineVersion)(nil), // 17: api.PipelineVersion
|
|
(*ResourceKey)(nil), // 18: api.ResourceKey
|
|
(*timestamppb.Timestamp)(nil), // 19: google.protobuf.Timestamp
|
|
(*Parameter)(nil), // 20: api.Parameter
|
|
(*ResourceReference)(nil), // 21: api.ResourceReference
|
|
(*emptypb.Empty)(nil), // 22: google.protobuf.Empty
|
|
}
|
|
var file_backend_api_v1beta1_pipeline_proto_depIdxs = []int32{
|
|
16, // 0: api.CreatePipelineRequest.pipeline:type_name -> api.Pipeline
|
|
18, // 1: api.ListPipelinesRequest.resource_reference_key:type_name -> api.ResourceKey
|
|
16, // 2: api.ListPipelinesResponse.pipelines:type_name -> api.Pipeline
|
|
17, // 3: api.CreatePipelineVersionRequest.version:type_name -> api.PipelineVersion
|
|
18, // 4: api.ListPipelineVersionsRequest.resource_key:type_name -> api.ResourceKey
|
|
17, // 5: api.ListPipelineVersionsResponse.versions:type_name -> api.PipelineVersion
|
|
19, // 6: api.Pipeline.created_at:type_name -> google.protobuf.Timestamp
|
|
20, // 7: api.Pipeline.parameters:type_name -> api.Parameter
|
|
0, // 8: api.Pipeline.url:type_name -> api.Url
|
|
17, // 9: api.Pipeline.default_version:type_name -> api.PipelineVersion
|
|
21, // 10: api.Pipeline.resource_references:type_name -> api.ResourceReference
|
|
19, // 11: api.PipelineVersion.created_at:type_name -> google.protobuf.Timestamp
|
|
20, // 12: api.PipelineVersion.parameters:type_name -> api.Parameter
|
|
0, // 13: api.PipelineVersion.package_url:type_name -> api.Url
|
|
21, // 14: api.PipelineVersion.resource_references:type_name -> api.ResourceReference
|
|
1, // 15: api.PipelineService.CreatePipelineV1:input_type -> api.CreatePipelineRequest
|
|
3, // 16: api.PipelineService.GetPipelineV1:input_type -> api.GetPipelineRequest
|
|
6, // 17: api.PipelineService.GetPipelineByNameV1:input_type -> api.GetPipelineByNameRequest
|
|
4, // 18: api.PipelineService.ListPipelinesV1:input_type -> api.ListPipelinesRequest
|
|
7, // 19: api.PipelineService.DeletePipelineV1:input_type -> api.DeletePipelineRequest
|
|
8, // 20: api.PipelineService.GetTemplate:input_type -> api.GetTemplateRequest
|
|
11, // 21: api.PipelineService.CreatePipelineVersionV1:input_type -> api.CreatePipelineVersionRequest
|
|
12, // 22: api.PipelineService.GetPipelineVersionV1:input_type -> api.GetPipelineVersionRequest
|
|
13, // 23: api.PipelineService.ListPipelineVersionsV1:input_type -> api.ListPipelineVersionsRequest
|
|
15, // 24: api.PipelineService.DeletePipelineVersionV1:input_type -> api.DeletePipelineVersionRequest
|
|
10, // 25: api.PipelineService.GetPipelineVersionTemplate:input_type -> api.GetPipelineVersionTemplateRequest
|
|
2, // 26: api.PipelineService.UpdatePipelineDefaultVersionV1:input_type -> api.UpdatePipelineDefaultVersionRequest
|
|
16, // 27: api.PipelineService.CreatePipelineV1:output_type -> api.Pipeline
|
|
16, // 28: api.PipelineService.GetPipelineV1:output_type -> api.Pipeline
|
|
16, // 29: api.PipelineService.GetPipelineByNameV1:output_type -> api.Pipeline
|
|
5, // 30: api.PipelineService.ListPipelinesV1:output_type -> api.ListPipelinesResponse
|
|
22, // 31: api.PipelineService.DeletePipelineV1:output_type -> google.protobuf.Empty
|
|
9, // 32: api.PipelineService.GetTemplate:output_type -> api.GetTemplateResponse
|
|
17, // 33: api.PipelineService.CreatePipelineVersionV1:output_type -> api.PipelineVersion
|
|
17, // 34: api.PipelineService.GetPipelineVersionV1:output_type -> api.PipelineVersion
|
|
14, // 35: api.PipelineService.ListPipelineVersionsV1:output_type -> api.ListPipelineVersionsResponse
|
|
22, // 36: api.PipelineService.DeletePipelineVersionV1:output_type -> google.protobuf.Empty
|
|
9, // 37: api.PipelineService.GetPipelineVersionTemplate:output_type -> api.GetTemplateResponse
|
|
22, // 38: api.PipelineService.UpdatePipelineDefaultVersionV1:output_type -> google.protobuf.Empty
|
|
27, // [27:39] is the sub-list for method output_type
|
|
15, // [15:27] is the sub-list for method input_type
|
|
15, // [15:15] is the sub-list for extension type_name
|
|
15, // [15:15] is the sub-list for extension extendee
|
|
0, // [0:15] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_backend_api_v1beta1_pipeline_proto_init() }
|
|
func file_backend_api_v1beta1_pipeline_proto_init() {
|
|
if File_backend_api_v1beta1_pipeline_proto != nil {
|
|
return
|
|
}
|
|
file_backend_api_v1beta1_error_proto_init()
|
|
file_backend_api_v1beta1_parameter_proto_init()
|
|
file_backend_api_v1beta1_resource_reference_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Url); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreatePipelineRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdatePipelineDefaultVersionRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetPipelineRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListPipelinesRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListPipelinesResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetPipelineByNameRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeletePipelineRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetTemplateRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetTemplateResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetPipelineVersionTemplateRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreatePipelineVersionRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetPipelineVersionRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListPipelineVersionsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListPipelineVersionsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeletePipelineVersionRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Pipeline); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_backend_api_v1beta1_pipeline_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PipelineVersion); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_backend_api_v1beta1_pipeline_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 18,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_backend_api_v1beta1_pipeline_proto_goTypes,
|
|
DependencyIndexes: file_backend_api_v1beta1_pipeline_proto_depIdxs,
|
|
MessageInfos: file_backend_api_v1beta1_pipeline_proto_msgTypes,
|
|
}.Build()
|
|
File_backend_api_v1beta1_pipeline_proto = out.File
|
|
file_backend_api_v1beta1_pipeline_proto_rawDesc = nil
|
|
file_backend_api_v1beta1_pipeline_proto_goTypes = nil
|
|
file_backend_api_v1beta1_pipeline_proto_depIdxs = nil
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConnInterface
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion6
|
|
|
|
// PipelineServiceClient is the client API for PipelineService service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type PipelineServiceClient interface {
|
|
// Creates a pipeline.
|
|
CreatePipelineV1(ctx context.Context, in *CreatePipelineRequest, opts ...grpc.CallOption) (*Pipeline, error)
|
|
// Finds a specific pipeline by ID.
|
|
GetPipelineV1(ctx context.Context, in *GetPipelineRequest, opts ...grpc.CallOption) (*Pipeline, error)
|
|
//
|
|
//Finds a pipeline by Name (and namespace)
|
|
GetPipelineByNameV1(ctx context.Context, in *GetPipelineByNameRequest, opts ...grpc.CallOption) (*Pipeline, error)
|
|
// Finds all pipelines.
|
|
ListPipelinesV1(ctx context.Context, in *ListPipelinesRequest, opts ...grpc.CallOption) (*ListPipelinesResponse, error)
|
|
// Deletes a pipeline and its pipeline versions.
|
|
DeletePipelineV1(ctx context.Context, in *DeletePipelineRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
|
// Returns a single YAML template that contains the description, parameters, and metadata associated with the pipeline provided.
|
|
GetTemplate(ctx context.Context, in *GetTemplateRequest, opts ...grpc.CallOption) (*GetTemplateResponse, error)
|
|
// Adds a pipeline version to the specified pipeline.
|
|
CreatePipelineVersionV1(ctx context.Context, in *CreatePipelineVersionRequest, opts ...grpc.CallOption) (*PipelineVersion, error)
|
|
// Gets a pipeline version by pipeline version ID.
|
|
GetPipelineVersionV1(ctx context.Context, in *GetPipelineVersionRequest, opts ...grpc.CallOption) (*PipelineVersion, error)
|
|
// Lists all pipeline versions of a given pipeline.
|
|
ListPipelineVersionsV1(ctx context.Context, in *ListPipelineVersionsRequest, opts ...grpc.CallOption) (*ListPipelineVersionsResponse, error)
|
|
// Deletes a pipeline version by pipeline version ID. If the deleted pipeline
|
|
// version is the default pipeline version, the pipeline's default version
|
|
// changes to the pipeline's most recent pipeline version. If there are no
|
|
// remaining pipeline versions, the pipeline will have no default version.
|
|
// Examines the run_service_api.ipynb notebook to learn more about creating a
|
|
// run using a pipeline version (https://github.com/kubeflow/pipelines/blob/master/tools/benchmarks/run_service_api.ipynb).
|
|
DeletePipelineVersionV1(ctx context.Context, in *DeletePipelineVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
|
// Returns a YAML template that contains the specified pipeline version's description, parameters and metadata.
|
|
GetPipelineVersionTemplate(ctx context.Context, in *GetPipelineVersionTemplateRequest, opts ...grpc.CallOption) (*GetTemplateResponse, error)
|
|
// Update the default pipeline version of a specific pipeline.
|
|
UpdatePipelineDefaultVersionV1(ctx context.Context, in *UpdatePipelineDefaultVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
|
}
|
|
|
|
type pipelineServiceClient struct {
|
|
cc grpc.ClientConnInterface
|
|
}
|
|
|
|
func NewPipelineServiceClient(cc grpc.ClientConnInterface) PipelineServiceClient {
|
|
return &pipelineServiceClient{cc}
|
|
}
|
|
|
|
func (c *pipelineServiceClient) CreatePipelineV1(ctx context.Context, in *CreatePipelineRequest, opts ...grpc.CallOption) (*Pipeline, error) {
|
|
out := new(Pipeline)
|
|
err := c.cc.Invoke(ctx, "/api.PipelineService/CreatePipelineV1", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *pipelineServiceClient) GetPipelineV1(ctx context.Context, in *GetPipelineRequest, opts ...grpc.CallOption) (*Pipeline, error) {
|
|
out := new(Pipeline)
|
|
err := c.cc.Invoke(ctx, "/api.PipelineService/GetPipelineV1", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *pipelineServiceClient) GetPipelineByNameV1(ctx context.Context, in *GetPipelineByNameRequest, opts ...grpc.CallOption) (*Pipeline, error) {
|
|
out := new(Pipeline)
|
|
err := c.cc.Invoke(ctx, "/api.PipelineService/GetPipelineByNameV1", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *pipelineServiceClient) ListPipelinesV1(ctx context.Context, in *ListPipelinesRequest, opts ...grpc.CallOption) (*ListPipelinesResponse, error) {
|
|
out := new(ListPipelinesResponse)
|
|
err := c.cc.Invoke(ctx, "/api.PipelineService/ListPipelinesV1", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *pipelineServiceClient) DeletePipelineV1(ctx context.Context, in *DeletePipelineRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
|
|
out := new(emptypb.Empty)
|
|
err := c.cc.Invoke(ctx, "/api.PipelineService/DeletePipelineV1", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *pipelineServiceClient) GetTemplate(ctx context.Context, in *GetTemplateRequest, opts ...grpc.CallOption) (*GetTemplateResponse, error) {
|
|
out := new(GetTemplateResponse)
|
|
err := c.cc.Invoke(ctx, "/api.PipelineService/GetTemplate", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *pipelineServiceClient) CreatePipelineVersionV1(ctx context.Context, in *CreatePipelineVersionRequest, opts ...grpc.CallOption) (*PipelineVersion, error) {
|
|
out := new(PipelineVersion)
|
|
err := c.cc.Invoke(ctx, "/api.PipelineService/CreatePipelineVersionV1", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *pipelineServiceClient) GetPipelineVersionV1(ctx context.Context, in *GetPipelineVersionRequest, opts ...grpc.CallOption) (*PipelineVersion, error) {
|
|
out := new(PipelineVersion)
|
|
err := c.cc.Invoke(ctx, "/api.PipelineService/GetPipelineVersionV1", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *pipelineServiceClient) ListPipelineVersionsV1(ctx context.Context, in *ListPipelineVersionsRequest, opts ...grpc.CallOption) (*ListPipelineVersionsResponse, error) {
|
|
out := new(ListPipelineVersionsResponse)
|
|
err := c.cc.Invoke(ctx, "/api.PipelineService/ListPipelineVersionsV1", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *pipelineServiceClient) DeletePipelineVersionV1(ctx context.Context, in *DeletePipelineVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
|
|
out := new(emptypb.Empty)
|
|
err := c.cc.Invoke(ctx, "/api.PipelineService/DeletePipelineVersionV1", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *pipelineServiceClient) GetPipelineVersionTemplate(ctx context.Context, in *GetPipelineVersionTemplateRequest, opts ...grpc.CallOption) (*GetTemplateResponse, error) {
|
|
out := new(GetTemplateResponse)
|
|
err := c.cc.Invoke(ctx, "/api.PipelineService/GetPipelineVersionTemplate", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *pipelineServiceClient) UpdatePipelineDefaultVersionV1(ctx context.Context, in *UpdatePipelineDefaultVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
|
|
out := new(emptypb.Empty)
|
|
err := c.cc.Invoke(ctx, "/api.PipelineService/UpdatePipelineDefaultVersionV1", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// PipelineServiceServer is the server API for PipelineService service.
|
|
type PipelineServiceServer interface {
|
|
// Creates a pipeline.
|
|
CreatePipelineV1(context.Context, *CreatePipelineRequest) (*Pipeline, error)
|
|
// Finds a specific pipeline by ID.
|
|
GetPipelineV1(context.Context, *GetPipelineRequest) (*Pipeline, error)
|
|
//
|
|
//Finds a pipeline by Name (and namespace)
|
|
GetPipelineByNameV1(context.Context, *GetPipelineByNameRequest) (*Pipeline, error)
|
|
// Finds all pipelines.
|
|
ListPipelinesV1(context.Context, *ListPipelinesRequest) (*ListPipelinesResponse, error)
|
|
// Deletes a pipeline and its pipeline versions.
|
|
DeletePipelineV1(context.Context, *DeletePipelineRequest) (*emptypb.Empty, error)
|
|
// Returns a single YAML template that contains the description, parameters, and metadata associated with the pipeline provided.
|
|
GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error)
|
|
// Adds a pipeline version to the specified pipeline.
|
|
CreatePipelineVersionV1(context.Context, *CreatePipelineVersionRequest) (*PipelineVersion, error)
|
|
// Gets a pipeline version by pipeline version ID.
|
|
GetPipelineVersionV1(context.Context, *GetPipelineVersionRequest) (*PipelineVersion, error)
|
|
// Lists all pipeline versions of a given pipeline.
|
|
ListPipelineVersionsV1(context.Context, *ListPipelineVersionsRequest) (*ListPipelineVersionsResponse, error)
|
|
// Deletes a pipeline version by pipeline version ID. If the deleted pipeline
|
|
// version is the default pipeline version, the pipeline's default version
|
|
// changes to the pipeline's most recent pipeline version. If there are no
|
|
// remaining pipeline versions, the pipeline will have no default version.
|
|
// Examines the run_service_api.ipynb notebook to learn more about creating a
|
|
// run using a pipeline version (https://github.com/kubeflow/pipelines/blob/master/tools/benchmarks/run_service_api.ipynb).
|
|
DeletePipelineVersionV1(context.Context, *DeletePipelineVersionRequest) (*emptypb.Empty, error)
|
|
// Returns a YAML template that contains the specified pipeline version's description, parameters and metadata.
|
|
GetPipelineVersionTemplate(context.Context, *GetPipelineVersionTemplateRequest) (*GetTemplateResponse, error)
|
|
// Update the default pipeline version of a specific pipeline.
|
|
UpdatePipelineDefaultVersionV1(context.Context, *UpdatePipelineDefaultVersionRequest) (*emptypb.Empty, error)
|
|
}
|
|
|
|
// UnimplementedPipelineServiceServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedPipelineServiceServer struct {
|
|
}
|
|
|
|
func (*UnimplementedPipelineServiceServer) CreatePipelineV1(context.Context, *CreatePipelineRequest) (*Pipeline, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreatePipelineV1 not implemented")
|
|
}
|
|
func (*UnimplementedPipelineServiceServer) GetPipelineV1(context.Context, *GetPipelineRequest) (*Pipeline, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetPipelineV1 not implemented")
|
|
}
|
|
func (*UnimplementedPipelineServiceServer) GetPipelineByNameV1(context.Context, *GetPipelineByNameRequest) (*Pipeline, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetPipelineByNameV1 not implemented")
|
|
}
|
|
func (*UnimplementedPipelineServiceServer) ListPipelinesV1(context.Context, *ListPipelinesRequest) (*ListPipelinesResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ListPipelinesV1 not implemented")
|
|
}
|
|
func (*UnimplementedPipelineServiceServer) DeletePipelineV1(context.Context, *DeletePipelineRequest) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeletePipelineV1 not implemented")
|
|
}
|
|
func (*UnimplementedPipelineServiceServer) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetTemplate not implemented")
|
|
}
|
|
func (*UnimplementedPipelineServiceServer) CreatePipelineVersionV1(context.Context, *CreatePipelineVersionRequest) (*PipelineVersion, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreatePipelineVersionV1 not implemented")
|
|
}
|
|
func (*UnimplementedPipelineServiceServer) GetPipelineVersionV1(context.Context, *GetPipelineVersionRequest) (*PipelineVersion, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetPipelineVersionV1 not implemented")
|
|
}
|
|
func (*UnimplementedPipelineServiceServer) ListPipelineVersionsV1(context.Context, *ListPipelineVersionsRequest) (*ListPipelineVersionsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ListPipelineVersionsV1 not implemented")
|
|
}
|
|
func (*UnimplementedPipelineServiceServer) DeletePipelineVersionV1(context.Context, *DeletePipelineVersionRequest) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeletePipelineVersionV1 not implemented")
|
|
}
|
|
func (*UnimplementedPipelineServiceServer) GetPipelineVersionTemplate(context.Context, *GetPipelineVersionTemplateRequest) (*GetTemplateResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetPipelineVersionTemplate not implemented")
|
|
}
|
|
func (*UnimplementedPipelineServiceServer) UpdatePipelineDefaultVersionV1(context.Context, *UpdatePipelineDefaultVersionRequest) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdatePipelineDefaultVersionV1 not implemented")
|
|
}
|
|
|
|
func RegisterPipelineServiceServer(s *grpc.Server, srv PipelineServiceServer) {
|
|
s.RegisterService(&_PipelineService_serviceDesc, srv)
|
|
}
|
|
|
|
func _PipelineService_CreatePipelineV1_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreatePipelineRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(PipelineServiceServer).CreatePipelineV1(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.PipelineService/CreatePipelineV1",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(PipelineServiceServer).CreatePipelineV1(ctx, req.(*CreatePipelineRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _PipelineService_GetPipelineV1_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetPipelineRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(PipelineServiceServer).GetPipelineV1(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.PipelineService/GetPipelineV1",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(PipelineServiceServer).GetPipelineV1(ctx, req.(*GetPipelineRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _PipelineService_GetPipelineByNameV1_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetPipelineByNameRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(PipelineServiceServer).GetPipelineByNameV1(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.PipelineService/GetPipelineByNameV1",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(PipelineServiceServer).GetPipelineByNameV1(ctx, req.(*GetPipelineByNameRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _PipelineService_ListPipelinesV1_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ListPipelinesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(PipelineServiceServer).ListPipelinesV1(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.PipelineService/ListPipelinesV1",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(PipelineServiceServer).ListPipelinesV1(ctx, req.(*ListPipelinesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _PipelineService_DeletePipelineV1_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeletePipelineRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(PipelineServiceServer).DeletePipelineV1(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.PipelineService/DeletePipelineV1",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(PipelineServiceServer).DeletePipelineV1(ctx, req.(*DeletePipelineRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _PipelineService_GetTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetTemplateRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(PipelineServiceServer).GetTemplate(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.PipelineService/GetTemplate",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(PipelineServiceServer).GetTemplate(ctx, req.(*GetTemplateRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _PipelineService_CreatePipelineVersionV1_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreatePipelineVersionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(PipelineServiceServer).CreatePipelineVersionV1(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.PipelineService/CreatePipelineVersionV1",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(PipelineServiceServer).CreatePipelineVersionV1(ctx, req.(*CreatePipelineVersionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _PipelineService_GetPipelineVersionV1_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetPipelineVersionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(PipelineServiceServer).GetPipelineVersionV1(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.PipelineService/GetPipelineVersionV1",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(PipelineServiceServer).GetPipelineVersionV1(ctx, req.(*GetPipelineVersionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _PipelineService_ListPipelineVersionsV1_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ListPipelineVersionsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(PipelineServiceServer).ListPipelineVersionsV1(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.PipelineService/ListPipelineVersionsV1",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(PipelineServiceServer).ListPipelineVersionsV1(ctx, req.(*ListPipelineVersionsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _PipelineService_DeletePipelineVersionV1_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeletePipelineVersionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(PipelineServiceServer).DeletePipelineVersionV1(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.PipelineService/DeletePipelineVersionV1",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(PipelineServiceServer).DeletePipelineVersionV1(ctx, req.(*DeletePipelineVersionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _PipelineService_GetPipelineVersionTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetPipelineVersionTemplateRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(PipelineServiceServer).GetPipelineVersionTemplate(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.PipelineService/GetPipelineVersionTemplate",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(PipelineServiceServer).GetPipelineVersionTemplate(ctx, req.(*GetPipelineVersionTemplateRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _PipelineService_UpdatePipelineDefaultVersionV1_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdatePipelineDefaultVersionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(PipelineServiceServer).UpdatePipelineDefaultVersionV1(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/api.PipelineService/UpdatePipelineDefaultVersionV1",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(PipelineServiceServer).UpdatePipelineDefaultVersionV1(ctx, req.(*UpdatePipelineDefaultVersionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _PipelineService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "api.PipelineService",
|
|
HandlerType: (*PipelineServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "CreatePipelineV1",
|
|
Handler: _PipelineService_CreatePipelineV1_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetPipelineV1",
|
|
Handler: _PipelineService_GetPipelineV1_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetPipelineByNameV1",
|
|
Handler: _PipelineService_GetPipelineByNameV1_Handler,
|
|
},
|
|
{
|
|
MethodName: "ListPipelinesV1",
|
|
Handler: _PipelineService_ListPipelinesV1_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeletePipelineV1",
|
|
Handler: _PipelineService_DeletePipelineV1_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTemplate",
|
|
Handler: _PipelineService_GetTemplate_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreatePipelineVersionV1",
|
|
Handler: _PipelineService_CreatePipelineVersionV1_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetPipelineVersionV1",
|
|
Handler: _PipelineService_GetPipelineVersionV1_Handler,
|
|
},
|
|
{
|
|
MethodName: "ListPipelineVersionsV1",
|
|
Handler: _PipelineService_ListPipelineVersionsV1_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeletePipelineVersionV1",
|
|
Handler: _PipelineService_DeletePipelineVersionV1_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetPipelineVersionTemplate",
|
|
Handler: _PipelineService_GetPipelineVersionTemplate_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdatePipelineDefaultVersionV1",
|
|
Handler: _PipelineService_UpdatePipelineDefaultVersionV1_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "backend/api/v1beta1/pipeline.proto",
|
|
}
|