@InternalApi
  public static List<ApiMethodDescriptor> getMethodDescriptors() {
    List<ApiMethodDescriptor> methodDescriptors = new ArrayList<>();
    methodDescriptors.add(getGoogleServiceAccountMethodDescriptor);
    methodDescriptors.add(createTransferJobMethodDescriptor);
    methodDescriptors.add(updateTransferJobMethodDescriptor);
    methodDescriptors.add(getTransferJobMethodDescriptor);
    methodDescriptors.add(listTransferJobsMethodDescriptor);
    methodDescriptors.add(pauseTransferOperationMethodDescriptor);
    methodDescriptors.add(resumeTransferOperationMethodDescriptor);
    methodDescriptors.add(runTransferJobMethodDescriptor);
    methodDescriptors.add(deleteTransferJobMethodDescriptor);
    methodDescriptors.add(createAgentPoolMethodDescriptor);
    methodDescriptors.add(updateAgentPoolMethodDescriptor);
    methodDescriptors.add(getAgentPoolMethodDescriptor);
    methodDescriptors.add(listAgentPoolsMethodDescriptor);
    methodDescriptors.add(deleteAgentPoolMethodDescriptor);
    return methodDescriptors;
  }
Constructs an instance of HttpJsonStorageTransferServiceStub, 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-storage-transfer/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceStub.java