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