Class ProtobufMessages.FactHandle
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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.GeneratedMessageV3 implements ProtobufMessages.FactHandleOrBuilder
a fact handle
Protobuf typeorg.drools.serialization.protobuf.FactHandle- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProtobufMessages.FactHandle.Buildera fact handlestatic classProtobufMessages.FactHandle.HandleTypeProtobuf enumorg.drools.serialization.protobuf.FactHandle.HandleType-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
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>PARSERDeprecated.static 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 booleanequals(Object obj)longgetActivationsCount()optional int64 activations_count = 7;static ProtobufMessages.FactHandlegetDefaultInstance()ProtobufMessages.FactHandlegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetDuration()optional int64 duration = 5;StringgetEntryPoint()the entry pointcom.google.protobuf.ByteStringgetEntryPointBytes()the entry pointlonggetId()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()the actual object referencelonggetTimestamp()event only attributesProtobufMessages.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()the entry pointinthashCode()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()the actual object referencebooleanhasTimestamp()event only attributesbooleanhasType()optional .org.drools.serialization.protobuf.FactHandle.HandleType type = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ProtobufMessages.FactHandle.BuildernewBuilder()static ProtobufMessages.FactHandle.BuildernewBuilder(ProtobufMessages.FactHandle prototype)ProtobufMessages.FactHandle.BuildernewBuilderForType()protected ProtobufMessages.FactHandle.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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)static ProtobufMessages.FactHandleparseFrom(ByteBuffer data)static ProtobufMessages.FactHandleparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ProtobufMessages.FactHandle>parser()ProtobufMessages.FactHandle.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, hashBoolean, 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
-
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
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<ProtobufMessages.FactHandle> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasType
public boolean hasType()
optional .org.drools.serialization.protobuf.FactHandle.HandleType type = 1;- Specified by:
hasTypein interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- Whether the type field is set.
-
getType
public ProtobufMessages.FactHandle.HandleType getType()
optional .org.drools.serialization.protobuf.FactHandle.HandleType type = 1;- Specified by:
getTypein interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- The type.
-
hasId
public boolean hasId()
optional int64 id = 2;- Specified by:
hasIdin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
optional int64 id = 2;- Specified by:
getIdin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- The id.
-
hasRecency
public boolean hasRecency()
optional int64 recency = 3;- Specified by:
hasRecencyin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- Whether the recency field is set.
-
getRecency
public long getRecency()
optional int64 recency = 3;- Specified by:
getRecencyin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- The recency.
-
hasTimestamp
public boolean hasTimestamp()
event only attributes
optional int64 timestamp = 4;- Specified by:
hasTimestampin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public long getTimestamp()
event only attributes
optional int64 timestamp = 4;- Specified by:
getTimestampin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- The timestamp.
-
hasDuration
public boolean hasDuration()
optional int64 duration = 5;- Specified by:
hasDurationin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
public long getDuration()
optional int64 duration = 5;- Specified by:
getDurationin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- The duration.
-
hasIsExpired
public boolean hasIsExpired()
optional bool is_expired = 6;- Specified by:
hasIsExpiredin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- Whether the isExpired field is set.
-
getIsExpired
public boolean getIsExpired()
optional bool is_expired = 6;- Specified by:
getIsExpiredin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- The isExpired.
-
hasActivationsCount
public boolean hasActivationsCount()
optional int64 activations_count = 7;- Specified by:
hasActivationsCountin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- Whether the activationsCount field is set.
-
getActivationsCount
public long getActivationsCount()
optional int64 activations_count = 7;- Specified by:
getActivationsCountin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- The activationsCount.
-
hasStrategyIndex
public boolean hasStrategyIndex()
the actual object reference
optional int32 strategy_index = 8;- Specified by:
hasStrategyIndexin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- Whether the strategyIndex field is set.
-
getStrategyIndex
public int getStrategyIndex()
the actual object reference
optional int32 strategy_index = 8;- Specified by:
getStrategyIndexin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- The strategyIndex.
-
hasObject
public boolean hasObject()
optional bytes object = 9;- Specified by:
hasObjectin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- Whether the object field is set.
-
getObject
public com.google.protobuf.ByteString getObject()
optional bytes object = 9;- Specified by:
getObjectin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- The object.
-
hasEntryPoint
public boolean hasEntryPoint()
the entry point
optional string entry_point = 10;- Specified by:
hasEntryPointin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- Whether the entryPoint field is set.
-
getEntryPoint
public String getEntryPoint()
the entry point
optional string entry_point = 10;- Specified by:
getEntryPointin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- The entryPoint.
-
getEntryPointBytes
public com.google.protobuf.ByteString getEntryPointBytes()
the entry point
optional string entry_point = 10;- Specified by:
getEntryPointBytesin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- The bytes for entryPoint.
-
hasIsJustified
public boolean hasIsJustified()
optional bool is_justified = 11;- Specified by:
hasIsJustifiedin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- Whether the isJustified field is set.
-
getIsJustified
public boolean getIsJustified()
optional bool is_justified = 11;- Specified by:
getIsJustifiedin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- The isJustified.
-
hasOtnCount
public boolean hasOtnCount()
optional int32 otn_count = 12;- Specified by:
hasOtnCountin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- Whether the otnCount field is set.
-
getOtnCount
public int getOtnCount()
optional int32 otn_count = 12;- Specified by:
getOtnCountin interfaceProtobufMessages.FactHandleOrBuilder- Returns:
- The otnCount.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ProtobufMessages.FactHandle parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtobufMessages.FactHandle parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
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
-
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()
-
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.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ProtobufMessages.FactHandle getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ProtobufMessages.FactHandle> parser()
-
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.GeneratedMessageV3
-
getDefaultInstanceForType
public ProtobufMessages.FactHandle getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-