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.Provides an explicit API for unstable, redacting debug output suitable for debug logging.Protobuf typegoogle.protobuf.DescriptorProtoProtobuf typegoogle.protobuf.DescriptorProtoProtobuf typegoogle.protobuf.DescriptorProto.ExtensionRangeProtobuf typegoogle.protobuf.DescriptorProto.ExtensionRangeProtobuf typegoogle.protobuf.DescriptorProto.ReservedRangeProtobuf typegoogle.protobuf.DescriptorProto.ReservedRangeProtobuf enumgoogle.protobuf.EditionProtobuf 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.ExtensionRangeOptions.DeclarationProtobuf typegoogle.protobuf.ExtensionRangeOptions.DeclarationProtobuf enumgoogle.protobuf.ExtensionRangeOptions.VerificationStateProtobuf typegoogle.protobuf.FeatureSetProtobuf typegoogle.protobuf.FeatureSetProtobuf enumgoogle.protobuf.FeatureSet.EnumTypeProtobuf enumgoogle.protobuf.FeatureSet.FieldPresenceProtobuf enumgoogle.protobuf.FeatureSet.JsonFormatProtobuf enumgoogle.protobuf.FeatureSet.MessageEncodingProtobuf enumgoogle.protobuf.FeatureSet.RepeatedFieldEncodingProtobuf enumgoogle.protobuf.FeatureSet.Utf8ValidationProtobuf typegoogle.protobuf.FeatureSetDefaultsProtobuf typegoogle.protobuf.FeatureSetDefaultsProtobuf typegoogle.protobuf.FeatureSetDefaults.FeatureSetEditionDefaultProtobuf typegoogle.protobuf.FeatureSetDefaults.FeatureSetEditionDefaultProtobuf typegoogle.protobuf.FieldDescriptorProtoProtobuf typegoogle.protobuf.FieldDescriptorProtoProtobuf enumgoogle.protobuf.FieldDescriptorProto.LabelProtobuf enumgoogle.protobuf.FieldDescriptorProto.TypeProtobuf typegoogle.protobuf.FieldOptionsProtobuf typegoogle.protobuf.FieldOptionsProtobuf enumgoogle.protobuf.FieldOptions.CTypeProtobuf typegoogle.protobuf.FieldOptions.EditionDefaultProtobuf typegoogle.protobuf.FieldOptions.EditionDefaultProtobuf typegoogle.protobuf.FieldOptions.FeatureSupportProtobuf typegoogle.protobuf.FieldOptions.FeatureSupportProtobuf 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.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<BuilderT extends GeneratedMessage.Builder<BuilderT>>Builder class forGeneratedMessage.GeneratedMessage.ExtendableBuilder<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>> Generated message builders for message types that contain extension ranges subclass this.GeneratedMessage.ExtendableMessage<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>>Generated message classes for message types that contain extension ranges subclass this.Used by subclasses to serialize extensions.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>>ExtendsMessageOrBuilderwith extension-related functions.Users should ignore this class.Type used to represent generated extensions.This class is used to make a generated protected method inaccessible from user's code (e.g., theGeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)method below).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.Deprecated.This class is deprecated, and slated for removal in the next Java breaking change (5.x).GeneratedMessageV3.Builder<BuilderT extends GeneratedMessageV3.Builder<BuilderT>>Deprecated.This class is deprecated, and slated for removal in the next Java breaking change (5.x).Deprecated.GeneratedMessageV3.ExtendableBuilder<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>> Deprecated.This class is deprecated, and slated for removal in the next Java breaking change (5.x).GeneratedMessageV3.ExtendableMessage<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>Deprecated.This class is deprecated, and slated for removal in the next Java breaking change (5.x).GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>Deprecated.This class is deprecated, and slated for removal in the next Java breaking change (5.x).Deprecated.This class is deprecated, and slated for removal in the next Java breaking change (5.x).Deprecated.This method is deprecated, and slated for removal in the next Java breaking change (5.x).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.Provides an immutable view ofList<T>around anIntList.Convert individual elements of the List from int to T.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.Protobuf typepb.JavaFeaturesProtobuf typepb.JavaFeaturesProtobuf enumpb.JavaFeatures.Utf8ValidationEnum 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.The legacy APIs preserve the existing toString() behavior (output TextFormat), which allows us to migrate toString callers that expect TextFormat output off toString.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.MapFieldBuilder<KeyT,MessageOrBuilderT extends MessageOrBuilder, MessageT extends MessageOrBuilderT, BuilderT extends MessageOrBuilderT> Internal representation of map fields in generated builders.MapFieldBuilder.Converter<KeyT,MessageOrBuilderT extends MessageOrBuilder, MessageT extends MessageOrBuilderT> Convert a MessageOrBuilder to a Message regardless of which it holds.MapFieldLite<K,V> Internal representation of map fields in generated lite-runtime messages.A base class for package private shared methods between MapField and MapFieldBuilder to allow reflection to access both.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.ProtobufToStringOutput controls the output format ofMessage.toString().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> Deprecated.This class is deprecated, and slated for removal in the next breaking change.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.Provides the version of this Protobuf Java runtime, and methods for Protobuf Java gencode to validate that versions are compatible.A runtime exception to be thrown by the version validator if version is not well defined or versions mismatch.Indicates the domain of the Protobuf artifact.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> Deprecated.This class is deprecated, and slated for removal in the next breaking change.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.Deprecated.This exception is unused and will be removed in the next breaking release (v5.x.x).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.useInternal.ProtobufList.makeImmutable()instead.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.