@@ -160,7 +160,7 @@ service PipelineService {
160
160
161
161
message Url {
162
162
// URL of the pipeline definition or the pipeline version definition.
163
- string pipeline_url = 1 [ json_name = "pipeline_url" ] ;
163
+ string pipeline_url = 1 ;
164
164
}
165
165
166
166
// Create pipeline by providing an URL pointing to the pipeline file,
@@ -187,16 +187,16 @@ message ListPipelinesRequest {
187
187
// A page token to request the next page of results. The token is acquried
188
188
// from the nextPageToken field of the response from the previous
189
189
// ListPipelines call.
190
- string page_token = 1 [ json_name = "page_token" ] ;
190
+ string page_token = 1 ;
191
191
192
192
// The number of pipelines to be listed per page. If there are more pipelines
193
193
// than this number, the response message will contain a valid value in the
194
194
// nextPageToken field.
195
- int32 page_size = 2 [ json_name = "page_size" ] ;
195
+ int32 page_size = 2 ;
196
196
197
197
// Can be format of "field_name", "field_name asc" or "field_name desc"
198
198
// Ascending by default.
199
- string sort_by = 3 [ json_name = "sort_by" ] ;
199
+ string sort_by = 3 ;
200
200
201
201
// A url-encoded, JSON-serialized Filter protocol buffer (see
202
202
// [filter.proto](https://github.com/kubeflow/pipelines/blob/master/backend/api/v1beta1/filter.proto)).
@@ -205,17 +205,17 @@ message ListPipelinesRequest {
205
205
// What resource reference to filter on.
206
206
// For Pipeline, the only valid resource type is Namespace. An sample query string could be
207
207
// resource_reference_key.type=NAMESPACE&resource_reference_key.id=ns1
208
- ResourceKey resource_reference_key = 5 [ json_name = "resource_reference_key" ] ;
208
+ ResourceKey resource_reference_key = 5 ;
209
209
}
210
210
211
211
message ListPipelinesResponse {
212
212
repeated Pipeline pipelines = 1 ;
213
213
214
214
// The total number of pipelines for the given query.
215
- int32 total_size = 3 [ json_name = "total_size" ] ;
215
+ int32 total_size = 3 ;
216
216
217
217
// The token to list the next page of pipelines.
218
- string next_page_token = 2 [ json_name = "next_page_token" ] ;
218
+ string next_page_token = 2 ;
219
219
}
220
220
221
221
message GetPipelineByNameRequest {
@@ -262,21 +262,21 @@ message GetPipelineVersionRequest {
262
262
263
263
message ListPipelineVersionsRequest {
264
264
// ResourceKey specifies the pipeline whose versions are to be listed.
265
- ResourceKey resource_key = 1 [ json_name = "resource_key" ] ;
265
+ ResourceKey resource_key = 1 ;
266
266
267
267
// The number of pipeline versions to be listed per page. If there are more
268
268
// pipeline versions than this number, the response message will contain a
269
269
// nextPageToken field you can use to fetch the next page.
270
- int32 page_size = 2 [ json_name = "page_size" ] ;
270
+ int32 page_size = 2 ;
271
271
272
272
// A page token to request the next page of results. The token is acquried
273
273
// from the nextPageToken field of the response from the previous
274
274
// ListPipelineVersions call or can be omitted when fetching the first page.
275
- string page_token = 3 [ json_name = "page_token" ] ;
275
+ string page_token = 3 ;
276
276
277
277
// Can be format of "field_name", "field_name asc" or "field_name desc"
278
278
// Ascending by default.
279
- string sort_by = 4 [ json_name = "sort_by" ] ;
279
+ string sort_by = 4 ;
280
280
// A base-64 encoded, JSON-serialized Filter protocol buffer (see
281
281
// filter.proto).
282
282
string filter = 5 ;
@@ -286,10 +286,10 @@ message ListPipelineVersionsResponse {
286
286
repeated PipelineVersion versions = 1 ;
287
287
288
288
// The token to list the next page of pipeline versions.
289
- string next_page_token = 2 [ json_name = "next_page_token" ] ;
289
+ string next_page_token = 2 ;
290
290
291
291
// The total number of pipeline versions for the given query.
292
- int32 total_size = 3 [ json_name = "total_size" ] ;
292
+ int32 total_size = 3 ;
293
293
}
294
294
295
295
message DeletePipelineVersionRequest {
@@ -302,7 +302,7 @@ message Pipeline {
302
302
string id = 1 ;
303
303
304
304
// Output. The time this pipeline is created.
305
- google.protobuf.Timestamp created_at = 2 [ json_name = "created_at" ] ;
305
+ google.protobuf.Timestamp created_at = 2 ;
306
306
307
307
// Optional input field. Pipeline name provided by user. If not specified,
308
308
// file name is used as pipeline name.
@@ -329,11 +329,11 @@ message Pipeline {
329
329
// Output only. The default version of the pipeline. As of now, the latest
330
330
// version is used as default. (In the future, if desired by customers, we
331
331
// can allow them to set default version.)
332
- PipelineVersion default_version = 8 [ json_name = "default_version" ] ;
332
+ PipelineVersion default_version = 8 ;
333
333
334
334
// Input field. Specify which resource this pipeline belongs to.
335
335
// For Pipeline, the only valid resource reference is a single Namespace.
336
- repeated ResourceReference resource_references = 9 [ json_name = "resource_references" ] ;
336
+ repeated ResourceReference resource_references = 9 ;
337
337
}
338
338
339
339
message PipelineVersion {
@@ -344,7 +344,7 @@ message PipelineVersion {
344
344
string name = 2 ;
345
345
346
346
// Output. The time this pipeline version is created.
347
- google.protobuf.Timestamp created_at = 3 [ json_name = "created_at" ] ;
347
+ google.protobuf.Timestamp created_at = 3 ;
348
348
349
349
// Output. The input parameters for this pipeline.
350
350
repeated Parameter parameters = 4 ;
@@ -353,16 +353,16 @@ message PipelineVersion {
353
353
// The code is usually the Python definition of the pipeline and potentially
354
354
// the related component definitions. This allows users to trace back to how
355
355
// the pipeline YAML was created.
356
- string code_source_url = 5 [ json_name = "code_source_url" ] ;
356
+ string code_source_url = 5 ;
357
357
358
358
// Input. Required. The URL to the source of the pipeline version.
359
359
// This is required when creating the pipeine version through
360
360
// CreatePipelineVersion API.
361
- Url package_url = 6 [ json_name = "package_url" ] ;
361
+ Url package_url = 6 ;
362
362
363
363
// Input field. Specify which resource this pipeline version belongs to.
364
364
// For Experiment, the only valid resource reference is a single Namespace.
365
- repeated ResourceReference resource_references = 7 [ json_name = "resource_references" ] ;
365
+ repeated ResourceReference resource_references = 7 ;
366
366
367
367
// Input. Optional. Description for the pipeline version.
368
368
string description = 8 ;
0 commit comments