org.box2d.proto
Class Box2D.PbWorld

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.AbstractMessage
          extended by com.google.protobuf.GeneratedMessage
              extended by org.box2d.proto.Box2D.PbWorld
All Implemented Interfaces:
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.GeneratedMessage
implements Box2D.PbWorldOrBuilder

See Also:
Serialized Form

Nested Class Summary
static class Box2D.PbWorld.Builder
           
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
 
Field Summary
static int ALLOW_SLEEP_FIELD_NUMBER
           
static int AUTO_CLEAR_FORCES_FIELD_NUMBER
           
static int BODIES_FIELD_NUMBER
           
static int CONTINUOUS_PHYSICS_FIELD_NUMBER
           
static int GRAVITY_FIELD_NUMBER
           
static int JOINTS_FIELD_NUMBER
           
static int SUB_STEPPING_FIELD_NUMBER
           
static int TAG_FIELD_NUMBER
           
static int WARM_STARTING_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 boolean getAllowSleep()
           
 boolean getAutoClearForces()
           
 Box2D.PbBody getBodies(int index)
           
 int getBodiesCount()
           
 List<Box2D.PbBody> getBodiesList()
           
 Box2D.PbBodyOrBuilder getBodiesOrBuilder(int index)
           
 List<? extends Box2D.PbBodyOrBuilder> getBodiesOrBuilderList()
           
 boolean getContinuousPhysics()
           
static Box2D.PbWorld getDefaultInstance()
           
 Box2D.PbWorld getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 Box2D.PbVec2 getGravity()
           
 Box2D.PbVec2OrBuilder getGravityOrBuilder()
           
 Box2D.PbJoint getJoints(int index)
           
 int getJointsCount()
           
 List<Box2D.PbJoint> getJointsList()
           
 Box2D.PbJointOrBuilder getJointsOrBuilder(int index)
           
 List<? extends Box2D.PbJointOrBuilder> getJointsOrBuilderList()
           
 int getSerializedSize()
           
 boolean getSubStepping()
           
 long getTag()
           
 boolean getWarmStarting()
           
 boolean hasAllowSleep()
           
 boolean hasAutoClearForces()
           
 boolean hasContinuousPhysics()
           
 boolean hasGravity()
           
 boolean hasSubStepping()
           
 boolean hasTag()
           
 boolean hasWarmStarting()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static Box2D.PbWorld.Builder newBuilder()
           
static Box2D.PbWorld.Builder newBuilder(Box2D.PbWorld prototype)
           
 Box2D.PbWorld.Builder newBuilderForType()
           
protected  Box2D.PbWorld.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static Box2D.PbWorld parseDelimitedFrom(InputStream input)
           
static Box2D.PbWorld parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static Box2D.PbWorld parseFrom(byte[] data)
           
static Box2D.PbWorld parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static Box2D.PbWorld parseFrom(com.google.protobuf.ByteString data)
           
static Box2D.PbWorld parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static Box2D.PbWorld parseFrom(com.google.protobuf.CodedInputStream input)
           
static Box2D.PbWorld parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static Box2D.PbWorld parseFrom(InputStream input)
           
static Box2D.PbWorld parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 Box2D.PbWorld.Builder toBuilder()
           
protected  Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension
 
Methods inherited from class com.google.protobuf.AbstractMessage
equals, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
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.MessageOrBuilder
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 

Field Detail

TAG_FIELD_NUMBER

public static final int TAG_FIELD_NUMBER
See Also:
Constant Field Values

GRAVITY_FIELD_NUMBER

public static final int GRAVITY_FIELD_NUMBER
See Also:
Constant Field Values

ALLOW_SLEEP_FIELD_NUMBER

public static final int ALLOW_SLEEP_FIELD_NUMBER
See Also:
Constant Field Values

AUTO_CLEAR_FORCES_FIELD_NUMBER

public static final int AUTO_CLEAR_FORCES_FIELD_NUMBER
See Also:
Constant Field Values

WARM_STARTING_FIELD_NUMBER

public static final int WARM_STARTING_FIELD_NUMBER
See Also:
Constant Field Values

CONTINUOUS_PHYSICS_FIELD_NUMBER

public static final int CONTINUOUS_PHYSICS_FIELD_NUMBER
See Also:
Constant Field Values

SUB_STEPPING_FIELD_NUMBER

