Class Box2D.PbWorld

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable, Box2D.PbWorldOrBuilder
    Enclosing class:
    Box2D

    public static final class Box2D.PbWorld
    extends com.google.protobuf.GeneratedMessage
    implements Box2D.PbWorldOrBuilder
    Protobuf type box2d.PbWorld
    See Also:
    Serialized Form
    • Field Detail

      • bitField0_

        private int bitField0_
      • tag_

        private long tag_
      • ALLOW_SLEEP_FIELD_NUMBER

        public static final int ALLOW_SLEEP_FIELD_NUMBER
        See Also:
        Constant Field Values
      • allowSleep_

        private boolean allowSleep_
      • AUTO_CLEAR_FORCES_FIELD_NUMBER

        public static final int AUTO_CLEAR_FORCES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • autoClearForces_

        private boolean autoClearForces_
      • WARM_STARTING_FIELD_NUMBER

        public static final int WARM_STARTING_FIELD_NUMBER
        See Also:
        Constant Field Values
      • warmStarting_

        private boolean warmStarting_
      • CONTINUOUS_PHYSICS_FIELD_NUMBER

        public static final int CONTINUOUS_PHYSICS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • continuousPhysics_

        private boolean continuousPhysics_
      • SUB_STEPPING_FIELD_NUMBER

        public static final int SUB_STEPPING_FIELD_NUMBER
        See Also:
        Constant Field Values
      • subStepping_

        private boolean subStepping_
      • memoizedIsInitialized

        private byte memoizedIsInitialized
      • DEFAULT_INSTANCE

        private static final Box2D.PbWorld DEFAULT_INSTANCE
      • PARSER

        private static final com.google.protobuf.Parser<Box2D.PbWorld> PARSER
    • Constructor Detail

      • PbWorld

        private PbWorld​(com.google.protobuf.GeneratedMessage.Builder<?> builder)
      • PbWorld

        private PbWorld()
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • hasTag

        public boolean hasTag()
        optional int64 tag = 1;
        Specified by:
        hasTag in interface Box2D.PbWorldOrBuilder
        Returns:
        Whether the tag field is set.
      • hasGravity

        public boolean hasGravity()
        optional .box2d.PbVec2 gravity = 2;
        Specified by:
        hasGravity in interface Box2D.PbWorldOrBuilder
        Returns:
        Whether the gravity field is set.
      • hasAllowSleep

        public boolean hasAllowSleep()
        optional bool allow_sleep = 3;
        Specified by:
        hasAllowSleep in interface Box2D.PbWorldOrBuilder
        Returns:
        Whether the allowSleep field is set.
      • hasAutoClearForces

        public boolean hasAutoClearForces()
        optional bool auto_clear_forces = 4;
        Specified by:
        hasAutoClearForces in interface Box2D.PbWorldOrBuilder
        Returns:
        Whether the autoClearForces field is set.
      • hasWarmStarting

        public boolean hasWarmStarting()
        optional bool warm_starting = 5;
        Specified by:
        hasWarmStarting in interface Box2D.PbWorldOrBuilder
        Returns:
        Whether the warmStarting field is set.
      • hasContinuousPhysics

        public boolean hasContinuousPhysics()
        optional bool continuous_physics = 6;
        Specified by:
        hasContinuousPhysics in interface Box2D.PbWorldOrBuilder
        Returns:
        Whether the continuousPhysics field is set.
      • hasSubStepping

        public boolean hasSubStepping()
        optional bool sub_stepping = 7;
        Specified by:
        hasSubStepping in interface Box2D.PbWorldOrBuilder
        Returns:
        Whether the subStepping field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Box2D.PbWorld parseFrom​(java.nio.ByteBuffer data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Box2D.PbWorld parseFrom​(java.nio.ByteBuffer data,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Box2D.PbWorld parseFrom​(com.google.protobuf.ByteString data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Box2D.PbWorld parseFrom​(com.google.protobuf.ByteString data,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Box2D.PbWorld parseFrom​(byte[] data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Box2D.PbWorld parseFrom​(byte[] data,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Box2D.PbWorld parseFrom​(java.io.InputStream input)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Box2D.PbWorld parseFrom​(java.io.InputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Box2D.PbWorld parseDelimitedFrom​(java.io.InputStream input)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Box2D.PbWorld parseDelimitedFrom​(java.io.InputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Box2D.PbWorld parseFrom​(com.google.protobuf.CodedInputStream input)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Box2D.PbWorld parseFrom​(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public Box2D.PbWorld.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Box2D.PbWorld.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Box2D.PbWorld.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getDefaultInstance

        public static Box2D.PbWorld getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Box2D.PbWorld> parser()
      • getParserForType

        public com.google.protobuf.Parser<Box2D.PbWorld> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

        public Box2D.PbWorld getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder