@NonNullByDefault
Package com.google.protobuf
-
Interface Summary Interface Description ByteString.ByteIterator This interface extendsIterator<Byte>, so that we can return an unboxedbyte.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>> Lite equivalent ofGeneratedMessage.ExtendableMessageOrBuilder.GeneratedMessageLite.Visitor An abstract visitor that the generated code calls into that we use to implement various features.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.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.DefaultInstanceBasedParser<T extends GeneratedMessageLite<T,?>> AParserimplementation that delegates to the default instance.GeneratedMessageLite.ExtendableBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>> Lite equivalent ofGeneratedMessage.ExtendableBuilder.GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>> Lite equivalent ofGeneratedMessage.ExtendableMessage.GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type> Lite equivalent toGeneratedMessage.GeneratedExtension.GeneratedMessageLite.MergeFromVisitor Implements field merging semantics over the visitor interface.GeneratedMessageLite.SerializedForm A serialized (serializable) form of the generated message.Internal The classes contained within are used internally by the Protocol Buffer library and generated message implementations.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.MapEntryLite<K,V> Implements the lite version of map entry messages.MapFieldLite<K,V> Internal representation of map fields in generated lite-runtime 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.WireFormat This class is used internally by the Protocol Buffer library and generated message implementations. -
Enum Summary Enum Description GeneratedMessageLite.MethodToInvoke Defines which method path to invoke in#dynamicMethod(MethodToInvoke, Object...).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, e.g.InvalidProtocolBufferException.InvalidWireTypeException Exception indicating that and 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.