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 handleProtobuf type
org.drools.serialization.protobuf.FactHandle- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classa fact handlestatic enumProtobuf enumorg.drools.serialization.protobuf.FactHandle.HandleTypeNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<ProtobufMessages.FactHandle>Deprecated.static final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongoptional int64 activations_count = 7;static ProtobufMessages.FactHandlestatic final com.google.protobuf.Descriptors.Descriptorlongoptional int64 duration = 5;the entry pointcom.google.protobuf.ByteStringthe entry pointlonggetId()optional int64 id = 2;booleanoptional bool is_expired = 6;booleanoptional bool is_justified = 11;com.google.protobuf.ByteStringoptional bytes object = 9;intoptional int32 otn_count = 12;com.google.protobuf.Parser<ProtobufMessages.FactHandle>longoptional int64 recency = 3;intintthe actual object referencelongevent only attributesgetType()optional .org.drools.serialization.protobuf.FactHandle.HandleType type = 1;booleanoptional int64 activations_count = 7;booleanoptional int64 duration = 5;booleanthe entry pointinthashCode()booleanhasId()optional int64 id = 2;booleanoptional bool is_expired = 6;booleanoptional bool is_justified = 11;booleanoptional bytes object = 9;booleanoptional int32 otn_count = 12;booleanoptional int64 recency = 3;booleanthe actual object referencebooleanevent only attributesbooleanhasType()optional .org.drools.serialization.protobuf.FactHandle.HandleType type = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(ProtobufMessages.FactHandle prototype) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
RECENCY_FIELD_NUMBER
public static final int RECENCY_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER- See Also:
-
IS_EXPIRED_FIELD_NUMBER
public static final int IS_EXPIRED_FIELD_NUMBER- See Also:
-
ACTIVATIONS_COUNT_FIELD_NUMBER
public static final int ACTIVATIONS_COUNT_FIELD_NUMBER- See Also:
-
STRATEGY_INDEX_FIELD_NUMBER
public static final int STRATEGY_INDEX_FIELD_NUMBER- See Also:
-
OBJECT_FIELD_NUMBER
public static final int OBJECT_FIELD_NUMBER- See Also:
-
ENTRY_POINT_FIELD_NUMBER
public static final int ENTRY_POINT_FIELD_NUMBER- See Also:
-
IS_JUSTIFIED_FIELD_NUMBER
public static final int IS_JUSTIFIED_FIELD_NUMBER- See Also:
-
OTN_COUNT_FIELD_NUMBER
public static final int OTN_COUNT_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
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
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
- 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
- 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
- Throws:
IOException
-
parseFrom
public static ProtobufMessages.FactHandle parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-