org.box2d.proto
Class Box2D.PbShape

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

public static final class Box2D.PbShape
extends com.google.protobuf.GeneratedMessage
implements Box2D.PbShapeOrBuilder

See Also:
Serialized Form

Nested Class Summary
static class Box2D.PbShape.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 CENTER_FIELD_NUMBER
           
static int CENTROID_FIELD_NUMBER
           
static int HAS0_FIELD_NUMBER
           
static int HAS3_FIELD_NUMBER
           
static int NEXT_FIELD_NUMBER
           
static int NORMALS_FIELD_NUMBER
           
static int POINTS_FIELD_NUMBER
           
static int PREV_FIELD_NUMBER
           
static int RADIUS_FIELD_NUMBER
           
static int TAG_FIELD_NUMBER
           
static int TYPE_FIELD_NUMBER
           
static int V0_FIELD_NUMBER
           
static int V1_FIELD_NUMBER
           
static int V2_FIELD_NUMBER
           
static int V3_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 Box2D.PbVec2 getCenter()
           
 Box2D.PbVec2OrBuilder getCenterOrBuilder()
           
 Box2D.PbVec2 getCentroid()
           
 Box2D.PbVec2OrBuilder getCentroidOrBuilder()
           
static Box2D.PbShape getDefaultInstance()
           
 Box2D.PbShape getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 boolean getHas0()
           
 boolean getHas3()
           
 Box2D.PbVec2 getNext()
           
 Box2D.PbVec2OrBuilder getNextOrBuilder()
           
 Box2D.PbVec2 getNormals(int index)
           
 int getNormalsCount()
           
 List<Box2D.PbVec2> getNormalsList()
           
 Box2D.PbVec2OrBuilder getNormalsOrBuilder(int index)
           
 List<? extends Box2D.PbVec2OrBuilder> getNormalsOrBuilderList()
           
 Box2D.PbVec2 getPoints(int index)
           
 int getPointsCount()
           
 List<Box2D.PbVec2> getPointsList()
           
 Box2D.PbVec2OrBuilder getPointsOrBuilder(int index)
           
 List<? extends Box2D.PbVec2OrBuilder> getPointsOrBuilderList()
           
 Box2D.PbVec2 getPrev()
           
 Box2D.PbVec2OrBuilder getPrevOrBuilder()
           
 float getRadius()
           
 int getSerializedSize()
           
 long getTag()
           
 Box2D.PbShapeType getType()
           
 Box2D.PbVec2 getV0()
           
 Box2D.PbVec2OrBuilder getV0OrBuilder()
           
 Box2D.PbVec2 getV1()
           
 Box2D.PbVec2OrBuilder getV1OrBuilder()
           
 Box2D.PbVec2 getV2()
           
 Box2D.PbVec2OrBuilder getV2OrBuilder()
           
 Box2D.PbVec2 getV3()
           
 Box2D.PbVec2OrBuilder getV3OrBuilder()
           
 boolean hasCenter()
           
 boolean hasCentroid()
           
 boolean hasHas0()
           
 boolean hasHas3()
           
 boolean hasNext()
           
 boolean hasPrev()
           
 boolean hasRadius()
           
 boolean hasTag()
           
 boolean hasType()
           
 boolean hasV0()
           
 boolean hasV1()
           
 boolean hasV2()
           
 boolean hasV3()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static Box2D.PbShape.Builder newBuilder()
           
static Box2D.PbShape.Builder newBuilder(Box2D.PbShape prototype)
           
 Box2D.PbShape.Builder newBuilderForType()
           
protected  Box2D.PbShape.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static Box2D.PbShape parseDelimitedFrom(InputStream input)
           
static Box2D.PbShape parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static Box2D.PbShape parseFrom(byte[] data)
           
static Box2D.PbShape parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static Box2D.PbShape parseFrom(com.google.protobuf.ByteString data)
           
static Box2D.PbShape parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static Box2D.PbShape parseFrom(com.google.protobuf.CodedInputStream input)
           
