org.box2d.proto
Class Box2D.PbBody

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.PbBody
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Box2D.PbBodyOrBuilder
Enclosing class:
Box2D

public static final class Box2D.PbBody
extends com.google.protobuf.GeneratedMessage
implements Box2D.PbBodyOrBuilder

See Also:
Serialized Form

Nested Class Summary
static class Box2D.PbBody.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 ACTIVE_FIELD_NUMBER
           
static int ALLOW_SLEEP_FIELD_NUMBER
           
static int ANGLE_FIELD_NUMBER
           
static int ANGULAR_DAMPING_FIELD_NUMBER
           
static int ANGULAR_VELOCITY_FIELD_NUMBER
           
static int AWAKE_FIELD_NUMBER
           
static int BULLET_FIELD_NUMBER
           
static int FIXED_ROTATION_FIELD_NUMBER
           
static int FIXTURES_FIELD_NUMBER
           
static int GRAVITY_SCALE_FIELD_NUMBER
           
static int LINEAR_DAMPING_FIELD_NUMBER
           
static int LINEAR_VELOCITY_FIELD_NUMBER
           
static int POSITION_FIELD_NUMBER
           
static int TAG_FIELD_NUMBER
           
static int TYPE_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 boolean getActive()
           
 boolean getAllowSleep()
           
 float getAngle()
           
 float getAngularDamping()
           
 float getAngularVelocity()
           
 boolean getAwake()
           
 boolean getBullet()
           
static Box2D.PbBody getDefaultInstance()
           
 Box2D.PbBody getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 boolean getFixedRotation()
           
 Box2D.PbFixture getFixtures(int index)
           
 int getFixturesCount()
           
 List<Box2D.PbFixture> getFixturesList()
           
 Box2D.PbFixtureOrBuilder getFixturesOrBuilder(int index)
           
 List<? extends Box2D.PbFixtureOrBuilder> getFixturesOrBuilderList()
           
 float getGravityScale()
           
 float getLinearDamping()
           
 Box2D.PbVec2 getLinearVelocity()
           
 Box2D.PbVec2OrBuilder getLinearVelocityOrBuilder()
           
 Box2D.PbVec2 getPosition()
           
 Box2D.PbVec2OrBuilder getPositionOrBuilder()
           
 int getSerializedSize()
           
 long getTag()
           
 Box2D.PbBodyType getType()
           
 boolean hasActive()
           
 boolean hasAllowSleep()
           
 boolean hasAngle()
           
 boolean hasAngularDamping()
           
 boolean hasAngularVelocity()
           
 boolean hasAwake()
           
 boolean hasBullet()
           
 boolean hasFixedRotation()
           
 boolean hasGravityScale()
           
 boolean hasLinearDamping()
           
 boolean hasLinearVelocity()
           
 boolean hasPosition()
           
 boolean hasTag()
           
 boolean hasType()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static Box2D.PbBody.Builder newBuilder()
           
static Box2D.PbBody.Builder newBuilder(Box2D.PbBody prototype)
           
 Box2D.PbBody.Builder newBuilderForType()
           
protected  Box2D.PbBody.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static Box2D.PbBody parseDelimitedFrom(InputStream input)
           
static Box2D.PbBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static Box2D.PbBody parseFrom(byte[] data)
           
static Box2D.PbBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static Box2D.PbBody parseFrom(com.google.protobuf.ByteString data)
           
static Box2D.PbBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static Box2D.PbBody parseFrom(com.google.protobuf.CodedInputStream input)
           
static Box2D.PbBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static Box2D.PbBody parseFrom(InputStream input)
           
static Box2D.PbBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 Box2D.PbBody.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

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
See Also:
Constant Field Values

POSITION_FIELD_NUMBER

public static final int POSITION_FIELD_NUMBER
See Also:
Constant Field Values

ANGLE_FIELD_NUMBER

public static final int ANGLE_FIELD_NUMBER
See Also:
Constant Field Values

LINEAR_VELOCITY_FIELD_NUMBER

public static final int LINEAR_VELOCITY_FIELD_NUMBER
See Also:
Constant Field Values

ANGULAR_VELOCITY_FIELD_NUMBER

public static final int ANGULAR_VELOCITY_FIELD_NUMBER
See Also:
Constant Field Values

LINEAR_DAMPING_FIELD_NUMBER

public static final int LINEAR_DAMPING_FIELD_NUMBER
See Also:
Constant Field Values

ANGULAR_DAMPING_FIELD_NUMBER

public static final int ANGULAR_DAMPING_FIELD_NUMBER
See Also:
Constant Field Values

GRAVITY_SCALE_FIELD_NUMBER

public static final int GRAVITY_SCALE_FIELD_NUMBER
See Also:
Constant Field Values

BULLET_FIELD_NUMBER

public static final int BULLET_FIELD_NUMBER
See Also:
Constant Field Values

ALLOW_SLEEP_FIELD_NUMBER

public static final int ALLOW_SLEEP_FIELD_NUMBER
See Also:
Constant Field Values

AWAKE_FIELD_NUMBER

public static final int AWAKE_FIELD_NUMBER
See Also:
Constant Field Values

ACTIVE_FIELD_NUMBER

public static final int ACTIVE_FIELD_NUMBER
See Also:
Constant Field Values

FIXED_ROTATION_FIELD_NUMBER

