org.drools.marshalling.impl
Class ProtobufMessages.FactHandle

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.AbstractMessage
          extended by com.google.protobuf.GeneratedMessage
              extended by org.drools.marshalling.impl.ProtobufMessages.FactHandle
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, ProtobufMessages.FactHandleOrBuilder
Enclosing class:
ProtobufMessages

public static final class ProtobufMessages.FactHandle
extends com.google.protobuf.GeneratedMessage
implements ProtobufMessages.FactHandleOrBuilder

See Also:
Serialized Form

Nested Class Summary
static class ProtobufMessages.FactHandle.Builder
           
static class ProtobufMessages.FactHandle.HandleType
           
 
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 ACTIVATIONS_COUNT_FIELD_NUMBER
           
static int DURATION_FIELD_NUMBER
           
static int ENTRY_POINT_FIELD_NUMBER
           
static int ID_FIELD_NUMBER
           
static int IS_EXPIRED_FIELD_NUMBER
           
static int OBJECT_FIELD_NUMBER
           
static int RECENCY_FIELD_NUMBER
           
static int STRATEGY_INDEX_FIELD_NUMBER
           
static int TIMESTAMP_FIELD_NUMBER
           
static int TYPE_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 long getActivationsCount()
           
static ProtobufMessages.FactHandle getDefaultInstance()
           
 ProtobufMessages.FactHandle getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 long getDuration()
           
 String getEntryPoint()
           
 int getId()
           
 boolean getIsExpired()
           
 com.google.protobuf.ByteString getObject()
           
 long getRecency()
           
 int getSerializedSize()
           
 int getStrategyIndex()
           
 long getTimestamp()
           
 ProtobufMessages.FactHandle.HandleType getType()
           
 boolean hasActivationsCount()
           
 boolean hasDuration()
           
 boolean hasEntryPoint()
           
 boolean hasId()
           
 boolean hasIsExpired()
           
 boolean hasObject()
           
 boolean hasRecency()
           
 boolean hasStrategyIndex()
           
 boolean hasTimestamp()
           
 boolean hasType()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static ProtobufMessages.FactHandle.Builder newBuilder()
           
static ProtobufMessages.FactHandle.Builder newBuilder(ProtobufMessages.FactHandle prototype)
           
 ProtobufMessages.FactHandle.Builder newBuilderForType()
           
protected  ProtobufMessages.FactHandle.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static ProtobufMessages.FactHandle parseDelimitedFrom(InputStream input)
           
static ProtobufMessages.FactHandle parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ProtobufMessages.FactHandle parseFrom(byte[] data)
           
static ProtobufMessages.FactHandle parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ProtobufMessages.FactHandle parseFrom(com.google.protobuf.ByteString data)
           
static ProtobufMessages.FactHandle parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ProtobufMessages.FactHandle parseFrom(com.google.protobuf.CodedInputStream input)
           
static ProtobufMessages.FactHandle parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ProtobufMessages.FactHandle parseFrom(InputStream input)
           
static ProtobufMessages.FactHandle parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ProtobufMessages.FactHandle.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

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
See Also:
Constant Field Values

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
See Also:
Constant Field Values

RECENCY_FIELD_NUMBER

public static final int RECENCY_FIELD_NUMBER
See Also:
Constant Field Values

TIMESTAMP_FIELD_NUMBER

public static final int TIMESTAMP_FIELD_NUMBER
See Also:
Constant Field Values

DURATION_FIELD_NUMBER

public static final int DURATION_FIELD_NUMBER
See Also:
Constant Field Values

IS_EXPIRED_FIELD_NUMBER

public static final int IS_EXPIRED_FIELD_NUMBER
See Also:
Constant Field Values

ACTIVATIONS_COUNT_FIELD_NUMBER

public static final int ACTIVATIONS_COUNT_FIELD_NUMBER
See Also:
Constant Field Values

STRATEGY_INDEX_FIELD_NUMBER

public static final int STRATEGY_INDEX_FIELD_NUMBER
See Also:
Constant Field Values

OBJECT_FIELD_NUMBER

