Class ProtobufMessages.Version
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- org.drools.serialization.protobuf.ProtobufMessages.Version
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ProtobufMessages.VersionOrBuilder
- Enclosing class:
- ProtobufMessages
public static final class ProtobufMessages.Version extends com.google.protobuf.GeneratedMessage implements ProtobufMessages.VersionOrBuilder
Protobuf typeorg.drools.serialization.protobuf.Version- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProtobufMessages.Version.BuilderProtobuf typeorg.drools.serialization.protobuf.Version-
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 com.google.protobuf.Parser<ProtobufMessages.Version>PARSERstatic intVERSION_MAJOR_FIELD_NUMBERstatic intVERSION_MINOR_FIELD_NUMBERstatic intVERSION_REVISION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtobufMessages.VersiongetDefaultInstance()ProtobufMessages.VersiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<ProtobufMessages.Version>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()intgetVersionMajor()optional int32 version_major = 1;intgetVersionMinor()optional int32 version_minor = 2;intgetVersionRevision()optional int32 version_revision = 3;booleanhasVersionMajor()optional int32 version_major = 1;booleanhasVersionMinor()optional int32 version_minor = 2;booleanhasVersionRevision()optional int32 version_revision = 3;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ProtobufMessages.Version.BuildernewBuilder()static ProtobufMessages.Version.BuildernewBuilder(ProtobufMessages.Version prototype)ProtobufMessages.Version.BuildernewBuilderForType()protected ProtobufMessages.Version.BuildernewBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)static ProtobufMessages.VersionparseDelimitedFrom(InputStream input)static ProtobufMessages.VersionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtobufMessages.VersionparseFrom(byte[] data)static ProtobufMessages.VersionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtobufMessages.VersionparseFrom(com.google.protobuf.ByteString data)static ProtobufMessages.VersionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtobufMessages.VersionparseFrom(com.google.protobuf.CodedInputStream input)static ProtobufMessages.VersionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtobufMessages.VersionparseFrom(InputStream input)static ProtobufMessages.VersionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ProtobufMessages.Version.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.Version> PARSER
-
VERSION_MAJOR_FIELD_NUMBER
public static final int VERSION_MAJOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_MINOR_FIELD_NUMBER
public static final int VERSION_MINOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_REVISION_FIELD_NUMBER
public static final int VERSION_REVISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultInstance
public static ProtobufMessages.Version getDefaultInstance()
-
getDefaultInstanceForType
public ProtobufMessages.Version 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.Version> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
hasVersionMajor
public boolean hasVersionMajor()
optional int32 version_major = 1;- Specified by:
hasVersionMajorin interfaceProtobufMessages.VersionOrBuilder
-
getVersionMajor
public int getVersionMajor()
optional int32 version_major = 1;- Specified by:
getVersionMajorin interfaceProtobufMessages.VersionOrBuilder
-
hasVersionMinor
public boolean hasVersionMinor()
optional int32 version_minor = 2;- Specified by:
hasVersionMinorin interfaceProtobufMessages.VersionOrBuilder
-
getVersionMinor
public int getVersionMinor()
optional int32 version_minor = 2;- Specified by:
getVersionMinorin interfaceProtobufMessages.VersionOrBuilder
-
hasVersionRevision
public boolean hasVersionRevision()
optional int32 version_revision = 3;- Specified by:
hasVersionRevisionin interfaceProtobufMessages.VersionOrBuilder
-
getVersionRevision
public int getVersionRevision()
optional int32 version_revision = 3;- Specified by:
getVersionRevisionin interfaceProtobufMessages.VersionOrBuilder
-
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.Version parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtobufMessages.Version 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.Version parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtobufMessages.Version parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtobufMessages.Version parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ProtobufMessages.Version parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ProtobufMessages.Version parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ProtobufMessages.Version parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ProtobufMessages.Version parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ProtobufMessages.Version parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilder
public static ProtobufMessages.Version.Builder newBuilder()
-
newBuilderForType
public ProtobufMessages.Version.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ProtobufMessages.Version.Builder newBuilder(ProtobufMessages.Version prototype)
-
toBuilder
public ProtobufMessages.Version.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ProtobufMessages.Version.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessage
-
-