static Box2D.PbShape parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static Box2D.PbShape parseFrom(InputStream input)
           
static Box2D.PbShape parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 Box2D.PbShape.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

CENTER_FIELD_NUMBER

public static final int CENTER_FIELD_NUMBER
See Also:
Constant Field Values

RADIUS_FIELD_NUMBER

public static final int RADIUS_FIELD_NUMBER
See Also:
Constant Field Values

POINTS_FIELD_NUMBER

public static final int POINTS_FIELD_NUMBER
See Also:
Constant Field Values

NORMALS_FIELD_NUMBER

public static final int NORMALS_FIELD_NUMBER
See Also:
Constant Field Values

CENTROID_FIELD_NUMBER

public static final int CENTROID_FIELD_NUMBER
See Also:
Constant Field Values

V0_FIELD_NUMBER

public static final int V0_FIELD_NUMBER
See Also:
Constant Field Values

V1_FIELD_NUMBER

public static final int V1_FIELD_NUMBER
See Also:
Constant Field Values

V2_FIELD_NUMBER

public static final int V2_FIELD_NUMBER
See Also:
Constant Field Values

V3_FIELD_NUMBER

public static final int V3_FIELD_NUMBER
See Also:
Constant Field Values

HAS0_FIELD_NUMBER

public static final int HAS0_FIELD_NUMBER
See Also:
Constant Field Values

HAS3_FIELD_NUMBER

public static final int HAS3_FIELD_NUMBER
See Also:
Constant Field Values

PREV_FIELD_NUMBER

public static final int PREV_FIELD_NUMBER
See Also:
Constant Field Values

NEXT_FIELD_NUMBER

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

getDefaultInstance

public static Box2D.PbShape getDefaultInstance()

getDefaultInstanceForType

public Box2D.PbShape 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.PbShapeOrBuilder

getTag

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

hasType

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

getType

public Box2D.PbShapeType getType()
Specified by:
getType in interface Box2D.PbShapeOrBuilder

hasCenter

public boolean hasCenter()
Specified by:
hasCenter in interface Box2D.PbShapeOrBuilder

getCenter

public Box2D.PbVec2 getCenter()
Specified by:
getCenter in interface Box2D.PbShapeOrBuilder

getCenterOrBuilder

public Box2D.PbVec2OrBuilder getCenterOrBuilder()
Specified by:
getCenterOrBuilder in interface Box2D.PbShapeOrBuilder

hasRadius

public boolean hasRadius()
Specified by:
hasRadius in interface Box2D.PbShapeOrBuilder

getRadius

public float getRadius()
Specified by:
getRadius in interface Box2D.PbShapeOrBuilder

getPointsList

public List<Box2D.PbVec2> getPointsList()
Specified by:
getPointsList in interface Box2D.PbShapeOrBuilder

getPointsOrBuilderList

public List<? extends Box2D.PbVec2OrBuilder> getPointsOrBuilderList()
Specified by:
getPointsOrBuilderList in interface Box2D.PbShapeOrBuilder

getPointsCount

public int getPointsCount()
Specified by:
getPointsCount in interface Box2D.PbShapeOrBuilder

getPoints

public Box2D.PbVec2 getPoints(int index)
Specified by:
getPoints in interface Box2D.PbShapeOrBuilder

getPointsOrBuilder

public Box2D.PbVec2OrBuilder getPointsOrBuilder(int index)
Specified by:
getPointsOrBuilder in interface Box2D.PbShapeOrBuilder

getNormalsList

public List<Box2D.PbVec2> getNormalsList()
Specified by:
getNormalsList in interface Box2D.PbShapeOrBuilder

getNormalsOrBuilderList

public List<? extends Box2D.PbVec2OrBuilder> getNormalsOrBuilderList()
Specified by:
getNormalsOrBuilderList in interface Box2D.PbShapeOrBuilder

getNormalsCount

public int getNormalsCount()
Specified by:
getNormalsCount in interface Box2D.PbShapeOrBuilder

getNormals

public Box2D.PbVec2 getNormals(int index)
Specified by:
getNormals in interface Box2D.PbShapeOrBuilder

