Class Box2D.PbWorld

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
com.google.protobuf.GeneratedMessageV3
org.box2d.proto.Box2D.PbWorld
All Implemented Interfaces:
com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Box2D.PbWorldOrBuilder
Enclosing class:
Box2D

public static final class Box2D.PbWorld extends com.google.protobuf.GeneratedMessageV3 implements Box2D.PbWorldOrBuilder
Protobuf type box2d.PbWorld
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type box2d.PbWorld

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage

    com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionSerializer, com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWriter, com.google.protobuf.GeneratedMessage.ExtendableMessage.FieldEntry

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final com.google.protobuf.Parser<Box2D.PbWorld>
    Deprecated.
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
    optional bool allow_sleep = 3;
    boolean
    optional bool auto_clear_forces = 4;
    getBodies(int index)
    repeated .box2d.PbBody bodies = 20;
    int
    repeated .box2d.PbBody bodies = 20;
    repeated .box2d.PbBody bodies = 20;
    getBodiesOrBuilder(int index)
    repeated .box2d.PbBody bodies = 20;
    repeated .box2d.PbBody bodies = 20;
    boolean
    optional bool continuous_physics = 6;
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    optional .box2d.PbVec2 gravity = 2;
    optional .box2d.PbVec2 gravity = 2;
    getJoints(int index)
    repeated .box2d.PbJoint joints = 21;
    int
    repeated .box2d.PbJoint joints = 21;
    repeated .box2d.PbJoint joints = 21;
    getJointsOrBuilder(int index)
    repeated .box2d.PbJoint joints = 21;
    repeated .box2d.PbJoint joints = 21;
    com.google.protobuf.Parser<Box2D.PbWorld>
     
    int
     
    boolean
    optional bool sub_stepping = 7;
    long
    optional int64 tag = 1;
    final com.google.protobuf.UnknownFieldSet
     
    boolean
    optional bool warm_starting = 5;
    boolean
    optional bool allow_sleep = 3;
    boolean
    optional bool auto_clear_forces = 4;
    boolean
    optional bool continuous_physics = 6;
    boolean
    optional .box2d.PbVec2 gravity = 2;
    int
     
    boolean
    optional bool sub_stepping = 7;
    boolean
    optional int64 tag = 1;
    boolean
    optional bool warm_starting = 5;
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Box2D.PbWorld>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList

    Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage

    extensionsAreInitialized, extensionsIterator, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, makeExtensionsImmutable, newExtensionSerializer, newExtensionWriter, newMessageSetExtensionSerializer, newMessageSetExtensionWriter

    Methods inherited from class com.google.protobuf.GeneratedMessage

    computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder

    getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, hasExtension, hasExtension

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessage
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Overrides:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasTag

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

      public long getTag()
      optional int64 tag = 1;
      Specified by:
      getTag in interface Box2D.PbWorldOrBuilder
      Returns:
      The tag.
    • hasGravity

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

      public Box2D.PbVec2 getGravity()
      optional .box2d.PbVec2 gravity = 2;
      Specified by:
      getGravity in interface Box2D.PbWorldOrBuilder
      Returns:
      The gravity.
    • getGravityOrBuilder

      public Box2D.PbVec2OrBuilder getGravityOrBuilder()
      optional .box2d.PbVec2 gravity = 2;
      Specified by:
      getGravityOrBuilder in interface Box2D.PbWorldOrBuilder
    • hasAllowSleep

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

      public boolean getAllowSleep()
      optional bool allow_sleep = 3;
      Specified by:
      getAllowSleep in interface Box2D.PbWorldOrBuilder
      Returns:
      The allowSleep.
    • hasAutoClearForces

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

      public boolean getAutoClearForces()
      optional bool auto_clear_forces = 4;
      Specified by:
      getAutoClearForces in interface Box2D.PbWorldOrBuilder
      Returns:
      The autoClearForces.
    • hasWarmStarting

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

      public boolean getWarmStarting()
      optional bool warm_starting = 5;
      Specified by:
      getWarmStarting in interface Box2D.PbWorldOrBuilder
      Returns:
      The warmStarting.
    • hasContinuousPhysics

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

      public boolean getContinuousPhysics()
      optional bool continuous_physics = 6;
      Specified by:
      getContinuousPhysics in interface Box2D.PbWorldOrBuilder
      Returns:
      The continuousPhysics.
    • hasSubStepping

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

      public boolean getSubStepping()
      optional bool sub_stepping = 7;
      Specified by:
      getSubStepping in interface Box2D.PbWorldOrBuilder
      Returns:
      The subStepping.
    • getBodiesList

      public List<Box2D.PbBody> getBodiesList()
      repeated .box2d.PbBody bodies = 20;
      Specified by:
      getBodiesList in interface Box2D.PbWorldOrBuilder
    • getBodiesOrBuilderList

      public List<? extends Box2D.PbBodyOrBuilder> getBodiesOrBuilderList()
      repeated .box2d.PbBody bodies = 20;
      Specified by:
      getBodiesOrBuilderList in interface Box2D.PbWorldOrBuilder
    • getBodiesCount

      public int getBodiesCount()
      repeated .box2d.PbBody bodies = 20;
      Specified by:
      getBodiesCount in interface Box2D.PbWorldOrBuilder
    • getBodies

      public Box2D.PbBody getBodies(int index)
      repeated .box2d.PbBody bodies = 20;
      Specified by:
      getBodies in interface Box2D.PbWorldOrBuilder
    • getBodiesOrBuilder

      public Box2D.PbBodyOrBuilder getBodiesOrBuilder(int index)
      repeated .box2d.PbBody bodies = 20;
      Specified by:
      getBodiesOrBuilder in interface Box2D.PbWorldOrBuilder
    • getJointsList

      public List<Box2D.PbJoint> getJointsList()
      repeated .box2d.PbJoint joints = 21;
      Specified by:
      getJointsList in interface Box2D.PbWorldOrBuilder
    • getJointsOrBuilderList

      public List<? extends Box2D.PbJointOrBuilder> getJointsOrBuilderList()
      repeated .box2d.PbJoint joints = 21;
      Specified by:
      getJointsOrBuilderList in interface Box2D.PbWorldOrBuilder
    • getJointsCount

      public int getJointsCount()
      repeated .box2d.PbJoint joints = 21;
      Specified by:
      getJointsCount in interface Box2D.PbWorldOrBuilder
    • getJoints

      public Box2D.PbJoint getJoints(int index)
      repeated .box2d.PbJoint joints = 21;
      Specified by:
      getJoints in interface Box2D.PbWorldOrBuilder
    • getJointsOrBuilder

      public Box2D.PbJointOrBuilder getJointsOrBuilder(int index)
      repeated .box2d.PbJoint joints = 21;
      Specified by:
      getJointsOrBuilder in interface Box2D.PbWorldOrBuilder
    • isInitialized

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

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      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(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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Box2D.PbWorld parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

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

      public static Box2D.PbWorld parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      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
    • newBuilder

      public static Box2D.PbWorld.Builder newBuilder()
    • newBuilder

      public static Box2D.PbWorld.Builder newBuilder(Box2D.PbWorld prototype)
    • 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.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder