public static final StreamingServiceSettings create(StreamingServiceStubSettings stub)
      throws IOException {
    return new StreamingServiceSettings.Builder(stub.toBuilder()).build();
  }
Returns the object with the settings used for calls to releaseLease.
java-visionai/google-cloud-visionai/src/main/java/com/google/cloud/visionai/v1/StreamingServiceSettings.java