@NonNullByDefault
Package com.google.protobuf
-
Interface Summary Interface Description AbstractMessageLite.InternalOneOfEnum Interface for an enum which signifies which field in aoneofwas specified.ByteString.ByteIterator This interface extendsIterator<Byte>, so that we can return an unboxedbyte.Internal.BooleanList AListimplementation that avoids boxing the elements into Booleans if possible.Internal.DoubleList AListimplementation that avoids boxing the elements into Doubles if possible.Internal.EnumLite Interface for an enum value or value descriptor, to be used in FieldSet.Internal.EnumLiteMap<T extends Internal.EnumLite> Interface for an object which maps integers toInternal.EnumLites.Internal.EnumVerifier Interface for an object which verifies integers are in range.Internal.FloatList AListimplementation that avoids boxing the elements into Floats if possible.Internal.IntList AListimplementation that avoids boxing the elements into Integers if possible.Internal.IntListAdapter.IntConverter<T> Convert individual elements of the List from int to T.Internal.ListAdapter.Converter<F,T> Convert individual elements of the List from F to T.Internal.LongList AListimplementation that avoids boxing the elements into Longs if possible.Internal.MapAdapter.Converter<A,B> An interface used to convert between two types.Internal.ProtobufList<E> ExtendsListto add the capability to make the list immutable and inspect if it is modifiable.LazyStringList An interface extendingList<String>that also provides access to the items of the list as UTF8-encoded ByteString or byte[] objects.MessageLite Abstract interface implemented by Protocol Message objects.MessageLite.Builder Abstract interface implemented by Protocol Message builders.MessageLiteOrBuilder Base interface for methods common toMessageLiteandMessageLite.Builderto provide type equivalency.Parser<MessageType> Abstract interface for parsing Protocol Messages.ProtocolStringList An interface extendingList<String>used for repeated string fields to provide optional access to the data as a list of ByteStrings. -
Class Summary Class Description AbstractMessageLite<MessageType extends AbstractMessageLite<MessageType,BuilderType>,BuilderType extends AbstractMessageLite.Builder<MessageType,BuilderType>> A partial implementation of theMessageLiteinterface which implements as many methods of that interface as possible in terms of other methods.AbstractMessageLite.Builder<MessageType extends AbstractMessageLite<MessageType,BuilderType>,BuilderType extends AbstractMessageLite.Builder<MessageType,BuilderType>> A partial implementation of theMessage.Builderinterface which implements as many methods of that interface as possible in terms of other methods.AbstractParser<MessageType extends MessageLite> A partial implementation of theParserinterface which implements as many methods of that interface as possible in terms of other methods.ByteOutput An output target for raw bytes.ByteString Immutable sequence of bytes.ByteString.Output Outputs to aByteStringinstance.CodedInputStream Reads and decodes protocol message fields.CodedOutputStream Encodes and writes protocol message fields.ExtensionLite<ContainingType extends MessageLite,Type> Lite interface that generated extensions implement.ExtensionRegistryLite Equivalent toExtensionRegistrybut supports only "lite" types.GeneratedMessageLite<MessageType extends GeneratedMessageLite<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.Builder<MessageType,BuilderType>> Lite version ofGeneratedMessage.GeneratedMessageLite.Builder<MessageType extends GeneratedMessageLite<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.Builder<MessageType,BuilderType>> GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type> Lite equivalent toGeneratedMessage.GeneratedExtension.Internal The classes contained within are used internally by the Protocol Buffer library and generated message implementations.Internal.IntListAdapter<T> Provides an immutable view ofList<T>around anIntList.Internal.ListAdapter<F,T> Provides an immutable view ofList<T>around aList<F>.Internal.MapAdapter<K,V,RealValue> Wrap around aMap<K, RealValue>and provide aMap<K, V>interface.LazyField LazyField encapsulates the logic of lazily parsing message fields.LazyFieldLite LazyFieldLite encapsulates the logic of lazily parsing message fields.LazyStringArrayList An implementation ofLazyStringListthat wraps anArrayList.MapEntryLite<K,V> Implements the lite version of map entry messages.MapFieldLite<K,V> Internal representation of map fields in generated lite-runtime messages.MicroEJMessageLite Base class for MicroEJ-generated protobuf messages.ProtobufKernel Provides a utility method to initialize Protobuf library when it is embedded in a Kernel and its APIs are exposed to Features.UnknownFieldSetLite UnknownFieldSetLiteis used to keep track of fields which were seen when parsing a protocol message but whose field numbers or types are unrecognized.UnmodifiableLazyStringList Deprecated. useInternal.ProtobufList.makeImmutable()instead.WireFormat This class is used internally by the Protocol Buffer library and generated message implementations. -
Enum Summary Enum Description WireFormat.FieldType Lite equivalent toDescriptors.FieldDescriptor.Type.WireFormat.JavaType Lite equivalent toDescriptors.FieldDescriptor.JavaType. -
Exception Summary Exception Description CodedOutputStream.OutOfSpaceException If you create a CodedOutputStream around a simple flat array, you must not attempt to write more bytes than the array has space.InvalidProtocolBufferException Thrown when a protocol message being parsed is invalid in some way.InvalidProtocolBufferException.InvalidWireTypeException Exception indicating that an unexpected wire type was encountered for a field.UninitializedMessageException Thrown when attempting to build a protocol message that is missing required fields. -
Annotation Types Summary Annotation Type Description ExperimentalApi Indicates a public API that can change at any time, and has no guarantee of API stability and backward-compatibility.Generated Marks protobuf implementations generated by theprotoccompiler.