Class ProtobufMessages.SerializedObject
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- org.drools.serialization.protobuf.ProtobufMessages.SerializedObject
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ProtobufMessages.SerializedObjectOrBuilder
- Enclosing class:
- ProtobufMessages
public static final class ProtobufMessages.SerializedObject extends com.google.protobuf.GeneratedMessage implements ProtobufMessages.SerializedObjectOrBuilder
Protobuf typeorg.drools.serialization.protobuf.SerializedObject- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProtobufMessages.SerializedObject.BuilderProtobuf typeorg.drools.serialization.protobuf.SerializedObject-
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 intOBJECT_FIELD_NUMBERstatic com.google.protobuf.Parser<ProtobufMessages.SerializedObject>PARSERstatic intSTRATEGY_INDEX_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtobufMessages.SerializedObjectgetDefaultInstance()ProtobufMessages.SerializedObjectgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.ByteStringgetObject()optional bytes object = 2;com.google.protobuf.Parser<ProtobufMessages.SerializedObject>getParserForType()intgetSerializedSize()intgetStrategyIndex()optional int32 strategy_index = 1;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasObject()optional bytes object = 2;booleanhasStrategyIndex()optional int32 strategy_index = 1;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ProtobufMessages.SerializedObject.BuildernewBuilder()static ProtobufMessages.SerializedObject.BuildernewBuilder(ProtobufMessages.SerializedObject prototype)ProtobufMessages.SerializedObject.BuildernewBuilderForType()protected ProtobufMessages.SerializedObject.BuildernewBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)static ProtobufMessages.SerializedObjectparseDelimitedFrom(InputStream input)static ProtobufMessages.SerializedObjectparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtobufMessages.SerializedObjectparseFrom(byte[] data)static ProtobufMessages.SerializedObjectparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtobufMessages.SerializedObjectparseFrom(com.google.protobuf.ByteString data)static ProtobufMessages.SerializedObjectparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtobufMessages.SerializedObjectparseFrom(com.google.protobuf.CodedInputStream input)static ProtobufMessages.SerializedObjectparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtobufMessages.SerializedObjectparseFrom(InputStream input)static ProtobufMessages.SerializedObjectparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ProtobufMessages.SerializedObject.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.SerializedObject> PARSER
-
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
-
-
Method Detail
-
getDefaultInstance
public static ProtobufMessages.SerializedObject getDefaultInstance()
-
getDefaultInstanceForType
public ProtobufMessages.SerializedObject 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.SerializedObject> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
hasStrategyIndex
public boolean hasStrategyIndex()
optional int32 strategy_index = 1;- Specified by:
hasStrategyIndexin interfaceProtobufMessages.SerializedObjectOrBuilder
-
getStrategyIndex
public int getStrategyIndex()
optional int32 strategy_index = 1;- Specified by:
getStrategyIndexin interfaceProtobufMessages.SerializedObjectOrBuilder
-
hasObject
public boolean hasObject()
optional bytes object = 2;- Specified by:
hasObjectin interfaceProtobufMessages.SerializedObjectOrBuilder
-
getObject
public com.google.protobuf.ByteString getObject()
optional bytes object = 2;- Specified by:
getObjectin interfaceProtobufMessages.SerializedObjectOrBuilder
-
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.SerializedObject parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtobufMessages.SerializedObject 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.SerializedObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtobufMessages.SerializedObject parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtobufMessages.SerializedObject parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ProtobufMessages.SerializedObject parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ProtobufMessages.SerializedObject parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ProtobufMessages.SerializedObject parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ProtobufMessages.SerializedObject parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ProtobufMessages.SerializedObject parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilder
public static ProtobufMessages.SerializedObject.Builder newBuilder()
-
newBuilderForType
public ProtobufMessages.SerializedObject.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ProtobufMessages.SerializedObject.Builder newBuilder(ProtobufMessages.SerializedObject prototype)
-
toBuilder
public ProtobufMessages.SerializedObject.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ProtobufMessages.SerializedObject.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessage
-
-