public static final int FIXED_ROTATION_FIELD_NUMBER
See Also:
Constant Field Values

FIXTURES_FIELD_NUMBER

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

getDefaultInstance

public static Box2D.PbBody getDefaultInstance()

getDefaultInstanceForType

public Box2D.PbBody 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.PbBodyOrBuilder

getTag

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

hasType

public boolean hasType()
Specified by:
hasType in interface Box2D.PbBodyOrBuilder

getType

public Box2D.PbBodyType getType()
Specified by:
getType in interface Box2D.PbBodyOrBuilder

hasPosition

public boolean hasPosition()
Specified by:
hasPosition in interface Box2D.PbBodyOrBuilder

getPosition

public Box2D.PbVec2 getPosition()
Specified by:
getPosition in interface Box2D.PbBodyOrBuilder

getPositionOrBuilder

public Box2D.PbVec2OrBuilder getPositionOrBuilder()
Specified by:
getPositionOrBuilder in interface Box2D.PbBodyOrBuilder

hasAngle

public boolean hasAngle()
Specified by:
hasAngle in interface Box2D.PbBodyOrBuilder

getAngle

public float getAngle()
Specified by:
getAngle in interface Box2D.PbBodyOrBuilder

hasLinearVelocity

public boolean hasLinearVelocity()
Specified by:
hasLinearVelocity in interface Box2D.PbBodyOrBuilder

getLinearVelocity

public Box2D.PbVec2 getLinearVelocity()
Specified by:
getLinearVelocity in interface Box2D.PbBodyOrBuilder

getLinearVelocityOrBuilder

public Box2D.PbVec2OrBuilder getLinearVelocityOrBuilder()
Specified by:
getLinearVelocityOrBuilder in interface Box2D.PbBodyOrBuilder

hasAngularVelocity

public boolean hasAngularVelocity()
Specified by:
hasAngularVelocity in interface Box2D.PbBodyOrBuilder

getAngularVelocity

public float getAngularVelocity()
Specified by:
getAngularVelocity in interface Box2D.PbBodyOrBuilder

hasLinearDamping

public boolean hasLinearDamping()
Specified by:
hasLinearDamping in interface Box2D.PbBodyOrBuilder

getLinearDamping

public float getLinearDamping()
Specified by:
getLinearDamping in interface Box2D.PbBodyOrBuilder

hasAngularDamping

public boolean hasAngularDamping()
Specified by:
hasAngularDamping in interface Box2D.PbBodyOrBuilder

getAngularDamping

public float getAngularDamping()
Specified by:
getAngularDamping in interface Box2D.PbBodyOrBuilder

hasGravityScale

public boolean hasGravityScale()
Specified by:
hasGravityScale in interface Box2D.PbBodyOrBuilder

getGravityScale

public float getGravityScale()
Specified by:
getGravityScale in interface Box2D.PbBodyOrBuilder

hasBullet

public boolean hasBullet()
Specified by:
hasBullet in interface Box2D.PbBodyOrBuilder

getBullet

public boolean getBullet()
Specified by:
getBullet in interface Box2D.PbBodyOrBuilder

hasAllowSleep

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

getAllowSleep

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

hasAwake

public boolean hasAwake()
Specified by:
hasAwake in interface Box2D.PbBodyOrBuilder

getAwake

public boolean getAwake()
Specified by:
getAwake in interface Box2D.PbBodyOrBuilder

hasActive

public boolean hasActive()
Specified by:
hasActive in interface Box2D.PbBodyOrBuilder

getActive

public boolean getActive()
Specified by:
getActive in interface Box2D.PbBodyOrBuilder

hasFixedRotation

public boolean hasFixedRotation()
Specified by:
hasFixedRotation in interface Box2D.PbBodyOrBuilder

getFixedRotation

public boolean getFixedRotation()
Specified by:
getFixedRotation in interface Box2D.PbBodyOrBuilder

getFixturesList

public List<Box2D.PbFixture> getFixturesList()
Specified by:
getFixturesList in interface Box2D.PbBodyOrBuilder

getFixturesOrBuilderList

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

getFixturesCount

public int getFixturesCount()
Specified by:
getFixturesCount in interface Box2D.PbBodyOrBuilder

getFixtures

public Box2D.PbFixture getFixtures(int index)
Specified by:
getFixtures in interface Box2D.PbBodyOrBuilder

getFixturesOrBuilder

public Box2D.PbFixtureOrBuilder getFixturesOrBuilder(int index)
Specified by:
getFixturesOrBuilder in interface Box2D.PbBodyOrBuilder

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.PbBody parseFrom(com.google.protobuf.ByteString data)
                              throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static Box2D.PbBody 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.PbBody parseFrom(byte[] data)
                              throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

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

parseFrom

public static Box2D.PbBody parseFrom(InputStream input)
                              throws IOException
Throws:
IOException

parseFrom

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

parseDelimitedFrom

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

parseDelimitedFrom

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

parseFrom

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

parseFrom

public static Box2D.PbBody parseFrom(com.google.protobuf.CodedInputStream input,
                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                              throws IOException
Throws:
IOException

newBuilder

public static Box2D.PbBody.Builder newBuilder()

newBuilderForType

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

newBuilder

public static Box2D.PbBody.Builder newBuilder(Box2D.PbBody prototype)

toBuilder

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

newBuilderForType

protected Box2D.PbBody.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage


Copyright © 2013. All Rights Reserved.