@@ -126,11 +126,11 @@ public static EntityProto.EntitySpecV2 createEntitySpecV2(
126126 }
127127
128128 public static FeatureProto .FeatureSpecV2 createFeatureSpecV2 (
129- String name , ValueProto .ValueType .Enum valueType , Map <String , String > labels ) {
129+ String name , ValueProto .ValueType .Enum valueType , Map <String , String > tags ) {
130130 return FeatureProto .FeatureSpecV2 .newBuilder ()
131131 .setName (name )
132132 .setValueType (valueType )
133- .putAllLabels ( labels )
133+ .putAllTags ( tags )
134134 .build ();
135135 }
136136
@@ -140,7 +140,7 @@ public static FeatureTableSpec createFeatureTableSpec(
140140 List <String > entities ,
141141 Map <String , ValueProto .ValueType .Enum > features ,
142142 int maxAgeSecs ,
143- Map <String , String > labels ) {
143+ Map <String , String > tags ) {
144144
145145 return FeatureTableSpec .newBuilder ()
146146 .setName (name )
@@ -152,7 +152,7 @@ public static FeatureTableSpec createFeatureTableSpec(
152152 FeatureSpecV2 .newBuilder ()
153153 .setName (entry .getKey ())
154154 .setValueType (entry .getValue ())
155- .putAllLabels ( labels )
155+ .putAllTags ( tags )
156156 .build ())
157157 .collect (Collectors .toList ()))
158158 .setMaxAge (Duration .newBuilder ().setSeconds (3600 ).build ())
@@ -169,7 +169,7 @@ public static FeatureTableSpec createFeatureTableSpec(
169169 .setUri ("/dev/null" )
170170 .build ())
171171 .build ())
172- .putAllLabels (labels )
172+ .putAllLabels (tags )
173173 .build ();
174174 }
175175
@@ -178,7 +178,7 @@ public static FeatureTableSpec createFeatureTableSpec(
178178 List <String > entities ,
179179 ImmutableMap <String , ValueProto .ValueType .Enum > features ,
180180 int maxAgeSecs ,
181- Map <String , String > labels ) {
181+ Map <String , String > tags ) {
182182
183183 return FeatureTableSpec .newBuilder ()
184184 .setName (name )
@@ -190,11 +190,11 @@ public static FeatureTableSpec createFeatureTableSpec(
190190 FeatureSpecV2 .newBuilder ()
191191 .setName (entry .getKey ())
192192 .setValueType (entry .getValue ())
193- .putAllLabels ( labels )
193+ .putAllTags ( tags )
194194 .build ())
195195 .collect (Collectors .toList ()))
196196 .setMaxAge (Duration .newBuilder ().setSeconds (maxAgeSecs ).build ())
197- .putAllLabels (labels )
197+ .putAllLabels (tags )
198198 .build ();
199199 }
200200
0 commit comments