@@ -160,7 +160,7 @@ service PipelineService {
160160
161161message Url {
162162 // URL of the pipeline definition or the pipeline version definition.
163- string pipeline_url = 1 [ json_name = "pipeline_url" ] ;
163+ string pipeline_url = 1 ;
164164}
165165
166166// Create pipeline by providing an URL pointing to the pipeline file,
@@ -187,16 +187,16 @@ message ListPipelinesRequest {
187187 // A page token to request the next page of results. The token is acquried
188188 // from the nextPageToken field of the response from the previous
189189 // ListPipelines call.
190- string page_token = 1 [ json_name = "page_token" ] ;
190+ string page_token = 1 ;
191191
192192 // The number of pipelines to be listed per page. If there are more pipelines
193193 // than this number, the response message will contain a valid value in the
194194 // nextPageToken field.
195- int32 page_size = 2 [ json_name = "page_size" ] ;
195+ int32 page_size = 2 ;
196196
197197 // Can be format of "field_name", "field_name asc" or "field_name desc"
198198 // Ascending by default.
199- string sort_by = 3 [ json_name = "sort_by" ] ;
199+ string sort_by = 3 ;
200200
201201 // A url-encoded, JSON-serialized Filter protocol buffer (see
202202 // [filter.proto](https://github.com/kubeflow/pipelines/blob/master/backend/api/v1beta1/filter.proto)).
@@ -205,17 +205,17 @@ message ListPipelinesRequest {
205205 // What resource reference to filter on.
206206 // For Pipeline, the only valid resource type is Namespace. An sample query string could be
207207 // 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 ;
209209}
210210
211211message ListPipelinesResponse {
212212 repeated Pipeline pipelines = 1 ;
213213
214214 // The total number of pipelines for the given query.
215- int32 total_size = 3 [ json_name = "total_size" ] ;
215+ int32 total_size = 3 ;
216216
217217 // 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 ;
219219}
220220
221221message GetPipelineByNameRequest {
@@ -262,21 +262,21 @@ message GetPipelineVersionRequest {
262262
263263message ListPipelineVersionsRequest {
264264 // ResourceKey specifies the pipeline whose versions are to be listed.
265- ResourceKey resource_key = 1 [ json_name = "resource_key" ] ;
265+ ResourceKey resource_key = 1 ;
266266
267267 // The number of pipeline versions to be listed per page. If there are more
268268 // pipeline versions than this number, the response message will contain a
269269 // nextPageToken field you can use to fetch the next page.
270- int32 page_size = 2 [ json_name = "page_size" ] ;
270+ int32 page_size = 2 ;
271271
272272 // A page token to request the next page of results. The token is acquried
273273 // from the nextPageToken field of the response from the previous
274274 // 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 ;
276276
277277 // Can be format of "field_name", "field_name asc" or "field_name desc"
278278 // Ascending by default.
279- string sort_by = 4 [ json_name = "sort_by" ] ;
279+ string sort_by = 4 ;
280280 // A base-64 encoded, JSON-serialized Filter protocol buffer (see
281281 // filter.proto).
282282 string filter = 5 ;
@@ -286,10 +286,10 @@ message ListPipelineVersionsResponse {
286286 repeated PipelineVersion versions = 1 ;
287287
288288 // 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 ;
290290
291291 // The total number of pipeline versions for the given query.
292- int32 total_size = 3 [ json_name = "total_size" ] ;
292+ int32 total_size = 3 ;
293293}
294294
295295message DeletePipelineVersionRequest {
@@ -302,7 +302,7 @@ message Pipeline {
302302 string id = 1 ;
303303
304304 // 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 ;
306306
307307 // Optional input field. Pipeline name provided by user. If not specified,
308308 // file name is used as pipeline name.
@@ -329,11 +329,11 @@ message Pipeline {
329329 // Output only. The default version of the pipeline. As of now, the latest
330330 // version is used as default. (In the future, if desired by customers, we
331331 // can allow them to set default version.)
332- PipelineVersion default_version = 8 [ json_name = "default_version" ] ;
332+ PipelineVersion default_version = 8 ;
333333
334334 // Input field. Specify which resource this pipeline belongs to.
335335 // 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 ;
337337}
338338
339339message PipelineVersion {
@@ -344,7 +344,7 @@ message PipelineVersion {
344344 string name = 2 ;
345345
346346 // 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 ;
348348
349349 // Output. The input parameters for this pipeline.
350350 repeated Parameter parameters = 4 ;
@@ -353,16 +353,16 @@ message PipelineVersion {
353353 // The code is usually the Python definition of the pipeline and potentially
354354 // the related component definitions. This allows users to trace back to how
355355 // the pipeline YAML was created.
356- string code_source_url = 5 [ json_name = "code_source_url" ] ;
356+ string code_source_url = 5 ;
357357
358358 // Input. Required. The URL to the source of the pipeline version.
359359 // This is required when creating the pipeine version through
360360 // CreatePipelineVersion API.
361- Url package_url = 6 [ json_name = "package_url" ] ;
361+ Url package_url = 6 ;
362362
363363 // Input field. Specify which resource this pipeline version belongs to.
364364 // 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 ;
366366
367367 // Input. Optional. Description for the pipeline version.
368368 string description = 8 ;
0 commit comments