use of com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder in project j2objc by google.
the class CompatibilityTest method testExtendableMessageOrBuilder.
public void testExtendableMessageOrBuilder() throws Exception {
TypicalData.Builder builder = TypicalData.newBuilder().setMyInt(42);
TypicalData data = builder.build();
Object o = builder;
ExtendableMessageOrBuilder emob = (ExtendableMessageOrBuilder) o;
o = data;
emob = (ExtendableMessageOrBuilder) o;
}
Aggregations