Package org.box2d.proto
Class Box2D.PbFilter
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- org.box2d.proto.Box2D.PbFilter
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
,Box2D.PbFilterOrBuilder
- Enclosing class:
- Box2D
public static final class Box2D.PbFilter extends com.google.protobuf.GeneratedMessage implements Box2D.PbFilterOrBuilder
Protobuf typebox2d.PbFilter
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Box2D.PbFilter.Builder
Protobuf typebox2d.PbFilter
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
static int
CATEGORY_BITS_FIELD_NUMBER
private int
categoryBits_
private static Box2D.PbFilter
DEFAULT_INSTANCE
static int
GROUP_INDEX_FIELD_NUMBER
private int
groupIndex_
static int
MASK_BITS_FIELD_NUMBER
private int
maskBits_
private byte
memoizedIsInitialized
private static com.google.protobuf.Parser<Box2D.PbFilter>
PARSER
private static long
serialVersionUID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getCategoryBits()
optional int32 category_bits = 1;
static Box2D.PbFilter
getDefaultInstance()
Box2D.PbFilter
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
int
getGroupIndex()
optional int32 group_index = 3;
int
getMaskBits()
optional int32 mask_bits = 2;
com.google.protobuf.Parser<Box2D.PbFilter>
getParserForType()
int
getSerializedSize()
boolean
hasCategoryBits()
optional int32 category_bits = 1;
boolean
hasGroupIndex()
optional int32 group_index = 3;
int
hashCode()
boolean
hasMaskBits()
optional int32 mask_bits = 2;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Box2D.PbFilter.Builder
newBuilder()
static Box2D.PbFilter.Builder
newBuilder(Box2D.PbFilter prototype)
Box2D.PbFilter.Builder
newBuilderForType()
protected Box2D.PbFilter.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static Box2D.PbFilter
parseDelimitedFrom(java.io.InputStream input)
static Box2D.PbFilter
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Box2D.PbFilter
parseFrom(byte[] data)
static Box2D.PbFilter
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Box2D.PbFilter
parseFrom(com.google.protobuf.ByteString data)
static Box2D.PbFilter
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Box2D.PbFilter
parseFrom(com.google.protobuf.CodedInputStream input)
static Box2D.PbFilter
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Box2D.PbFilter
parseFrom(java.io.InputStream input)
static Box2D.PbFilter
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Box2D.PbFilter
parseFrom(java.nio.ByteBuffer data)
static Box2D.PbFilter
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Box2D.PbFilter>
parser()
Box2D.PbFilter.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
bitField0_
private int bitField0_
-
CATEGORY_BITS_FIELD_NUMBER
public static final int CATEGORY_BITS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
categoryBits_
private int categoryBits_
-
MASK_BITS_FIELD_NUMBER
public static final int MASK_BITS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
maskBits_
private int maskBits_
-
GROUP_INDEX_FIELD_NUMBER
public static final int GROUP_INDEX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
groupIndex_
private int groupIndex_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Box2D.PbFilter DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Box2D.PbFilter> PARSER
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
hasCategoryBits
public boolean hasCategoryBits()
optional int32 category_bits = 1;
- Specified by:
hasCategoryBits
in interfaceBox2D.PbFilterOrBuilder
- Returns:
- Whether the categoryBits field is set.
-
getCategoryBits
public int getCategoryBits()
optional int32 category_bits = 1;
- Specified by:
getCategoryBits
in interfaceBox2D.PbFilterOrBuilder
- Returns:
- The categoryBits.
-
hasMaskBits
public boolean hasMaskBits()
optional int32 mask_bits = 2;
- Specified by:
hasMaskBits
in interfaceBox2D.PbFilterOrBuilder
- Returns:
- Whether the maskBits field is set.
-
getMaskBits
public int getMaskBits()
optional int32 mask_bits = 2;
- Specified by:
getMaskBits
in interfaceBox2D.PbFilterOrBuilder
- Returns:
- The maskBits.
-
hasGroupIndex
public boolean hasGroupIndex()
optional int32 group_index = 3;
- Specified by:
hasGroupIndex
in interfaceBox2D.PbFilterOrBuilder
- Returns:
- Whether the groupIndex field is set.
-
getGroupIndex
public int getGroupIndex()
optional int32 group_index = 3;
- Specified by:
getGroupIndex
in interfaceBox2D.PbFilterOrBuilder
- Returns:
- The groupIndex.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Box2D.PbFilter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Box2D.PbFilter parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Box2D.PbFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Box2D.PbFilter 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.PbFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Box2D.PbFilter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Box2D.PbFilter parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Box2D.PbFilter parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Box2D.PbFilter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Box2D.PbFilter parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Box2D.PbFilter parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Box2D.PbFilter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Box2D.PbFilter.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Box2D.PbFilter.Builder newBuilder()
-
newBuilder
public static Box2D.PbFilter.Builder newBuilder(Box2D.PbFilter prototype)
-
toBuilder
public Box2D.PbFilter.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Box2D.PbFilter.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static Box2D.PbFilter getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Box2D.PbFilter> parser()
-
getParserForType
public com.google.protobuf.Parser<Box2D.PbFilter> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public Box2D.PbFilter getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-