Examples of clearOptionalInt64()


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

    TestAllTypesMicro msg = new TestAllTypesMicro();
    assertFalse(msg.hasOptionalInt64());
    msg.setOptionalInt64(123);
    assertTrue(msg.hasOptionalInt64());
    assertEquals(123, msg.getOptionalInt64());
    msg.clearOptionalInt64();
    assertFalse(msg.hasOptionalInt64());
    msg.clearOptionalInt64()
       .setOptionalInt64(456);
    assertTrue(msg.hasOptionalInt64());
    msg.clear();
View Full Code Here

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

    msg.setOptionalInt64(123);
    assertTrue(msg.hasOptionalInt64());
    assertEquals(123, msg.getOptionalInt64());
    msg.clearOptionalInt64();
    assertFalse(msg.hasOptionalInt64());
    msg.clearOptionalInt64()
       .setOptionalInt64(456);
    assertTrue(msg.hasOptionalInt64());
    msg.clear();
    assertFalse(msg.hasOptionalInt64());
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.