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 type org.drools.serialization.protobuf.FactHandle
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasType

      public boolean hasType()
      optional .org.drools.serialization.protobuf.FactHandle.HandleType type = 1;
      Specified by:
      hasType in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      optional .org.drools.serialization.protobuf.FactHandle.HandleType type = 1;
      Specified by:
      getType in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      The type.
    • hasId

      public boolean hasId()
      optional int64 id = 2;
      Specified by:
      hasId in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public long getId()
      optional int64 id = 2;
      Specified by:
      getId in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      The id.
    • hasRecency

      public boolean hasRecency()
      optional int64 recency = 3;
      Specified by:
      hasRecency in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      Whether the recency field is set.
    • getRecency

      public long getRecency()
      optional int64 recency = 3;
      Specified by:
      getRecency in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      The recency.
    • hasTimestamp

      public boolean hasTimestamp()
       event only attributes
       
      optional int64 timestamp = 4;
      Specified by:
      hasTimestamp in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      public long getTimestamp()
       event only attributes
       
      optional int64 timestamp = 4;
      Specified by:
      getTimestamp in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      The timestamp.
    • hasDuration

      public boolean hasDuration()
      optional int64 duration = 5;
      Specified by:
      hasDuration in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      Whether the duration field is set.
    • getDuration

      public long getDuration()
      optional int64 duration = 5;
      Specified by:
      getDuration in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      The duration.
    • hasIsExpired

      public boolean hasIsExpired()
      optional bool is_expired = 6;
      Specified by:
      hasIsExpired in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      Whether the isExpired field is set.
    • getIsExpired

      public boolean getIsExpired()
      optional bool is_expired = 6;
      Specified by:
      getIsExpired in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      The isExpired.
    • hasActivationsCount

      public boolean hasActivationsCount()
      optional int64 activations_count = 7;
      Specified by:
      hasActivationsCount in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      Whether the activationsCount field is set.
    • getActivationsCount

      public long getActivationsCount()
      optional int64 activations_count = 7;
      Specified by:
      getActivationsCount in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      The activationsCount.
    • hasStrategyIndex

      public boolean hasStrategyIndex()
       the actual object reference
       
      optional int32 strategy_index = 8;
      Specified by:
      hasStrategyIndex in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      Whether the strategyIndex field is set.
    • getStrategyIndex

      public int getStrategyIndex()
       the actual object reference
       
      optional int32 strategy_index = 8;
      Specified by:
      getStrategyIndex in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      The strategyIndex.
    • hasObject

      public boolean hasObject()
      optional bytes object = 9;
      Specified by:
      hasObject in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      Whether the object field is set.
    • getObject

      public com.google.protobuf.ByteString getObject()
      optional bytes object = 9;
      Specified by:
      getObject in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      The object.
    • hasEntryPoint

      public boolean hasEntryPoint()
       the entry point
       
      optional string entry_point = 10;
      Specified by:
      hasEntryPoint in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      Whether the entryPoint field is set.
    • getEntryPoint

      public String getEntryPoint()
       the entry point
       
      optional string entry_point = 10;
      Specified by:
      getEntryPoint in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      The entryPoint.
    • getEntryPointBytes

      public com.google.protobuf.ByteString getEntryPointBytes()
       the entry point
       
      optional string entry_point = 10;
      Specified by:
      getEntryPointBytes in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      The bytes for entryPoint.
    • hasIsJustified

      public boolean hasIsJustified()
      optional bool is_justified = 11;
      Specified by:
      hasIsJustified in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      Whether the isJustified field is set.
    • getIsJustified

      public boolean getIsJustified()
      optional bool is_justified = 11;
      Specified by:
      getIsJustified in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      The isJustified.
    • hasOtnCount

      public boolean hasOtnCount()
      optional int32 otn_count = 12;
      Specified by:
      hasOtnCount in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      Whether the otnCount field is set.
    • getOtnCount

      public int getOtnCount()
      optional int32 otn_count = 12;
      Specified by:
      getOtnCount in interface ProtobufMessages.FactHandleOrBuilder
      Returns:
      The otnCount.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

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

    • 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.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.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:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ProtobufMessages.FactHandle getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder