public final ListAnnotationSpecSetsPagedResponse listAnnotationSpecSets(
      String parent, String filter) {
    PROJECT_PATH_TEMPLATE.validate(parent, "listAnnotationSpecSets");
    ListAnnotationSpecSetsRequest request =
        ListAnnotationSpecSetsRequest.newBuilder().setParent(parent).setFilter(filter).build();
    return listAnnotationSpecSets(request);
  }
public final ListAnnotationSpecSetsPagedResponse listAnnotationSpecSets ( String parent , String filter ) { PROJECT_PATH_TEMPLATE . validate ( parent , "listAnnotationSpecSets" ) ; ListAnnotationSpecSetsRequest request = ListAnnotationSpecSetsRequest . newBuilder ( ) . setParent ( parent ) . setFilter ( filter ) . build ( ) ; return listAnnotationSpecSets ( request ) ; }
Lists annotation spec sets for a project. Pagination is supported.

<p>Sample code:

<pre><code>
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
String formattedParent = DataLabelingServiceClient.formatProjectName("[PROJECT]");
String filter = "";
for (AnnotationSpecSet element : dataLabelingServiceClient.listAnnotationSpecSets(formattedParent, filter).iterateAll()) {
// doThingsWith(element);
}
}
</code></pre>

@param parent Required. Parent of AnnotationSpecSet resource, format: projects/{project_id}
@param filter Optional. Filter is not supported at this moment.
@throws com.google.api.gax.rpc.ApiException if the remote call fails