@InternalApi
  public static List<ApiMethodDescriptor> getMethodDescriptors() {
    List<ApiMethodDescriptor> methodDescriptors = new ArrayList<>();
    methodDescriptors.add(listClustersMethodDescriptor);
    methodDescriptors.add(getClusterMethodDescriptor);
    methodDescriptors.add(createClusterMethodDescriptor);
    methodDescriptors.add(updateClusterMethodDescriptor);
    methodDescriptors.add(deleteClusterMethodDescriptor);
    methodDescriptors.add(listStreamsMethodDescriptor);
    methodDescriptors.add(getStreamMethodDescriptor);
    methodDescriptors.add(createStreamMethodDescriptor);
    methodDescriptors.add(updateStreamMethodDescriptor);
    methodDescriptors.add(deleteStreamMethodDescriptor);
    methodDescriptors.add(getStreamThumbnailMethodDescriptor);
    methodDescriptors.add(generateStreamHlsTokenMethodDescriptor);
    methodDescriptors.add(listEventsMethodDescriptor);
    methodDescriptors.add(getEventMethodDescriptor);
    methodDescriptors.add(createEventMethodDescriptor);
    methodDescriptors.add(updateEventMethodDescriptor);
    methodDescriptors.add(deleteEventMethodDescriptor);
    methodDescriptors.add(listSeriesMethodDescriptor);
    methodDescriptors.add(getSeriesMethodDescriptor);
    methodDescriptors.add(createSeriesMethodDescriptor);
    methodDescriptors.add(updateSeriesMethodDescriptor);
    methodDescriptors.add(deleteSeriesMethodDescriptor);
    methodDescriptors.add(materializeChannelMethodDescriptor);
    return methodDescriptors;
  }
Constructs an instance of HttpJsonStreamsServiceStub, 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/HttpJsonStreamsServiceStub.java