Examples of clearOptionalSint32()


Examples of com.google.protobuf.micro.MicroOuterClass.TestAllTypesMicro.clearOptionalSint32()

    TestAllTypesMicro msg = new TestAllTypesMicro();
    assertFalse(msg.hasOptionalSint32());
    msg.setOptionalSint32(123);
    assertTrue(msg.hasOptionalSint32());
    assertEquals(123, msg.getOptionalSint32());
    msg.clearOptionalSint32();
    assertFalse(msg.hasOptionalSint32());
    msg.clearOptionalSint32()
       .setOptionalSint32(456);
    assertTrue(msg.hasOptionalSint32());
    msg.clear();
View Full Code Here

Examples of com.google.protobuf.micro.MicroOuterClass.TestAllTypesMicro.clearOptionalSint32()

    msg.setOptionalSint32(123);
    assertTrue(msg.hasOptionalSint32());
    assertEquals(123, msg.getOptionalSint32());
    msg.clearOptionalSint32();
    assertFalse(msg.hasOptionalSint32());
    msg.clearOptionalSint32()
       .setOptionalSint32(456);
    assertTrue(msg.hasOptionalSint32());
    msg.clear();
    assertFalse(msg.hasOptionalSint32());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.