NaturalLanguageClassifier extends BaseService { public ServiceCall<ClassifierList> listClassifiers( ListClassifiersOptions listClassifiersOptions) { String[] pathSegments = {"v1/classifiers"}; RequestBuilder builder = RequestBuilder.get(RequestBuilder.constructHttpUrl(getServiceUrl(), pathSegments)); Map<String, String> sdkHeaders = SdkCommon.getSdkHeaders("natural_language_classifier", "v1", "listClassifiers"); for (Entry<String, String> header : sdkHeaders.entrySet()) { builder.header(header.getKey(), header.getValue()); } builder.header("Accept", "application/json"); if (listClassifiersOptions != null) {} ResponseConverter<ClassifierList> responseConverter = ResponseConverterUtils.getValue( new com.google.gson.reflect.TypeToken<ClassifierList>() {}.getType()); return createServiceCall(builder.build(), responseConverter); } NaturalLanguageClassifier();  NaturalLanguageClassifier(Authenticator authenticator);  NaturalLanguageClassifier(String serviceName);  NaturalLanguageClassifier(String serviceName, Authenticator authenticator); ServiceCall<Classification> classify(ClassifyOptions classifyOptions); ServiceCall<ClassificationCollection> classifyCollection(
      ClassifyCollectionOptions classifyCollectionOptions); ServiceCall<Classifier> createClassifier(CreateClassifierOptions createClassifierOptions); ServiceCall<ClassifierList> listClassifiers(
      ListClassifiersOptions listClassifiersOptions); ServiceCall<ClassifierList> listClassifiers(); ServiceCall<Classifier> getClassifier(GetClassifierOptions getClassifierOptions); ServiceCall<Void> deleteClassifier(DeleteClassifierOptions deleteClassifierOptions);  }
@Test public void testGetClassifiers() throws InterruptedException { server.enqueue(jsonResponse(classifiers)); final ClassifierList response = service.listClassifiers().execute().getResult(); final RecordedRequest request = server.takeRequest(); assertEquals(CLASSIFIERS_PATH, request.getPath()); assertEquals(classifiers, response); }