@InternalApi
  public static List<ApiMethodDescriptor> getMethodDescriptors() {
    List<ApiMethodDescriptor> methodDescriptors = new ArrayList<>();
    methodDescriptors.add(acquireLeaseMethodDescriptor);
    methodDescriptors.add(renewLeaseMethodDescriptor);
    methodDescriptors.add(releaseLeaseMethodDescriptor);
    return methodDescriptors;
  }
Constructs an instance of HttpJsonStreamingServiceStub, 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-visionai/google-cloud-visionai/src/main/java/com/google/cloud/visionai/v1/stub/HttpJsonStreamingServiceStub.java