Package com.google.protobuf
package com.google.protobuf
-
ClassDescriptionA partial implementation of the
Messageinterface which implements as many methods of that interface as possible in terms of other methods.AbstractMessage.Builder<BuilderType extends AbstractMessage.Builder<BuilderType>>A partial implementation of theMessage.Builderinterface which implements as many methods of that interface as possible in terms of other methods.Interface for the parent of a Builder that allows the builder to communicate invalidations back to the parent for use when using nested builders.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.Interface for an enum which signifies which field in aoneofwas specified.AbstractParser<MessageType extends MessageLite>A partial implementation of theParserinterface which implements as many methods of that interface as possible in terms of other methods.Protobuf typegoogle.protobuf.AnyProtobuf typegoogle.protobuf.AnyProtobuf typegoogle.protobuf.ApiProtobuf typegoogle.protobuf.ApiAbstract interface for a blocking RPC channel.Blocking equivalent toService.Protobuf typegoogle.protobuf.BoolValueProtobuf typegoogle.protobuf.BoolValueAn output target for raw bytes.Immutable sequence of bytes.This interface extendsIterator<Byte>, so that we can return an unboxedbyte.Outputs to aByteStringinstance.Protobuf typegoogle.protobuf.BytesValueProtobuf typegoogle.protobuf.BytesValueReads and decodes protocol message fields.Encodes and writes protocol message fields.If you create a CodedOutputStream around a simple flat array, you must not attempt to write more bytes than the array has space.Protobuf typegoogle.protobuf.DescriptorProtoProtobuf typegoogle.protobuf.DescriptorProtoProtobuf typegoogle.protobuf.DescriptorProto.ExtensionRangeProtobuf typegoogle.protobuf.DescriptorProto.ExtensionRangeProtobuf typegoogle.protobuf.DescriptorProto.ReservedRangeProtobuf typegoogle.protobuf.DescriptorProto.ReservedRangeProtobuf typegoogle.protobuf.EnumDescriptorProtoProtobuf typegoogle.protobuf.EnumDescriptorProtoProtobuf typegoogle.protobuf.EnumDescriptorProto.EnumReservedRangeProtobuf typegoogle.protobuf.EnumDescriptorProto.EnumReservedRangeProtobuf typegoogle.protobuf.EnumOptionsProtobuf typegoogle.protobuf.EnumOptionsProtobuf typegoogle.protobuf.EnumValueDescriptorProtoProtobuf typegoogle.protobuf.EnumValueDescriptorProtoProtobuf typegoogle.protobuf.EnumValueOptionsProtobuf typegoogle.protobuf.EnumValueOptionsProtobuf typegoogle.protobuf.ExtensionRangeOptionsProtobuf typegoogle.protobuf.ExtensionRangeOptionsProtobuf typegoogle.protobuf.FieldDescriptorProtoProtobuf typegoogle.protobuf.FieldDescriptorProtoProtobuf enumgoogle.protobuf.FieldDescriptorProto.LabelProtobuf enumgoogle.protobuf.FieldDescriptorProto.TypeProtobuf typegoogle.protobuf.FieldOptionsProtobuf typegoogle.protobuf.FieldOptionsProtobuf enumgoogle.protobuf.FieldOptions.CTypeProtobuf enumgoogle.protobuf.FieldOptions.JSTypeProtobuf enumgoogle.protobuf.FieldOptions.OptionRetentionProtobuf enumgoogle.protobuf.FieldOptions.OptionTargetTypeProtobuf typegoogle.protobuf.FileDescriptorProtoProtobuf typegoogle.protobuf.FileDescriptorProtoProtobuf typegoogle.protobuf.FileDescriptorSetProtobuf typegoogle.protobuf.FileDescriptorSetProtobuf typegoogle.protobuf.FileOptionsProtobuf typegoogle.protobuf.FileOptionsProtobuf enumgoogle.protobuf.FileOptions.OptimizeModeProtobuf typegoogle.protobuf.GeneratedCodeInfoProtobuf typegoogle.protobuf.GeneratedCodeInfo.AnnotationProtobuf typegoogle.protobuf.GeneratedCodeInfo.AnnotationProtobuf enumgoogle.protobuf.GeneratedCodeInfo.Annotation.SemanticProtobuf typegoogle.protobuf.GeneratedCodeInfoProtobuf typegoogle.protobuf.MessageOptionsProtobuf typegoogle.protobuf.MessageOptionsProtobuf typegoogle.protobuf.MethodDescriptorProtoProtobuf typegoogle.protobuf.MethodDescriptorProtoProtobuf typegoogle.protobuf.MethodOptionsProtobuf typegoogle.protobuf.MethodOptionsProtobuf enumgoogle.protobuf.MethodOptions.IdempotencyLevelProtobuf typegoogle.protobuf.OneofDescriptorProtoProtobuf typegoogle.protobuf.OneofDescriptorProtoProtobuf typegoogle.protobuf.OneofOptionsProtobuf typegoogle.protobuf.OneofOptionsProtobuf typegoogle.protobuf.ServiceDescriptorProtoProtobuf typegoogle.protobuf.ServiceDescriptorProtoProtobuf typegoogle.protobuf.ServiceOptionsProtobuf typegoogle.protobuf.ServiceOptionsProtobuf typegoogle.protobuf.SourceCodeInfoProtobuf typegoogle.protobuf.SourceCodeInfoProtobuf typegoogle.protobuf.SourceCodeInfo.LocationProtobuf typegoogle.protobuf.SourceCodeInfo.LocationProtobuf typegoogle.protobuf.UninterpretedOptionProtobuf typegoogle.protobuf.UninterpretedOptionProtobuf typegoogle.protobuf.UninterpretedOption.NamePartProtobuf typegoogle.protobuf.UninterpretedOption.NamePartContains a collection of classes which describe protocol message types.Describes a message type.Thrown when building descriptors fails because the source DescriptorProtos are not valid.Describes an enum type.Describes one value within an enum type.Describes a field of a message type.Describes a.protofile, including everything defined within.Deprecated.The syntax of the .proto file.All descriptors implement this to make it easier to implement tools likeDescriptorPool.Describes one method within a service type.Describes a oneof of a message type.Describes a service type.Parsers to discard unknown fields during parsing.Protobuf typegoogle.protobuf.DoubleValueProtobuf typegoogle.protobuf.DoubleValueProtobuf typegoogle.protobuf.DurationProtobuf typegoogle.protobuf.DurationAn implementation ofMessagethat can represent arbitrary types, given aDescriptors.Descriptor.Builder forDynamicMessages.Protobuf typegoogle.protobuf.EmptyProtobuf typegoogle.protobuf.EmptyProtobuf typegoogle.protobuf.EnumProtobuf typegoogle.protobuf.EnumProtobuf typegoogle.protobuf.EnumValueProtobuf typegoogle.protobuf.EnumValueIndicates a public API that can change at any time, and has no guarantee of API stability and backward-compatibility.Interface that generated extensions implement.The API type that the extension is used for.Type of a message extension.Lite interface that generated extensions implement.A table of known extensions, searchable by name or field number.A (Descriptor, Message) pair, returned by lookup methods.Equivalent toExtensionRegistrybut supports only "lite" types.Protobuf typegoogle.protobuf.FieldProtobuf typegoogle.protobuf.FieldProtobuf enumgoogle.protobuf.Field.CardinalityProtobuf enumgoogle.protobuf.Field.KindProtobuf typegoogle.protobuf.FieldMaskProtobuf typegoogle.protobuf.FieldMaskEnumeration identifying all relevant type information for a protobuf field.Protobuf typegoogle.protobuf.FloatValueProtobuf typegoogle.protobuf.FloatValueAll generated protocol message classes extend this class.GeneratedMessage.Builder<BuilderType extends GeneratedMessage.Builder<BuilderType>>TODO(xiaofeng): remove this after b/29368482 is fixed.GeneratedMessage.ExtendableBuilder<MessageType extends GeneratedMessage.ExtendableMessage,BuilderType extends GeneratedMessage.ExtendableBuilder<MessageType, BuilderType>> Generated message builders for message types that contain extension ranges subclass this.GeneratedMessage.ExtendableMessage<MessageType extends GeneratedMessage.ExtendableMessage>Generated message classes for message types that contain extension ranges subclass this.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends GeneratedMessage.ExtendableMessage>Users should ignore this class.Type used to represent generated extensions.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>> 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.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>, BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>> Lite equivalent ofGeneratedMessage.ExtendableMessageOrBuilder.Lite equivalent toGeneratedMessage.GeneratedExtension.Defines which method path to invoke in#dynamicMethod(MethodToInvoke, Object...).A serialized (serializable) form of the generated message.All generated protocol message classes extend this class.GeneratedMessageV3.Builder<BuilderT extends GeneratedMessageV3.Builder<BuilderT>>Builder class forGeneratedMessageV3.TODO(xiaofeng): remove this after b/29368482 is fixed.GeneratedMessageV3.ExtendableBuilder<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>> Generated message builders for message types that contain extension ranges subclass this.GeneratedMessageV3.ExtendableMessage<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>Generated message classes for message types that contain extension ranges subclass this.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>ExtendsMessageOrBuilderwith extension-related functions.Users should ignore this class.This class is used to make a generated protected method inaccessible from user's code (e.g., theGeneratedMessageV3.newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter)method below).Protobuf typegoogle.protobuf.Int32ValueProtobuf typegoogle.protobuf.Int32ValueProtobuf typegoogle.protobuf.Int64ValueProtobuf typegoogle.protobuf.Int64ValueThe classes contained within are used internally by the Protocol Buffer library and generated message implementations.AListimplementation that avoids boxing the elements into Booleans if possible.AListimplementation that avoids boxing the elements into Doubles if possible.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.Interface for an object which verifies integers are in range.AListimplementation that avoids boxing the elements into Floats if possible.AListimplementation that avoids boxing the elements into Integers if possible.Internal.ListAdapter<F,T> Provides an immutable view ofList<T>around aList<F>.Convert individual elements of the List from F to T.AListimplementation that avoids boxing the elements into Longs if possible.Internal.MapAdapter<K,V, RealValue> Wrap around aMap<K, RealValue>and provide aMap<K, V>interface.An interface used to convert between two types.ExtendsListto add the capability to make the list immutable and inspect if it is modifiable.Thrown when a protocol message being parsed is invalid in some way.Exception indicating that an unexpected wire type was encountered for a field.Enum that identifies the Java types required to store protobuf fields.LazyField encapsulates the logic of lazily parsing message fields.LazyFieldLite encapsulates the logic of lazily parsing message fields.An implementation ofLazyStringListthat wraps an ArrayList.An interface extendingList<String>that also provides access to the items of the list as UTF8-encoded ByteString or byte[] objects.Protobuf typegoogle.protobuf.ListValueProtobuf typegoogle.protobuf.ListValueMapEntry<K,V> Implements MapEntry messages.MapEntry.Builder<K,V> Builder to createMapEntrymessages.MapEntryLite<K,V> Implements the lite version of map entry messages.MapField<K,V> Internal representation of map fields in generated messages.MapFieldLite<K,V> Internal representation of map fields in generated lite-runtime messages.Abstract interface implemented by Protocol Message objects.Abstract interface implemented by Protocol Message builders.Abstract interface implemented by Protocol Message objects.Abstract interface implemented by Protocol Message builders.Base interface for methods common toMessageLiteandMessageLite.Builderto provide type equivalency.Base interface for methods common toMessageandMessage.Builderto provide type equivalency.Protobuf typegoogle.protobuf.MethodProtobuf typegoogle.protobuf.MethodProtobuf typegoogle.protobuf.MixinProtobuf typegoogle.protobuf.MixinProtobuf enumgoogle.protobuf.NullValueProtobuf typegoogle.protobuf.OptionProtobuf typegoogle.protobuf.OptionParser<MessageType>Abstract interface for parsing Protocol Messages.Interface of useful methods added to all enums generated by the protocol compiler.An interface extendingList<String>used for repeated string fields to provide optional access to the data as a list of ByteStrings.Represents the syntax version of the message.RepeatedFieldBuilder<MType extends GeneratedMessage,BType extends GeneratedMessage.Builder, IType extends MessageOrBuilder> RepeatedFieldBuilderimplements a structure that a protocol message uses to hold a repeated field of other protocol messages.RepeatedFieldBuilderV3<MType extends AbstractMessage,BType extends AbstractMessage.Builder, IType extends MessageOrBuilder> RepeatedFieldBuilderV3implements a structure that a protocol message uses to hold a repeated field of other protocol messages.RpcCallback<ParameterType>Interface for an RPC callback, normally called when an RPC completes.Abstract interface for an RPC channel.AnRpcControllermediates a single method call.Grab-bag of utility functions useful when dealing with RPCs.Exception thrown when a one-time callback is called more than once.Abstract base interface for protocol-buffer-based RPC services.Thrown by blocking RPC methods when a failure occurs.SingleFieldBuilder<MType extends GeneratedMessage,BType extends GeneratedMessage.Builder, IType extends MessageOrBuilder> SingleFieldBuilderimplements a structure that a protocol message uses to hold a single field of another protocol message.SingleFieldBuilderV3<MType extends AbstractMessage,BType extends AbstractMessage.Builder, IType extends MessageOrBuilder> SingleFieldBuilderV3implements a structure that a protocol message uses to hold a single field of another protocol message.Protobuf typegoogle.protobuf.SourceContextProtobuf typegoogle.protobuf.SourceContextProtobuf typegoogle.protobuf.StringValueProtobuf typegoogle.protobuf.StringValueProtobuf typegoogle.protobuf.StructProtobuf typegoogle.protobuf.StructProtobuf enumgoogle.protobuf.SyntaxProvide text parsing and formatting support for proto2 instances.Thrown byTextFormat.unescapeBytes(java.lang.CharSequence)andTextFormat.unescapeText(java.lang.String)when an invalid escape sequence is seen.Thrown when parsing an invalid text format message.Parser for text-format proto2 instances.Builder that can be used to obtain new instances ofTextFormat.Parser.Determines if repeated values for non-repeated fields and oneofs are permitted.Helper class for converting protobufs to text.Thrown when encountering an unknown field while parsing a text format message.Data structure which is populated with the locations of each field value parsed from the text.Builder for aTextFormatParseInfoTree.A location in the source code.Protobuf typegoogle.protobuf.TimestampProtobuf typegoogle.protobuf.TimestampProtobuf typegoogle.protobuf.TypeProtobuf typegoogle.protobuf.TypeA TypeRegistry is used to resolve Any messages.A Builder is used to buildTypeRegistry.Protobuf typegoogle.protobuf.UInt32ValueProtobuf typegoogle.protobuf.UInt32ValueProtobuf typegoogle.protobuf.UInt64ValueProtobuf typegoogle.protobuf.UInt64ValueThrown when attempting to build a protocol message that is missing required fields.UnknownFieldSetkeeps track of fields which were seen when parsing a protocol message but whose field numbers or types are unrecognized.Builder forUnknownFieldSets.Represents a single field in anUnknownFieldSet.Used to build aUnknownFieldSet.Fieldwithin anUnknownFieldSet.Parser to implement MessageLite interface.UnknownFieldSetLiteis used to keep track of fields which were seen when parsing a protocol message but whose field numbers or types are unrecognized.Deprecated.Provides a number of unsafe byte operations to be used by advanced applications with high performance requirements.Protobuf typegoogle.protobuf.ValueProtobuf typegoogle.protobuf.ValueThis class is used internally by the Protocol Buffer library and generated message implementations.Lite equivalent toDescriptors.FieldDescriptor.Type.Lite equivalent toDescriptors.FieldDescriptor.JavaType.
Internal.ProtobufList.makeImmutable()instead.