@InternalApi
  public static List<ApiMethodDescriptor> getMethodDescriptors() {
    List<ApiMethodDescriptor> methodDescriptors = new ArrayList<>();
    methodDescriptors.add(listNodesMethodDescriptor);
    methodDescriptors.add(getNodeMethodDescriptor);
    methodDescriptors.add(createNodeMethodDescriptor);
    methodDescriptors.add(deleteNodeMethodDescriptor);
    methodDescriptors.add(stopNodeMethodDescriptor);
    methodDescriptors.add(startNodeMethodDescriptor);
    methodDescriptors.add(updateNodeMethodDescriptor);
    methodDescriptors.add(listQueuedResourcesMethodDescriptor);
    methodDescriptors.add(getQueuedResourceMethodDescriptor);
    methodDescriptors.add(createQueuedResourceMethodDescriptor);
    methodDescriptors.add(deleteQueuedResourceMethodDescriptor);
    methodDescriptors.add(resetQueuedResourceMethodDescriptor);
    methodDescriptors.add(generateServiceIdentityMethodDescriptor);
    methodDescriptors.add(listAcceleratorTypesMethodDescriptor);
    methodDescriptors.add(getAcceleratorTypeMethodDescriptor);
    methodDescriptors.add(listRuntimeVersionsMethodDescriptor);
    methodDescriptors.add(getRuntimeVersionMethodDescriptor);
    methodDescriptors.add(getGuestAttributesMethodDescriptor);
    methodDescriptors.add(listLocationsMethodDescriptor);
    methodDescriptors.add(getLocationMethodDescriptor);
    return methodDescriptors;
  }
Constructs an instance of HttpJsonTpuStub, 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-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2/stub/HttpJsonTpuStub.java