org.box2d.proto
Class Box2D.PbJoint
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.box2d.proto.Box2D.PbJoint
- All Implemented Interfaces:
- com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Box2D.PbJointOrBuilder
- Enclosing class:
- Box2D
public static final class Box2D.PbJoint
- extends com.google.protobuf.GeneratedMessage
- implements Box2D.PbJointOrBuilder
- See Also:
- Serialized Form
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> |
Fields inherited from class com.google.protobuf.GeneratedMessage |
alwaysUseFieldBuilders |
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 interface com.google.protobuf.MessageOrBuilder |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField |
Methods inherited from interface com.google.protobuf.MessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
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
BODY_A_FIELD_NUMBER
public static final int BODY_A_FIELD_NUMBER
- See Also:
- Constant Field Values
BODY_B_FIELD_NUMBER
public static final int BODY_B_FIELD_NUMBER
- See Also:
- Constant Field Values
COLLIDECONNECTED_FIELD_NUMBER
public static final int COLLIDECONNECTED_FIELD_NUMBER
- See Also:
- Constant Field Values
LOCAL_ANCHOR_A_FIELD_NUMBER
public static final int LOCAL_ANCHOR_A_FIELD_NUMBER
- See Also:
- Constant Field Values
LOCAL_ANCHOR_B_FIELD_NUMBER
public static final int LOCAL_ANCHOR_B_FIELD_NUMBER
- See Also:
- Constant Field Values
REF_ANGLE_FIELD_NUMBER
public static final int REF_ANGLE_FIELD_NUMBER
- See Also:
- Constant Field Values
ENABLE_LIMIT_FIELD_NUMBER
public static final int ENABLE_LIMIT_FIELD_NUMBER
- See Also:
- Constant Field Values
LOWER_LIMIT_FIELD_NUMBER
public static final int LOWER_LIMIT_FIELD_NUMBER
- See Also:
- Constant Field Values
UPPER_LIMIT_FIELD_NUMBER
public static final int UPPER_LIMIT_FIELD_NUMBER
- See Also:
- Constant Field Values
ENABLE_MOTOR_FIELD_NUMBER
public static final int ENABLE_MOTOR_FIELD_NUMBER
- See Also:
- Constant Field Values
MOTOR_SPEED_FIELD_NUMBER
public static final int MOTOR_SPEED_FIELD_NUMBER
- See Also:
- Constant Field Values
MAX_MOTOR_TORQUE_FIELD_NUMBER
public static final int MAX_MOTOR_TORQUE_FIELD_NUMBER
- See Also:
- Constant Field Values
LOCAL_AXIS_A_FIELD_NUMBER
public static final int LOCAL_AXIS_A_FIELD_NUMBER
- See Also:
- Constant Field Values
MAX_MOTOR_FORCE_FIELD_NUMBER
public static final int MAX_MOTOR_FORCE_FIELD_NUMBER
- See Also:
- Constant Field Values
LENGTH_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER
- See Also:
- Constant Field Values
FREQUENCY_FIELD_NUMBER
public static final int FREQUENCY_FIELD_NUMBER
- See Also:
- Constant Field Values
DAMPING_RATIO_FIELD_NUMBER
public static final int DAMPING_RATIO_FIELD_NUMBER
- See Also:
- Constant Field Values
GROUND_ANCHOR_A_FIELD_NUMBER
public static final int GROUND_ANCHOR_A_FIELD_NUMBER
- See Also:
- Constant Field Values
GROUND_ANCHOR_B_FIELD_NUMBER
public static final int GROUND_ANCHOR_B_FIELD_NUMBER
- See Also:
- Constant Field Values
LENGTH_A_FIELD_NUMBER
public static final int LENGTH_A_FIELD_NUMBER
- See Also:
- Constant Field Values
LENGTH_B_FIELD_NUMBER
public static final int LENGTH_B_FIELD_NUMBER
- See Also:
- Constant Field Values
RATIO_FIELD_NUMBER
public static final int RATIO_FIELD_NUMBER
- See Also:
- Constant Field Values
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
- See Also:
- Constant Field Values
MAX_FORCE_FIELD_NUMBER
public static final int MAX_FORCE_FIELD_NUMBER
- See Also:
- Constant Field Values
JOINT1_FIELD_NUMBER
public static final int JOINT1_FIELD_NUMBER
- See Also:
- Constant Field Values
JOINT2_FIELD_NUMBER
public static final int JOINT2_FIELD_NUMBER
- See Also:
- Constant Field Values
MAX_TORQUE_FIELD_NUMBER
public static final int MAX_TORQUE_FIELD_NUMBER
- See Also:
- Constant Field Values
MAX_LENGTH_FIELD_NUMBER
public static final int MAX_LENGTH_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
getDefaultInstance
public static Box2D.PbJoint getDefaultInstance()
getDefaultInstanceForType
public Box2D.PbJoint 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.PbJointOrBuilder
getTag
public long getTag()
- Specified by:
getTag
in interface Box2D.PbJointOrBuilder
hasType
public boolean hasType()
- Specified by:
hasType
in interface Box2D.PbJointOrBuilder
getType
public Box2D.PbJointType getType()
- Specified by:
getType
in interface Box2D.PbJointOrBuilder
hasBodyA
public boolean hasBodyA()
- Specified by:
hasBodyA
in interface Box2D.PbJointOrBuilder
getBodyA
public int getBodyA()
- Specified by:
getBodyA
in interface Box2D.PbJointOrBuilder
hasBodyB
public boolean hasBodyB()
- Specified by:
hasBodyB
in interface Box2D.PbJointOrBuilder
getBodyB
public int getBodyB()
- Specified by:
getBodyB
in interface Box2D.PbJointOrBuilder
hasCollideConnected
public boolean hasCollideConnected()
- Specified by:
hasCollideConnected
in interface Box2D.PbJointOrBuilder
getCollideConnected
public boolean getCollideConnected()
- Specified by:
getCollideConnected
in interface Box2D.PbJointOrBuilder
hasLocalAnchorA
public boolean hasLocalAnchorA()
- Specified by:
hasLocalAnchorA
in interface Box2D.PbJointOrBuilder
getLocalAnchorA
public Box2D.PbVec2 getLocalAnchorA()
- Specified by:
getLocalAnchorA
in interface Box2D.PbJointOrBuilder
getLocalAnchorAOrBuilder
public Box2D.PbVec2OrBuilder getLocalAnchorAOrBuilder()
- Specified by:
getLocalAnchorAOrBuilder
in interface Box2D.PbJointOrBuilder
hasLocalAnchorB
public boolean hasLocalAnchorB()
- Specified by:
hasLocalAnchorB
in interface Box2D.PbJointOrBuilder
getLocalAnchorB
public Box2D.PbVec2 getLocalAnchorB()
- Specified by:
getLocalAnchorB
in interface Box2D.PbJointOrBuilder
getLocalAnchorBOrBuilder
public Box2D.PbVec2OrBuilder getLocalAnchorBOrBuilder()
- Specified by:
getLocalAnchorBOrBuilder
in interface Box2D.PbJointOrBuilder
hasRefAngle
public boolean hasRefAngle()
- Specified by:
hasRefAngle
in interface Box2D.PbJointOrBuilder
getRefAngle
public float getRefAngle()
- Specified by:
getRefAngle
in interface Box2D.PbJointOrBuilder
hasEnableLimit
public boolean hasEnableLimit()
- Specified by:
hasEnableLimit
in interface Box2D.PbJointOrBuilder
getEnableLimit
public boolean getEnableLimit()
- Specified by:
getEnableLimit
in interface Box2D.PbJointOrBuilder
hasLowerLimit
public boolean hasLowerLimit()
- Specified by:
hasLowerLimit
in interface Box2D.PbJointOrBuilder
getLowerLimit
public float getLowerLimit()
- Specified by:
getLowerLimit
in interface Box2D.PbJointOrBuilder
hasUpperLimit
public boolean hasUpperLimit()
- Specified by:
hasUpperLimit
in interface Box2D.PbJointOrBuilder
getUpperLimit
public float getUpperLimit()
- Specified by:
getUpperLimit
in interface Box2D.PbJointOrBuilder
hasEnableMotor
public boolean hasEnableMotor()
- Specified by:
hasEnableMotor
in interface Box2D.PbJointOrBuilder
getEnableMotor
public boolean getEnableMotor()
- Specified by:
getEnableMotor
in interface Box2D.PbJointOrBuilder
hasMotorSpeed
public boolean hasMotorSpeed()
- Specified by:
hasMotorSpeed
in interface Box2D.PbJointOrBuilder
getMotorSpeed
public float getMotorSpeed()
- Specified by:
getMotorSpeed
in interface Box2D.PbJointOrBuilder
hasMaxMotorTorque
public boolean hasMaxMotorTorque()
- Specified by:
hasMaxMotorTorque
in interface Box2D.PbJointOrBuilder
getMaxMotorTorque
public float getMaxMotorTorque()
- Specified by:
getMaxMotorTorque
in interface Box2D.PbJointOrBuilder
hasLocalAxisA
public boolean hasLocalAxisA()
- Specified by:
hasLocalAxisA
in interface Box2D.PbJointOrBuilder
getLocalAxisA
public Box2D.PbVec2 getLocalAxisA()
- Specified by:
getLocalAxisA
in interface Box2D.PbJointOrBuilder
getLocalAxisAOrBuilder
public Box2D.PbVec2OrBuilder getLocalAxisAOrBuilder()
- Specified by:
getLocalAxisAOrBuilder
in interface Box2D.PbJointOrBuilder
hasMaxMotorForce
public boolean hasMaxMotorForce()
- Specified by:
hasMaxMotorForce
in interface Box2D.PbJointOrBuilder
getMaxMotorForce
public float getMaxMotorForce()
- Specified by:
getMaxMotorForce
in interface Box2D.PbJointOrBuilder
hasLength
public boolean hasLength()
- Specified by:
hasLength
in interface Box2D.PbJointOrBuilder
getLength
public float getLength()
- Specified by:
getLength
in interface Box2D.PbJointOrBuilder
hasFrequency
public boolean hasFrequency()
- Specified by:
hasFrequency
in interface Box2D.PbJointOrBuilder
getFrequency
public float getFrequency()
- Specified by:
getFrequency
in interface Box2D.PbJointOrBuilder
hasDampingRatio
public boolean hasDampingRatio()
- Specified by:
hasDampingRatio
in interface Box2D.PbJointOrBuilder
getDampingRatio
public float getDampingRatio()
- Specified by:
getDampingRatio
in interface Box2D.PbJointOrBuilder
hasGroundAnchorA
public boolean hasGroundAnchorA()
- Specified by:
hasGroundAnchorA
in interface Box2D.PbJointOrBuilder
getGroundAnchorA
public Box2D.PbVec2 getGroundAnchorA()
- Specified by:
getGroundAnchorA
in interface Box2D.PbJointOrBuilder
getGroundAnchorAOrBuilder
public Box2D.PbVec2OrBuilder getGroundAnchorAOrBuilder()
- Specified by:
getGroundAnchorAOrBuilder
in interface Box2D.PbJointOrBuilder
hasGroundAnchorB
public boolean hasGroundAnchorB()
- Specified by:
hasGroundAnchorB
in interface Box2D.PbJointOrBuilder
getGroundAnchorB
public Box2D.PbVec2 getGroundAnchorB()
- Specified by:
getGroundAnchorB
in interface Box2D.PbJointOrBuilder
getGroundAnchorBOrBuilder
public Box2D.PbVec2OrBuilder getGroundAnchorBOrBuilder()
- Specified by:
getGroundAnchorBOrBuilder
in interface Box2D.PbJointOrBuilder
hasLengthA
public boolean hasLengthA()
- Specified by:
hasLengthA
in interface Box2D.PbJointOrBuilder
getLengthA
public float getLengthA()
- Specified by:
getLengthA
in interface Box2D.PbJointOrBuilder
hasLengthB
public boolean hasLengthB()
- Specified by:
hasLengthB
in interface Box2D.PbJointOrBuilder
getLengthB
public float getLengthB()
- Specified by:
getLengthB
in interface Box2D.PbJointOrBuilder
hasRatio
public boolean hasRatio()
- Specified by:
hasRatio
in interface Box2D.PbJointOrBuilder
getRatio
public float getRatio()
- Specified by:
getRatio
in interface Box2D.PbJointOrBuilder
hasTarget
public boolean hasTarget()
- Specified by:
hasTarget
in interface Box2D.PbJointOrBuilder
getTarget
public Box2D.PbVec2 getTarget()
- Specified by:
getTarget
in interface Box2D.PbJointOrBuilder
getTargetOrBuilder
public Box2D.PbVec2OrBuilder getTargetOrBuilder()
- Specified by:
getTargetOrBuilder
in interface Box2D.PbJointOrBuilder
hasMaxForce
public boolean hasMaxForce()
- Specified by:
hasMaxForce
in interface Box2D.PbJointOrBuilder
getMaxForce
public float getMaxForce()
- Specified by:
getMaxForce
in interface Box2D.PbJointOrBuilder
hasJoint1
public boolean hasJoint1()
- Specified by:
hasJoint1
in interface Box2D.PbJointOrBuilder
getJoint1
public int getJoint1()
- Specified by:
getJoint1
in interface Box2D.PbJointOrBuilder
hasJoint2
public boolean hasJoint2()
- Specified by:
hasJoint2
in interface Box2D.PbJointOrBuilder
getJoint2
public int getJoint2()
- Specified by:
getJoint2
in interface Box2D.PbJointOrBuilder
hasMaxTorque
public boolean hasMaxTorque()
- Specified by:
hasMaxTorque
in interface Box2D.PbJointOrBuilder
getMaxTorque
public float getMaxTorque()
- Specified by:
getMaxTorque
in interface Box2D.PbJointOrBuilder
hasMaxLength
public boolean hasMaxLength()
- Specified by:
hasMaxLength
in interface Box2D.PbJointOrBuilder
getMaxLength
public float getMaxLength()
- Specified by:
getMaxLength
in interface Box2D.PbJointOrBuilder
getBodiesList
public List<Integer> getBodiesList()
- Specified by:
getBodiesList
in interface Box2D.PbJointOrBuilder
getBodiesCount
public int getBodiesCount()
- Specified by:
getBodiesCount
in interface Box2D.PbJointOrBuilder
getBodies
public int getBodies(int index)
- Specified by:
getBodies
in interface Box2D.PbJointOrBuilder
getJointsList
public List<Integer> getJointsList()
- Specified by:
getJointsList
in interface Box2D.PbJointOrBuilder
getJointsCount
public int getJointsCount()
- Specified by:
getJointsCount
in interface Box2D.PbJointOrBuilder
getJoints
public int getJoints(int index)
- Specified by:
getJoints
in interface Box2D.PbJointOrBuilder
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.PbJoint parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static Box2D.PbJoint 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.PbJoint parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static Box2D.PbJoint parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static Box2D.PbJoint parseFrom(InputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static Box2D.PbJoint parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static Box2D.PbJoint parseDelimitedFrom(InputStream input)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static Box2D.PbJoint parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseFrom
public static Box2D.PbJoint parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static Box2D.PbJoint parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
newBuilder
public static Box2D.PbJoint.Builder newBuilder()
newBuilderForType
public Box2D.PbJoint.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interface com.google.protobuf.Message
- Specified by:
newBuilderForType
in interface com.google.protobuf.MessageLite
newBuilder
public static Box2D.PbJoint.Builder newBuilder(Box2D.PbJoint prototype)
toBuilder
public Box2D.PbJoint.Builder toBuilder()
- Specified by:
toBuilder
in interface com.google.protobuf.Message
- Specified by:
toBuilder
in interface com.google.protobuf.MessageLite
newBuilderForType
protected Box2D.PbJoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013. All Rights Reserved.