getNormalsOrBuilder

public Box2D.PbVec2OrBuilder getNormalsOrBuilder(int index)
Specified by:
getNormalsOrBuilder in interface Box2D.PbShapeOrBuilder

hasCentroid

public boolean hasCentroid()
Specified by:
hasCentroid in interface Box2D.PbShapeOrBuilder

getCentroid

public Box2D.PbVec2 getCentroid()
Specified by:
getCentroid in interface Box2D.PbShapeOrBuilder

getCentroidOrBuilder

public Box2D.PbVec2OrBuilder getCentroidOrBuilder()
Specified by:
getCentroidOrBuilder in interface Box2D.PbShapeOrBuilder

hasV0

public boolean hasV0()
Specified by:
hasV0 in interface Box2D.PbShapeOrBuilder

getV0

public Box2D.PbVec2 getV0()
Specified by:
getV0 in interface Box2D.PbShapeOrBuilder

getV0OrBuilder

public Box2D.PbVec2OrBuilder getV0OrBuilder()
Specified by:
getV0OrBuilder in interface Box2D.PbShapeOrBuilder

hasV1

public boolean hasV1()
Specified by:
hasV1 in interface Box2D.PbShapeOrBuilder

getV1

public Box2D.PbVec2 getV1()
Specified by:
getV1 in interface Box2D.PbShapeOrBuilder

getV1OrBuilder

public Box2D.PbVec2OrBuilder getV1OrBuilder()
Specified by:
getV1OrBuilder in interface Box2D.PbShapeOrBuilder

hasV2

public boolean hasV2()
Specified by:
hasV2 in interface Box2D.PbShapeOrBuilder

getV2

public Box2D.PbVec2 getV2()
Specified by:
getV2 in interface Box2D.PbShapeOrBuilder

getV2OrBuilder

public Box2D.PbVec2OrBuilder getV2OrBuilder()
Specified by:
getV2OrBuilder in interface Box2D.PbShapeOrBuilder

hasV3

public boolean hasV3()
Specified by:
hasV3 in interface Box2D.PbShapeOrBuilder

getV3

public Box2D.PbVec2 getV3()
Specified by:
getV3 in interface Box2D.PbShapeOrBuilder

getV3OrBuilder

public Box2D.PbVec2OrBuilder getV3OrBuilder()
Specified by:
getV3OrBuilder in interface Box2D.PbShapeOrBuilder

hasHas0

public boolean hasHas0()
Specified by:
hasHas0 in interface Box2D.PbShapeOrBuilder

getHas0

public boolean getHas0()
Specified by:
getHas0 in interface Box2D.PbShapeOrBuilder

hasHas3

public boolean hasHas3()
Specified by:
hasHas3 in interface Box2D.PbShapeOrBuilder

getHas3

public boolean getHas3()
Specified by:
getHas3 in interface Box2D.PbShapeOrBuilder

hasPrev

public boolean hasPrev()
Specified by:
hasPrev in interface Box2D.PbShapeOrBuilder

getPrev

public Box2D.PbVec2 getPrev()
Specified by:
getPrev in interface Box2D.PbShapeOrBuilder

getPrevOrBuilder

public Box2D.PbVec2OrBuilder getPrevOrBuilder()
Specified by:
getPrevOrBuilder in interface Box2D.PbShapeOrBuilder

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Box2D.PbShapeOrBuilder

getNext

public Box2D.PbVec2 getNext()
Specified by:
getNext in interface Box2D.PbShapeOrBuilder

getNextOrBuilder

public Box2D.PbVec2OrBuilder getNextOrBuilder()
Specified by:
getNextOrBuilder in interface Box2D.PbShapeOrBuilder

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

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

parseDelimitedFrom

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

parseDelimitedFrom

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

parseFrom

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

parseFrom

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

newBuilder

public static Box2D.PbShape.Builder newBuilder()

newBuilderForType

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

newBuilder

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

toBuilder

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

newBuilderForType

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


Copyright © 2013. All Rights Reserved.