@InternalApi
  public static List<ApiMethodDescriptor> getMethodDescriptors() {
    List<ApiMethodDescriptor> methodDescriptors = new ArrayList<>();
    methodDescriptors.add(listApplicationsMethodDescriptor);
    methodDescriptors.add(getApplicationMethodDescriptor);
    methodDescriptors.add(createApplicationMethodDescriptor);
    methodDescriptors.add(updateApplicationMethodDescriptor);
    methodDescriptors.add(deleteApplicationMethodDescriptor);
    methodDescriptors.add(deployApplicationMethodDescriptor);
    methodDescriptors.add(undeployApplicationMethodDescriptor);
    methodDescriptors.add(addApplicationStreamInputMethodDescriptor);
    methodDescriptors.add(removeApplicationStreamInputMethodDescriptor);
    methodDescriptors.add(updateApplicationStreamInputMethodDescriptor);
    methodDescriptors.add(listInstancesMethodDescriptor);
    methodDescriptors.add(getInstanceMethodDescriptor);
    methodDescriptors.add(createApplicationInstancesMethodDescriptor);
    methodDescriptors.add(deleteApplicationInstancesMethodDescriptor);
    methodDescriptors.add(updateApplicationInstancesMethodDescriptor);
    methodDescriptors.add(listDraftsMethodDescriptor);
    methodDescriptors.add(getDraftMethodDescriptor);
    methodDescriptors.add(createDraftMethodDescriptor);
    methodDescriptors.add(updateDraftMethodDescriptor);
    methodDescriptors.add(deleteDraftMethodDescriptor);
    methodDescriptors.add(listProcessorsMethodDescriptor);
    methodDescriptors.add(listPrebuiltProcessorsMethodDescriptor);
    methodDescriptors.add(getProcessorMethodDescriptor);
    methodDescriptors.add(createProcessorMethodDescriptor);
    methodDescriptors.add(updateProcessorMethodDescriptor);
    methodDescriptors.add(deleteProcessorMethodDescriptor);
    return methodDescriptors;
  }
Constructs an instance of HttpJsonAppPlatformStub, 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/HttpJsonAppPlatformStub.java