@InternalApi
  public static List<ApiMethodDescriptor> getMethodDescriptors() {
    List<ApiMethodDescriptor> methodDescriptors = new ArrayList<>();
    methodDescriptors.add(createProductSetMethodDescriptor);
    methodDescriptors.add(listProductSetsMethodDescriptor);
    methodDescriptors.add(getProductSetMethodDescriptor);
    methodDescriptors.add(updateProductSetMethodDescriptor);
    methodDescriptors.add(deleteProductSetMethodDescriptor);
    methodDescriptors.add(createProductMethodDescriptor);
    methodDescriptors.add(listProductsMethodDescriptor);
    methodDescriptors.add(getProductMethodDescriptor);
    methodDescriptors.add(updateProductMethodDescriptor);
    methodDescriptors.add(deleteProductMethodDescriptor);
    methodDescriptors.add(createReferenceImageMethodDescriptor);
    methodDescriptors.add(deleteReferenceImageMethodDescriptor);
    methodDescriptors.add(listReferenceImagesMethodDescriptor);
    methodDescriptors.add(getReferenceImageMethodDescriptor);
    methodDescriptors.add(addProductToProductSetMethodDescriptor);
    methodDescriptors.add(removeProductFromProductSetMethodDescriptor);
    methodDescriptors.add(listProductsInProductSetMethodDescriptor);
    methodDescriptors.add(importProductSetsMethodDescriptor);
    methodDescriptors.add(purgeProductsMethodDescriptor);
    return methodDescriptors;
  }
Constructs an instance of HttpJsonProductSearchStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/HttpJsonProductSearchStub.java