Class ProtobufMessages.FactHandle
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- org.drools.serialization.protobuf.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
Protobuf typeorg.drools.serialization.protobuf.FactHandlea fact handle
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProtobufMessages.FactHandle.BuilderProtobuf typeorg.drools.serialization.protobuf.FactHandlestatic classProtobufMessages.FactHandle.HandleTypeProtobuf enumorg.drools.serialization.protobuf.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<MessageType,BuilderType>>, 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 extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static intACTIVATIONS_COUNT_FIELD_NUMBERstatic intDURATION_FIELD_NUMBERstatic intENTRY_POINT_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intIS_EXPIRED_FIELD_NUMBERstatic intIS_JUSTIFIED_FIELD_NUMBERstatic intOBJECT_FIELD_NUMBERstatic intOTN_COUNT_FIELD_NUMBERstatic com.google.protobuf.Parser<ProtobufMessages.FactHandle>PARSERstatic intRECENCY_FIELD_NUMBERstatic intSTRATEGY_INDEX_FIELD_NUMBERstatic intTIMESTAMP_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetActivationsCount()optional int64 activations_count = 7;static ProtobufMessages.FactHandlegetDefaultInstance()ProtobufMessages.FactHandlegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetDuration()optional int64 duration = 5;StringgetEntryPoint()optional string entry_point = 10;com.google.protobuf.ByteStringgetEntryPointBytes()optional string entry_point = 10;longgetId()optional int64 id = 2;booleangetIsExpired()optional bool is_expired = 6;booleangetIsJustified()optional bool is_justified = 11;com.google.protobuf.ByteStringgetObject()optional bytes object = 9;intgetOtnCount()optional int32 otn_count = 12;com.google.protobuf.Parser<ProtobufMessages.FactHandle>getParserForType()longgetRecency()optional int64 recency = 3;intgetSerializedSize()intgetStrategyIndex()optional int32 strategy_index = 8;longgetTimestamp()optional int64 timestamp = 4;ProtobufMessages.FactHandle.HandleTypegetType()optional .org.drools.serialization.protobuf.FactHandle.HandleType type = 1;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasActivationsCount()optional int64 activations_count = 7;booleanhasDuration()optional int64 duration = 5;booleanhasEntryPoint()optional string entry_point = 10;booleanhasId()optional int64 id = 2;booleanhasIsExpired()optional bool is_expired = 6;booleanhasIsJustified()optional bool is_justified = 11;booleanhasObject()optional bytes object = 9;booleanhasOtnCount()optional int32 otn_count = 12;booleanhasRecency()optional int64 recency = 3;booleanhasStrategyIndex()optional int32 strategy_index = 8;booleanhasTimestamp()optional int64 timestamp = 4;booleanhasType()optional .org.drools.serialization.protobuf.FactHandle.HandleType type = 1;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ProtobufMessages.FactHandle.BuildernewBuilder()static ProtobufMessages.FactHandle.BuildernewBuilder(ProtobufMessages.FactHandle prototype)ProtobufMessages.FactHandle.BuildernewBuilderForType()protected ProtobufMessages.FactHandle.BuildernewBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)static ProtobufMessages.FactHandleparseDelimitedFrom(InputStream input)static ProtobufMessages.FactHandleparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtobufMessages.FactHandleparseFrom(byte[] data)static ProtobufMessages.FactHandleparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtobufMessages.FactHandleparseFrom(com.google.protobuf.ByteString data)static ProtobufMessages.FactHandleparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtobufMessages.FactHandleparseFrom(com.google.protobuf.CodedInputStream input)static ProtobufMessages.FactHandleparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtobufMessages.FactHandleparseFrom(InputStream input)static ProtobufMessages.FactHandleparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ProtobufMessages.FactHandle.BuildertoBuilder()protected ObjectwriteReplace()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PARSER
public static com.google.protobuf.Parser<ProtobufMessages.FactHandle> PARSER
-
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
-
IS_JUSTIFIED_FIELD_NUMBER
public static final int IS_JUSTIFIED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OTN_COUNT_FIELD_NUMBER
public static final int OTN_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultInstance
public static ProtobufMessages.FactHandle getDefaultInstance()
-
getDefaultInstanceForType
public ProtobufMessages.FactHandle getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessage
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getParserForType
public com.google.protobuf.Parser<ProtobufMessages.FactHandle> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
hasType
public boolean hasType()
optional .org.drools.serialization.protobuf.FactHandle.HandleType type = 1;- Specified by:
hasTypein interfaceProtobufMessages.FactHandleOrBuilder
-
getType
public ProtobufMessages.FactHandle.HandleType getType()
optional .org.drools.serialization.protobuf.FactHandle.HandleType type = 1;- Specified by:
getTypein interfaceProtobufMessages.FactHandleOrBuilder
-
hasId
public boolean hasId()
optional int64 id = 2;- Specified by:
hasIdin interfaceProtobufMessages.FactHandleOrBuilder
-
getId
public long getId()
optional int64 id = 2;- Specified by:
getIdin interfaceProtobufMessages.FactHandleOrBuilder
-
hasRecency
public boolean hasRecency()
optional int64 recency = 3;- Specified by:
hasRecencyin interfaceProtobufMessages.FactHandleOrBuilder
-
getRecency
public long getRecency()
optional int64 recency = 3;- Specified by:
getRecencyin interfaceProtobufMessages.FactHandleOrBuilder
-
hasTimestamp
public boolean hasTimestamp()
optional int64 timestamp = 4;event only attributes
- Specified by:
hasTimestampin interfaceProtobufMessages.FactHandleOrBuilder
-
getTimestamp
public long getTimestamp()
optional int64 timestamp = 4;event only attributes
- Specified by:
getTimestampin interfaceProtobufMessages.FactHandleOrBuilder
-
hasDuration
public boolean hasDuration()
optional int64 duration = 5;- Specified by:
hasDurationin interfaceProtobufMessages.FactHandleOrBuilder
-
getDuration
public long getDuration()
optional int64 duration = 5;- Specified by:
getDurationin interfaceProtobufMessages.FactHandleOrBuilder
-
hasIsExpired
public boolean hasIsExpired()
optional bool is_expired = 6;- Specified by:
hasIsExpiredin interfaceProtobufMessages.FactHandleOrBuilder
-
getIsExpired
public boolean getIsExpired()
optional bool is_expired = 6;- Specified by:
getIsExpiredin interfaceProtobufMessages.FactHandleOrBuilder
-
hasActivationsCount
public boolean hasActivationsCount()
optional int64 activations_count = 7;- Specified by:
hasActivationsCountin interfaceProtobufMessages.FactHandleOrBuilder
-
getActivationsCount
public long getActivationsCount()
optional int64 activations_count = 7;- Specified by:
getActivationsCountin interfaceProtobufMessages.FactHandleOrBuilder
-
hasStrategyIndex
public boolean hasStrategyIndex()
optional int32 strategy_index = 8;the actual object reference
- Specified by:
hasStrategyIndexin interfaceProtobufMessages.FactHandleOrBuilder
-
getStrategyIndex
public int getStrategyIndex()
optional int32 strategy_index = 8;the actual object reference
- Specified by:
getStrategyIndexin interfaceProtobufMessages.FactHandleOrBuilder
-
hasObject
public boolean hasObject()
optional bytes object = 9;- Specified by:
hasObjectin interfaceProtobufMessages.FactHandleOrBuilder
-
getObject
public com.google.protobuf.ByteString getObject()
optional bytes object = 9;- Specified by:
getObjectin interfaceProtobufMessages.FactHandleOrBuilder
-
hasEntryPoint
public boolean hasEntryPoint()
optional string entry_point = 10;the entry point
- Specified by:
hasEntryPointin interfaceProtobufMessages.FactHandleOrBuilder
-
getEntryPoint
public String getEntryPoint()
optional string entry_point = 10;the entry point
- Specified by:
getEntryPointin interfaceProtobufMessages.FactHandleOrBuilder
-
getEntryPointBytes
public com.google.protobuf.ByteString getEntryPointBytes()
optional string entry_point = 10;the entry point
- Specified by:
getEntryPointBytesin interfaceProtobufMessages.FactHandleOrBuilder
-
hasIsJustified
public boolean hasIsJustified()
optional bool is_justified = 11;- Specified by:
hasIsJustifiedin interfaceProtobufMessages.FactHandleOrBuilder
-
getIsJustified
public boolean getIsJustified()
optional bool is_justified = 11;- Specified by:
getIsJustifiedin interfaceProtobufMessages.FactHandleOrBuilder
-
hasOtnCount
public boolean hasOtnCount()
optional int32 otn_count = 12;- Specified by:
hasOtnCountin interfaceProtobufMessages.FactHandleOrBuilder
-
getOtnCount
public int getOtnCount()
optional int32 otn_count = 12;- Specified by:
getOtnCountin interfaceProtobufMessages.FactHandleOrBuilder
-
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 IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
writeReplace
protected Object writeReplace() throws ObjectStreamException
- Overrides:
writeReplacein classcom.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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ProtobufMessages.FactHandle.Builder newBuilder(ProtobufMessages.FactHandle prototype)
-
toBuilder
public ProtobufMessages.FactHandle.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ProtobufMessages.FactHandle.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessage
-
-