PipelineOptionsFactory { public static Set<Class<? extends PipelineOptions>> getRegisteredOptions() { return Collections.unmodifiableSet(CACHE.get().registeredOptions); }  static PipelineOptions create(); static T as(Class<T> klass); static Builder fromArgs(String... args); Builder withValidation(); static synchronized void register(Class<? extends PipelineOptions> iface); @Experimental static synchronized void resetCache(); static Set<Class<? extends PipelineOptions>> getRegisteredOptions(); static void printHelp(PrintStream out); static void printHelp(PrintStream out, Class<? extends PipelineOptions> iface); static List<PipelineOptionDescriptor> describe(
      Set<Class<? extends PipelineOptions>> ifaces);  }
@Test public void testAutomaticRegistrationOfPipelineOptions() { assertTrue(PipelineOptionsFactory.getRegisteredOptions().contains(RegisteredTestOptions.class)); }
@Test public void testDefaultRegistration() { assertTrue(PipelineOptionsFactory.getRegisteredOptions().contains(PipelineOptions.class)); }