@InternalApi
  public static List<ApiMethodDescriptor> getMethodDescriptors() {
    List<ApiMethodDescriptor> methodDescriptors = new ArrayList<>();
    methodDescriptors.add(batchAnnotateImagesMethodDescriptor);
    methodDescriptors.add(batchAnnotateFilesMethodDescriptor);
    methodDescriptors.add(asyncBatchAnnotateImagesMethodDescriptor);
    methodDescriptors.add(asyncBatchAnnotateFilesMethodDescriptor);
    return methodDescriptors;
  }
Constructs an instance of HttpJsonImageAnnotatorStub, 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/v1/stub/HttpJsonImageAnnotatorStub.java