@Test public void testExtra() { assertThat(Operation.kDescriptor.getType(), is(PType.MESSAGE)); assertThat(Operation.kDescriptor.getVariant(), is(PMessageVariant.STRUCT)); assertThat(Operation.kDescriptor.isSimple(), is(false)); }
@Nonnull @Override public PMessageVariant getVariant() { return PMessageVariant.STRUCT; }
PStructDescriptor extends PMessageDescriptor<T, F> { @Nonnull @Override public PMessageVariant getVariant() { return PMessageVariant.STRUCT; } }
PStructDescriptor extends PMessageDescriptor<T, F> { @Nonnull @Override public PMessageVariant getVariant() { return PMessageVariant.STRUCT; } PStructDescriptor(String programName,
                             String name,
                             Supplier<PMessageBuilder<T, F>> builderSupplier,
                             boolean simple); }
PStructDescriptor extends PMessageDescriptor<T, F> { @Nonnull @Override public PMessageVariant getVariant() { return PMessageVariant.STRUCT; } PStructDescriptor(String programName,
                             String name,
                             Supplier<PMessageBuilder<T, F>> builderSupplier,
                             boolean simple); @Nonnull @Override PMessageVariant getVariant(); }
PStructDescriptor extends PMessageDescriptor<T, F> { @Nonnull @Override public PMessageVariant getVariant() { return PMessageVariant.STRUCT; } PStructDescriptor(String programName,
                             String name,
                             Supplier<PMessageBuilder<T, F>> builderSupplier,
                             boolean simple); @Nonnull @Override PMessageVariant getVariant();  }