4
4
// @ts -nocheck
5
5
6
6
import type { BinaryReadOptions , FieldList , JsonReadOptions , JsonValue , PartialMessage , PlainMessage } from "@bufbuild/protobuf" ;
7
- import { Message , proto3 } from "@bufbuild/protobuf" ;
7
+ import { FieldMask , Message , proto3 } from "@bufbuild/protobuf" ;
8
8
9
9
/**
10
10
* Defines the pipeline resource.
@@ -68,6 +68,14 @@ export class Pipeline extends Message<Pipeline> {
68
68
*/
69
69
url = "" ;
70
70
71
+ /**
72
+ * Tags are key-value pairs that can be assigned to a pipeline resource.
73
+ * They help organize pipelines and enable filtering when listing them.
74
+ *
75
+ * @generated from field: map<string, string> tags = 11;
76
+ */
77
+ tags : { [ key : string ] : string } = { } ;
78
+
71
79
constructor ( data ?: PartialMessage < Pipeline > ) {
72
80
super ( ) ;
73
81
proto3 . util . initPartial ( data , this ) ;
@@ -84,6 +92,7 @@ export class Pipeline extends Message<Pipeline> {
84
92
{ no : 7 , name : "state" , kind : "enum" , T : proto3 . getEnumType ( Pipeline_State ) } ,
85
93
{ no : 8 , name : "status" , kind : "message" , T : Pipeline_Status } ,
86
94
{ no : 10 , name : "url" , kind : "scalar" , T : 9 /* ScalarType.STRING */ } ,
95
+ { no : 11 , name : "tags" , kind : "map" , K : 9 /* ScalarType.STRING */ , V : { kind : "scalar" , T : 9 /* ScalarType.STRING */ } } ,
87
96
] ) ;
88
97
89
98
static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : Pipeline {
@@ -553,6 +562,13 @@ export class ListPipelinesRequest_Filter extends Message<ListPipelinesRequest_Fi
553
562
*/
554
563
nameContains = "" ;
555
564
565
+ /**
566
+ * Filter pipelines that contain all of these key/value pairs.
567
+ *
568
+ * @generated from field: map<string, string> tags = 2;
569
+ */
570
+ tags : { [ key : string ] : string } = { } ;
571
+
556
572
constructor ( data ?: PartialMessage < ListPipelinesRequest_Filter > ) {
557
573
super ( ) ;
558
574
proto3 . util . initPartial ( data , this ) ;
@@ -562,6 +578,7 @@ export class ListPipelinesRequest_Filter extends Message<ListPipelinesRequest_Fi
562
578
static readonly typeName = "redpanda.api.dataplane.v1.ListPipelinesRequest.Filter" ;
563
579
static readonly fields : FieldList = proto3 . util . newFieldList ( ( ) => [
564
580
{ no : 1 , name : "name_contains" , kind : "scalar" , T : 9 /* ScalarType.STRING */ } ,
581
+ { no : 2 , name : "tags" , kind : "map" , K : 9 /* ScalarType.STRING */ , V : { kind : "scalar" , T : 9 /* ScalarType.STRING */ } } ,
565
582
] ) ;
566
583
567
584
static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : ListPipelinesRequest_Filter {
@@ -656,6 +673,14 @@ export class PipelineUpdate extends Message<PipelineUpdate> {
656
673
*/
657
674
resources ?: Pipeline_Resources ;
658
675
676
+ /**
677
+ * A map of tags to add, update or delete.
678
+ * If a tag's value is empty, the server interprets that as a deletion.
679
+ *
680
+ * @generated from field: map<string, string> tags = 7;
681
+ */
682
+ tags : { [ key : string ] : string } = { } ;
683
+
659
684
constructor ( data ?: PartialMessage < PipelineUpdate > ) {
660
685
super ( ) ;
661
686
proto3 . util . initPartial ( data , this ) ;
@@ -668,6 +693,7 @@ export class PipelineUpdate extends Message<PipelineUpdate> {
668
693
{ no : 2 , name : "description" , kind : "scalar" , T : 9 /* ScalarType.STRING */ } ,
669
694
{ no : 3 , name : "config_yaml" , kind : "scalar" , T : 9 /* ScalarType.STRING */ } ,
670
695
{ no : 6 , name : "resources" , kind : "message" , T : Pipeline_Resources } ,
696
+ { no : 7 , name : "tags" , kind : "map" , K : 9 /* ScalarType.STRING */ , V : { kind : "scalar" , T : 9 /* ScalarType.STRING */ } } ,
671
697
] ) ;
672
698
673
699
static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : PipelineUpdate {
@@ -703,6 +729,14 @@ export class UpdatePipelineRequest extends Message<UpdatePipelineRequest> {
703
729
*/
704
730
pipeline ?: PipelineUpdate ;
705
731
732
+ /**
733
+ * Specifies which fields should be updated. If not provided,
734
+ * all fields will be updated.
735
+ *
736
+ * @generated from field: google.protobuf.FieldMask update_mask = 3;
737
+ */
738
+ updateMask ?: FieldMask ;
739
+
706
740
constructor ( data ?: PartialMessage < UpdatePipelineRequest > ) {
707
741
super ( ) ;
708
742
proto3 . util . initPartial ( data , this ) ;
@@ -713,6 +747,7 @@ export class UpdatePipelineRequest extends Message<UpdatePipelineRequest> {
713
747
static readonly fields : FieldList = proto3 . util . newFieldList ( ( ) => [
714
748
{ no : 1 , name : "id" , kind : "scalar" , T : 9 /* ScalarType.STRING */ } ,
715
749
{ no : 2 , name : "pipeline" , kind : "message" , T : PipelineUpdate } ,
750
+ { no : 3 , name : "update_mask" , kind : "message" , T : FieldMask } ,
716
751
] ) ;
717
752
718
753
static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : UpdatePipelineRequest {
0 commit comments