ProtobufTranslator implements Translator, ProvidesAlias, ProvidesValidations,
    InstantiatesComponents { public String getAlias() { return "protobuf"; }  @Override Iterable<Row> translate(Row message); String getAlias(); @Override StructType getExpectingSchema(); @Override StructType getProvidingSchema(); @Override void configure(Config config); @Override Validations getValidations(); @Override Set<InstantiatedComponent> getComponents(Config config, boolean configure); static final String SCHEMA_CONFIG; }
@Test public void getAlias() { ProtobufTranslator translator = new ProtobufTranslator(); assertThat(translator.getAlias(), is(ALIAS)); }