Class ProtobufMessages.Header
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<ProtobufMessages.Header>
org.drools.serialization.protobuf.ProtobufMessages.Header
- All Implemented Interfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<ProtobufMessages.Header>,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ProtobufMessages.HeaderOrBuilder
- Enclosing class:
- ProtobufMessages
public static final class ProtobufMessages.Header
extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<ProtobufMessages.Header>
implements ProtobufMessages.HeaderOrBuilder
Protobuf type
org.drools.serialization.protobuf.Header- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeorg.drools.serialization.protobuf.Headerstatic final classProtobuf typeorg.drools.serialization.protobuf.Header.StrategyIndexstatic interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriterNested 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 com.google.protobuf.Parser<ProtobufMessages.Header>Deprecated.static final intstatic 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 TypeMethodDescriptionbooleanstatic ProtobufMessages.Headerstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<ProtobufMessages.Header>com.google.protobuf.ByteStringbyte blobsgetRuntimeClassDefinitions(int index) classes generated after the KieBase compilation, which may be needed by the session DROOLS-904intclasses generated after the KieBase compilation, which may be needed by the session DROOLS-904classes generated after the KieBase compilation, which may be needed by the session DROOLS-904getRuntimeClassDefinitionsOrBuilder(int index) classes generated after the KieBase compilation, which may be needed by the session DROOLS-904List<? extends ProtobufMessages.RuntimeClassDefOrBuilder>classes generated after the KieBase compilation, which may be needed by the session DROOLS-904intSignature to prevent security concernsSignature to prevent security concernsgetStrategy(int index) The list of strategy classes used for this serializationintThe list of strategy classes used for this serializationThe list of strategy classes used for this serializationgetStrategyOrBuilder(int index) The list of strategy classes used for this serializationThe list of strategy classes used for this serializationDrools version for which this message was createdDrools version for which this message was createdinthashCode()booleanbyte blobsbooleanSignature to prevent security concernsbooleanDrools version for which this message was createdprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(ProtobufMessages.Header prototype) protected ProtobufMessages.Header.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ProtobufMessages.HeaderparseDelimitedFrom(InputStream input) static ProtobufMessages.HeaderparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProtobufMessages.HeaderparseFrom(byte[] data) static ProtobufMessages.HeaderparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProtobufMessages.HeaderparseFrom(com.google.protobuf.ByteString data) static ProtobufMessages.HeaderparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProtobufMessages.HeaderparseFrom(com.google.protobuf.CodedInputStream input) static ProtobufMessages.HeaderparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProtobufMessages.HeaderparseFrom(InputStream input) static ProtobufMessages.HeaderparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProtobufMessages.HeaderparseFrom(ByteBuffer data) static ProtobufMessages.HeaderparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ProtobufMessages.Header>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldProto3Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, getUnknownFields, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, 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.GeneratedMessageV3.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionMethods 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
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
SIGNATURE_FIELD_NUMBER
public static final int SIGNATURE_FIELD_NUMBER- See Also:
-
STRATEGY_FIELD_NUMBER
public static final int STRATEGY_FIELD_NUMBER- See Also:
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER- See Also:
-
RUNTIME_CLASS_DEFINITIONS_FIELD_NUMBER
public static final int RUNTIME_CLASS_DEFINITIONS_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
-
hasVersion
public boolean hasVersion()Drools version for which this message was created
optional .org.drools.serialization.protobuf.Version version = 1;- Specified by:
hasVersionin interfaceProtobufMessages.HeaderOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
Drools version for which this message was created
optional .org.drools.serialization.protobuf.Version version = 1;- Specified by:
getVersionin interfaceProtobufMessages.HeaderOrBuilder- Returns:
- The version.
-
getVersionOrBuilder
Drools version for which this message was created
optional .org.drools.serialization.protobuf.Version version = 1;- Specified by:
getVersionOrBuilderin interfaceProtobufMessages.HeaderOrBuilder
-
hasSignature
public boolean hasSignature()Signature to prevent security concerns
optional .org.drools.serialization.protobuf.Signature signature = 4;- Specified by:
hasSignaturein interfaceProtobufMessages.HeaderOrBuilder- Returns:
- Whether the signature field is set.
-
getSignature
Signature to prevent security concerns
optional .org.drools.serialization.protobuf.Signature signature = 4;- Specified by:
getSignaturein interfaceProtobufMessages.HeaderOrBuilder- Returns:
- The signature.
-
getSignatureOrBuilder
Signature to prevent security concerns
optional .org.drools.serialization.protobuf.Signature signature = 4;- Specified by:
getSignatureOrBuilderin interfaceProtobufMessages.HeaderOrBuilder
-
getStrategyList
The list of strategy classes used for this serialization
repeated .org.drools.serialization.protobuf.Header.StrategyIndex strategy = 9;- Specified by:
getStrategyListin interfaceProtobufMessages.HeaderOrBuilder
-
getStrategyOrBuilderList
The list of strategy classes used for this serialization
repeated .org.drools.serialization.protobuf.Header.StrategyIndex strategy = 9;- Specified by:
getStrategyOrBuilderListin interfaceProtobufMessages.HeaderOrBuilder
-
getStrategyCount
public int getStrategyCount()The list of strategy classes used for this serialization
repeated .org.drools.serialization.protobuf.Header.StrategyIndex strategy = 9;- Specified by:
getStrategyCountin interfaceProtobufMessages.HeaderOrBuilder
-
getStrategy
The list of strategy classes used for this serialization
repeated .org.drools.serialization.protobuf.Header.StrategyIndex strategy = 9;- Specified by:
getStrategyin interfaceProtobufMessages.HeaderOrBuilder
-
getStrategyOrBuilder
The list of strategy classes used for this serialization
repeated .org.drools.serialization.protobuf.Header.StrategyIndex strategy = 9;- Specified by:
getStrategyOrBuilderin interfaceProtobufMessages.HeaderOrBuilder
-
hasPayload
public boolean hasPayload()byte blobs
optional bytes payload = 10;- Specified by:
hasPayloadin interfaceProtobufMessages.HeaderOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
public com.google.protobuf.ByteString getPayload()byte blobs
optional bytes payload = 10;- Specified by:
getPayloadin interfaceProtobufMessages.HeaderOrBuilder- Returns:
- The payload.
-
getRuntimeClassDefinitionsList
classes generated after the KieBase compilation, which may be needed by the session DROOLS-904
repeated .org.drools.serialization.protobuf.RuntimeClassDef runtime_class_definitions = 13;- Specified by:
getRuntimeClassDefinitionsListin interfaceProtobufMessages.HeaderOrBuilder
-
getRuntimeClassDefinitionsOrBuilderList
public List<? extends ProtobufMessages.RuntimeClassDefOrBuilder> getRuntimeClassDefinitionsOrBuilderList()classes generated after the KieBase compilation, which may be needed by the session DROOLS-904
repeated .org.drools.serialization.protobuf.RuntimeClassDef runtime_class_definitions = 13;- Specified by:
getRuntimeClassDefinitionsOrBuilderListin interfaceProtobufMessages.HeaderOrBuilder
-
getRuntimeClassDefinitionsCount
public int getRuntimeClassDefinitionsCount()classes generated after the KieBase compilation, which may be needed by the session DROOLS-904
repeated .org.drools.serialization.protobuf.RuntimeClassDef runtime_class_definitions = 13;- Specified by:
getRuntimeClassDefinitionsCountin interfaceProtobufMessages.HeaderOrBuilder
-
getRuntimeClassDefinitions
classes generated after the KieBase compilation, which may be needed by the session DROOLS-904
repeated .org.drools.serialization.protobuf.RuntimeClassDef runtime_class_definitions = 13;- Specified by:
getRuntimeClassDefinitionsin interfaceProtobufMessages.HeaderOrBuilder
-
getRuntimeClassDefinitionsOrBuilder
classes generated after the KieBase compilation, which may be needed by the session DROOLS-904
repeated .org.drools.serialization.protobuf.RuntimeClassDef runtime_class_definitions = 13;- Specified by:
getRuntimeClassDefinitionsOrBuilderin interfaceProtobufMessages.HeaderOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableMessage<ProtobufMessages.Header>
-
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.Header parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtobufMessages.Header parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtobufMessages.Header parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtobufMessages.Header 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.Header parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtobufMessages.Header 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.Header parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ProtobufMessages.Header parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ProtobufMessages.Header parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ProtobufMessages.Header 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.Header.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.GeneratedMessageV3.ExtendableMessageOrBuilder<ProtobufMessages.Header>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-