public static final int SUB_STEPPING_FIELD_NUMBER
See Also:
Constant Field Values

BODIES_FIELD_NUMBER

public static final int BODIES_FIELD_NUMBER
See Also:
Constant Field Values

JOINTS_FIELD_NUMBER

public static final int JOINTS_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static Box2D.PbWorld getDefaultInstance()

getDefaultInstanceForType

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

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()
Specified by:
hasTag in interface Box2D.PbWorldOrBuilder

getTag

public long getTag()
Specified by:
getTag in interface Box2D.PbWorldOrBuilder

hasGravity

public boolean hasGravity()
Specified by:
hasGravity in interface Box2D.PbWorldOrBuilder

getGravity

public Box2D.PbVec2 getGravity()
Specified by:
getGravity in interface Box2D.PbWorldOrBuilder

getGravityOrBuilder

public Box2D.PbVec2OrBuilder getGravityOrBuilder()
Specified by:
getGravityOrBuilder in interface Box2D.PbWorldOrBuilder

hasAllowSleep

public boolean hasAllowSleep()
Specified by:
hasAllowSleep in interface Box2D.PbWorldOrBuilder

getAllowSleep

public boolean getAllowSleep()
Specified by:
getAllowSleep in interface Box2D.PbWorldOrBuilder

hasAutoClearForces

public boolean hasAutoClearForces()
Specified by:
hasAutoClearForces in interface Box2D.PbWorldOrBuilder

getAutoClearForces

public boolean getAutoClearForces()
Specified by:
getAutoClearForces in interface Box2D.PbWorldOrBuilder

hasWarmStarting

public boolean hasWarmStarting()
Specified by:
hasWarmStarting in interface Box2D.PbWorldOrBuilder

getWarmStarting

public boolean getWarmStarting()
Specified by:
getWarmStarting in interface Box2D.PbWorldOrBuilder

hasContinuousPhysics

public boolean hasContinuousPhysics()
Specified by:
hasContinuousPhysics in interface Box2D.PbWorldOrBuilder

getContinuousPhysics

public boolean getContinuousPhysics()
Specified by:
getContinuousPhysics in interface Box2D.PbWorldOrBuilder

hasSubStepping

public boolean hasSubStepping()
Specified by:
hasSubStepping in interface Box2D.PbWorldOrBuilder

getSubStepping

public boolean getSubStepping()
Specified by:
getSubStepping in interface Box2D.PbWorldOrBuilder

getBodiesList

public List<Box2D.PbBody> getBodiesList()
Specified by:
getBodiesList in interface Box2D.PbWorldOrBuilder

getBodiesOrBuilderList

public List<? extends Box2D.PbBodyOrBuilder> getBodiesOrBuilderList()
Specified by:
getBodiesOrBuilderList in interface Box2D.PbWorldOrBuilder

getBodiesCount

public int getBodiesCount()
Specified by:
getBodiesCount in interface Box2D.PbWorldOrBuilder

getBodies

public Box2D.PbBody getBodies(int index)
Specified by:
getBodies in interface Box2D.PbWorldOrBuilder

getBodiesOrBuilder

public Box2D.PbBodyOrBuilder getBodiesOrBuilder(int index)
Specified by:
getBodiesOrBuilder in interface Box2D.PbWorldOrBuilder

getJointsList

public List<Box2D.PbJoint> getJointsList()
Specified by:
getJointsList in interface Box2D.PbWorldOrBuilder

getJointsOrBuilderList

public List<? extends Box2D.PbJointOrBuilder> getJointsOrBuilderList()
Specified by:
getJointsOrBuilderList in interface Box2D.PbWorldOrBuilder

getJointsCount

public int getJointsCount()
Specified by:
getJointsCount in interface Box2D.PbWorldOrBuilder

getJoints

public Box2D.PbJoint getJoints(int index)
Specified by:
getJoints in interface Box2D.PbWorldOrBuilder

getJointsOrBuilder

public Box2D.PbJointOrBuilder getJointsOrBuilder(int index)
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

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.AbstractMessage
Throws:
IOException

getSerializedSize

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

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Overrides:
writeReplace in class com.google.protobuf.GeneratedMessage
Throws:
ObjectStreamException

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

newBuilder

public static Box2D.PbWorld.Builder newBuilder()

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(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.GeneratedMessage.BuilderParent parent)
Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage


Copyright © 2013. All Rights Reserved.