public static final int OBJECT_FIELD_NUMBER
See Also:
Constant Field Values

ENTRY_POINT_FIELD_NUMBER

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

getDefaultInstance

public static ProtobufMessages.FactHandle getDefaultInstance()

getDefaultInstanceForType

public ProtobufMessages.FactHandle 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

hasType

public boolean hasType()
Specified by:
hasType in interface ProtobufMessages.FactHandleOrBuilder

getType

public ProtobufMessages.FactHandle.HandleType getType()
Specified by:
getType in interface ProtobufMessages.FactHandleOrBuilder

hasId

public boolean hasId()
Specified by:
hasId in interface ProtobufMessages.FactHandleOrBuilder

getId

public int getId()
Specified by:
getId in interface ProtobufMessages.FactHandleOrBuilder

hasRecency

public boolean hasRecency()
Specified by:
hasRecency in interface ProtobufMessages.FactHandleOrBuilder

getRecency

public long getRecency()
Specified by:
getRecency in interface ProtobufMessages.FactHandleOrBuilder

hasTimestamp

public boolean hasTimestamp()
Specified by:
hasTimestamp in interface ProtobufMessages.FactHandleOrBuilder

getTimestamp

public long getTimestamp()
Specified by:
getTimestamp in interface ProtobufMessages.FactHandleOrBuilder

hasDuration

public boolean hasDuration()
Specified by:
hasDuration in interface ProtobufMessages.FactHandleOrBuilder

getDuration

public long getDuration()
Specified by:
getDuration in interface ProtobufMessages.FactHandleOrBuilder

hasIsExpired

public boolean hasIsExpired()
Specified by:
hasIsExpired in interface ProtobufMessages.FactHandleOrBuilder

getIsExpired

public boolean getIsExpired()
Specified by:
getIsExpired in interface ProtobufMessages.FactHandleOrBuilder

hasActivationsCount

public boolean hasActivationsCount()
Specified by:
hasActivationsCount in interface ProtobufMessages.FactHandleOrBuilder

getActivationsCount

public long getActivationsCount()
Specified by:
getActivationsCount in interface ProtobufMessages.FactHandleOrBuilder

hasStrategyIndex

public boolean hasStrategyIndex()
Specified by:
hasStrategyIndex in interface ProtobufMessages.FactHandleOrBuilder

getStrategyIndex

public int getStrategyIndex()
Specified by:
getStrategyIndex in interface ProtobufMessages.FactHandleOrBuilder

hasObject

public boolean hasObject()
Specified by:
hasObject in interface ProtobufMessages.FactHandleOrBuilder

getObject

public com.google.protobuf.ByteString getObject()
Specified by:
getObject in interface ProtobufMessages.FactHandleOrBuilder

hasEntryPoint

public boolean hasEntryPoint()
Specified by:
hasEntryPoint in interface ProtobufMessages.FactHandleOrBuilder

getEntryPoint

public String getEntryPoint()
Specified by:
getEntryPoint in interface ProtobufMessages.FactHandleOrBuilder

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

parseFrom

public static ProtobufMessages.FactHandle parseFrom(com.google.protobuf.ByteString data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ProtobufMessages.FactHandle parseFrom(byte[] data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

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

parseFrom

public static ProtobufMessages.FactHandle parseFrom(InputStream input)
                                             throws IOException
Throws:
IOException

parseFrom

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

parseDelimitedFrom

public static ProtobufMessages.FactHandle parseDelimitedFrom(InputStream input)
                                                      throws IOException
Throws:
IOException

parseDelimitedFrom

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

parseFrom

public static ProtobufMessages.FactHandle parseFrom(com.google.protobuf.CodedInputStream input)
                                             throws IOException
Throws:
IOException

parseFrom

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

newBuilder

public static ProtobufMessages.FactHandle.Builder newBuilder()

newBuilderForType

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

newBuilder

public static ProtobufMessages.FactHandle.Builder newBuilder(ProtobufMessages.FactHandle prototype)

toBuilder

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

newBuilderForType

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


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.