Class Box2D.PbWorld
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.box2d.proto.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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typebox2d.PbWorldNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate booleanstatic final intprivate booleanprivate intprivate java.util.List<Box2D.PbBody> static final intstatic final intprivate booleanprivate static final Box2D.PbWorldprivate Box2D.PbVec2static final intprivate java.util.List<Box2D.PbJoint> static final intprivate byteprivate static final com.google.protobuf.Parser<Box2D.PbWorld> private static final longstatic final intprivate booleanprivate longstatic final intstatic final intprivate booleanFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(java.lang.Object obj) booleanoptional bool allow_sleep = 3;booleanoptional bool auto_clear_forces = 4;getBodies(int index) repeated .box2d.PbBody bodies = 20;intrepeated .box2d.PbBody bodies = 20;java.util.List<Box2D.PbBody> repeated .box2d.PbBody bodies = 20;getBodiesOrBuilder(int index) repeated .box2d.PbBody bodies = 20;java.util.List<? extends Box2D.PbBodyOrBuilder> repeated .box2d.PbBody bodies = 20;booleanoptional bool continuous_physics = 6;static Box2D.PbWorldstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptoroptional .box2d.PbVec2 gravity = 2;optional .box2d.PbVec2 gravity = 2;getJoints(int index) repeated .box2d.PbJoint joints = 21;intrepeated .box2d.PbJoint joints = 21;java.util.List<Box2D.PbJoint> repeated .box2d.PbJoint joints = 21;getJointsOrBuilder(int index) repeated .box2d.PbJoint joints = 21;java.util.List<? extends Box2D.PbJointOrBuilder> repeated .box2d.PbJoint joints = 21;com.google.protobuf.Parser<Box2D.PbWorld> intbooleanoptional bool sub_stepping = 7;longgetTag()optional int64 tag = 1;booleanoptional bool warm_starting = 5;booleanoptional bool allow_sleep = 3;booleanoptional bool auto_clear_forces = 4;booleanoptional bool continuous_physics = 6;booleanoptional .box2d.PbVec2 gravity = 2;inthashCode()booleanoptional bool sub_stepping = 7;booleanhasTag()optional int64 tag = 1;booleanoptional bool warm_starting = 5;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Box2D.PbWorld.Builderstatic Box2D.PbWorld.BuildernewBuilder(Box2D.PbWorld prototype) protected Box2D.PbWorld.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Box2D.PbWorldparseDelimitedFrom(java.io.InputStream input) static Box2D.PbWorldparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Box2D.PbWorldparseFrom(byte[] data) static Box2D.PbWorldparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Box2D.PbWorldparseFrom(com.google.protobuf.ByteString data) static Box2D.PbWorldparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Box2D.PbWorldparseFrom(com.google.protobuf.CodedInputStream input) static Box2D.PbWorldparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Box2D.PbWorldparseFrom(java.io.InputStream input) static Box2D.PbWorldparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Box2D.PbWorldparseFrom(java.nio.ByteBuffer data) static Box2D.PbWorldparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Box2D.PbWorld> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
TAG_FIELD_NUMBER
public static final int TAG_FIELD_NUMBER- See Also:
-
tag_
private long tag_ -
GRAVITY_FIELD_NUMBER
public static final int GRAVITY_FIELD_NUMBER- See Also:
-
gravity_
-
ALLOW_SLEEP_FIELD_NUMBER
public static final int ALLOW_SLEEP_FIELD_NUMBER- See Also:
-
allowSleep_
private boolean allowSleep_ -
AUTO_CLEAR_FORCES_FIELD_NUMBER
public static final int AUTO_CLEAR_FORCES_FIELD_NUMBER- See Also:
-
autoClearForces_
private boolean autoClearForces_ -
WARM_STARTING_FIELD_NUMBER
public static final int WARM_STARTING_FIELD_NUMBER- See Also:
-
warmStarting_
private boolean warmStarting_ -
CONTINUOUS_PHYSICS_FIELD_NUMBER
public static final int CONTINUOUS_PHYSICS_FIELD_NUMBER- See Also:
-
continuousPhysics_
private boolean continuousPhysics_ -
SUB_STEPPING_FIELD_NUMBER
public static final int SUB_STEPPING_FIELD_NUMBER- See Also:
-
subStepping_
private boolean subStepping_ -
BODIES_FIELD_NUMBER
public static final int BODIES_FIELD_NUMBER- See Also:
-
bodies_
-
JOINTS_FIELD_NUMBER
public static final int JOINTS_FIELD_NUMBER- See Also:
-
joints_
-
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
PbWorld
private PbWorld(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
PbWorld
private PbWorld()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasTag
public boolean hasTag()optional int64 tag = 1;- Specified by:
hasTagin interfaceBox2D.PbWorldOrBuilder- Returns:
- Whether the tag field is set.
-
getTag
public long getTag()optional int64 tag = 1;- Specified by:
getTagin interfaceBox2D.PbWorldOrBuilder- Returns:
- The tag.
-
hasGravity
public boolean hasGravity()optional .box2d.PbVec2 gravity = 2;- Specified by:
hasGravityin interfaceBox2D.PbWorldOrBuilder- Returns:
- Whether the gravity field is set.
-
getGravity
optional .box2d.PbVec2 gravity = 2;- Specified by:
getGravityin interfaceBox2D.PbWorldOrBuilder- Returns:
- The gravity.
-
getGravityOrBuilder
optional .box2d.PbVec2 gravity = 2;- Specified by:
getGravityOrBuilderin interfaceBox2D.PbWorldOrBuilder
-
hasAllowSleep
public boolean hasAllowSleep()optional bool allow_sleep = 3;- Specified by:
hasAllowSleepin interfaceBox2D.PbWorldOrBuilder- Returns:
- Whether the allowSleep field is set.
-
getAllowSleep
public boolean getAllowSleep()optional bool allow_sleep = 3;- Specified by:
getAllowSleepin interfaceBox2D.PbWorldOrBuilder- Returns:
- The allowSleep.
-
hasAutoClearForces
public boolean hasAutoClearForces()optional bool auto_clear_forces = 4;- Specified by:
hasAutoClearForcesin interfaceBox2D.PbWorldOrBuilder- Returns:
- Whether the autoClearForces field is set.
-
getAutoClearForces
public boolean getAutoClearForces()optional bool auto_clear_forces = 4;- Specified by:
getAutoClearForcesin interfaceBox2D.PbWorldOrBuilder- Returns:
- The autoClearForces.
-
hasWarmStarting
public boolean hasWarmStarting()optional bool warm_starting = 5;- Specified by:
hasWarmStartingin interfaceBox2D.PbWorldOrBuilder- Returns:
- Whether the warmStarting field is set.
-
getWarmStarting
public boolean getWarmStarting()optional bool warm_starting = 5;- Specified by:
getWarmStartingin interfaceBox2D.PbWorldOrBuilder- Returns:
- The warmStarting.
-
hasContinuousPhysics
public boolean hasContinuousPhysics()optional bool continuous_physics = 6;- Specified by:
hasContinuousPhysicsin interfaceBox2D.PbWorldOrBuilder- Returns:
- Whether the continuousPhysics field is set.
-
getContinuousPhysics
public boolean getContinuousPhysics()optional bool continuous_physics = 6;- Specified by:
getContinuousPhysicsin interfaceBox2D.PbWorldOrBuilder- Returns:
- The continuousPhysics.
-
hasSubStepping
public boolean hasSubStepping()optional bool sub_stepping = 7;- Specified by:
hasSubSteppingin interfaceBox2D.PbWorldOrBuilder- Returns:
- Whether the subStepping field is set.
-
getSubStepping
public boolean getSubStepping()optional bool sub_stepping = 7;- Specified by:
getSubSteppingin interfaceBox2D.PbWorldOrBuilder- Returns:
- The subStepping.
-
getBodiesList
repeated .box2d.PbBody bodies = 20;- Specified by:
getBodiesListin interfaceBox2D.PbWorldOrBuilder
-
getBodiesOrBuilderList
repeated .box2d.PbBody bodies = 20;- Specified by:
getBodiesOrBuilderListin interfaceBox2D.PbWorldOrBuilder
-
getBodiesCount
public int getBodiesCount()repeated .box2d.PbBody bodies = 20;- Specified by:
getBodiesCountin interfaceBox2D.PbWorldOrBuilder
-
getBodies
repeated .box2d.PbBody bodies = 20;- Specified by:
getBodiesin interfaceBox2D.PbWorldOrBuilder
-
getBodiesOrBuilder
repeated .box2d.PbBody bodies = 20;- Specified by:
getBodiesOrBuilderin interfaceBox2D.PbWorldOrBuilder
-
getJointsList
repeated .box2d.PbJoint joints = 21;- Specified by:
getJointsListin interfaceBox2D.PbWorldOrBuilder
-
getJointsOrBuilderList
repeated .box2d.PbJoint joints = 21;- Specified by:
getJointsOrBuilderListin interfaceBox2D.PbWorldOrBuilder
-
getJointsCount
public int getJointsCount()repeated .box2d.PbJoint joints = 21;- Specified by:
getJointsCountin interfaceBox2D.PbWorldOrBuilder
-
getJoints
repeated .box2d.PbJoint joints = 21;- Specified by:
getJointsin interfaceBox2D.PbWorldOrBuilder
-
getJointsOrBuilder
repeated .box2d.PbJoint joints = 21;- Specified by:
getJointsOrBuilderin interfaceBox2D.PbWorldOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException - Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj) - Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Box2D.PbWorld.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-