# Package com.google.protobuf

package com.google.protobuf

Related Packages
Package
Description
com.google.protobuf.compiler
Class
Description
AbstractMessage
A partial implementation of the `Message` interface 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 the `Message.Builder` interface which implements as many methods of that interface as possible in terms of other methods.
AbstractMessage.BuilderParent
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 the `MessageLite` interface 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 the `Message.Builder` interface which implements as many methods of that interface as possible in terms of other methods.
AbstractMessageLite.InternalOneOfEnum
Interface for an enum which signifies which field in a `oneof` was specified.
AbstractParser<MessageType extends MessageLite>
A partial implementation of the `Parser` interface which implements as many methods of that interface as possible in terms of other methods.
Any
Protobuf type `google.protobuf.Any`
Any.Builder
Protobuf type `google.protobuf.Any`
AnyOrBuilder
AnyProto
Api
Protobuf type `google.protobuf.Api`
Api.Builder
Protobuf type `google.protobuf.Api`
ApiOrBuilder
ApiProto
BlockingRpcChannel
Abstract interface for a blocking RPC channel.
BlockingService
Blocking equivalent to `Service`.
BoolValue
Protobuf type `google.protobuf.BoolValue`
BoolValue.Builder
Protobuf type `google.protobuf.BoolValue`
BoolValueOrBuilder
ByteOutput
An output target for raw bytes.
ByteString
Immutable sequence of bytes.
ByteString.ByteIterator
This interface extends `Iterator<Byte>`, so that we can return an unboxed `byte`.
ByteString.Output
Outputs to a `ByteString` instance.
BytesValue
Protobuf type `google.protobuf.BytesValue`
BytesValue.Builder
Protobuf type `google.protobuf.BytesValue`
BytesValueOrBuilder
CodedInputStream
Reads and decodes protocol message fields.
CodedOutputStream
Encodes and writes protocol message fields.
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.
DebugFormat
Provides an explicit API for unstable, redacting debug output suitable for debug logging.
DescriptorProtos
DescriptorProtos.DescriptorProto
Protobuf type `google.protobuf.DescriptorProto`
DescriptorProtos.DescriptorProto.Builder
Protobuf type `google.protobuf.DescriptorProto`
DescriptorProtos.DescriptorProto.ExtensionRange
Protobuf type `google.protobuf.DescriptorProto.ExtensionRange`
DescriptorProtos.DescriptorProto.ExtensionRange.Builder
Protobuf type `google.protobuf.DescriptorProto.ExtensionRange`
DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder
DescriptorProtos.DescriptorProto.ReservedRange
Protobuf type `google.protobuf.DescriptorProto.ReservedRange`
DescriptorProtos.DescriptorProto.ReservedRange.Builder
Protobuf type `google.protobuf.DescriptorProto.ReservedRange`
DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder
DescriptorProtos.DescriptorProtoOrBuilder
DescriptorProtos.Edition
Protobuf enum `google.protobuf.Edition`
DescriptorProtos.EnumDescriptorProto
Protobuf type `google.protobuf.EnumDescriptorProto`
DescriptorProtos.EnumDescriptorProto.Builder
Protobuf type `google.protobuf.EnumDescriptorProto`
DescriptorProtos.EnumDescriptorProto.EnumReservedRange
Protobuf type `google.protobuf.EnumDescriptorProto.EnumReservedRange`
DescriptorProtos.EnumDescriptorProto.EnumReservedRange.Builder
Protobuf type `google.protobuf.EnumDescriptorProto.EnumReservedRange`
DescriptorProtos.EnumDescriptorProto.EnumReservedRangeOrBuilder
DescriptorProtos.EnumDescriptorProtoOrBuilder
DescriptorProtos.EnumOptions
Protobuf type `google.protobuf.EnumOptions`
DescriptorProtos.EnumOptions.Builder
Protobuf type `google.protobuf.EnumOptions`
DescriptorProtos.EnumOptionsOrBuilder
DescriptorProtos.EnumValueDescriptorProto
Protobuf type `google.protobuf.EnumValueDescriptorProto`
DescriptorProtos.EnumValueDescriptorProto.Builder
Protobuf type `google.protobuf.EnumValueDescriptorProto`
DescriptorProtos.EnumValueDescriptorProtoOrBuilder
DescriptorProtos.EnumValueOptions
Protobuf type `google.protobuf.EnumValueOptions`
DescriptorProtos.EnumValueOptions.Builder
Protobuf type `google.protobuf.EnumValueOptions`
DescriptorProtos.EnumValueOptionsOrBuilder
DescriptorProtos.ExtensionRangeOptions
Protobuf type `google.protobuf.ExtensionRangeOptions`
DescriptorProtos.ExtensionRangeOptions.Builder
Protobuf type `google.protobuf.ExtensionRangeOptions`
DescriptorProtos.ExtensionRangeOptions.Declaration
Protobuf type `google.protobuf.ExtensionRangeOptions.Declaration`
DescriptorProtos.ExtensionRangeOptions.Declaration.Builder
Protobuf type `google.protobuf.ExtensionRangeOptions.Declaration`
DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder
DescriptorProtos.ExtensionRangeOptions.VerificationState
Protobuf enum `google.protobuf.ExtensionRangeOptions.VerificationState`
DescriptorProtos.ExtensionRangeOptionsOrBuilder
DescriptorProtos.FeatureSet
Protobuf type `google.protobuf.FeatureSet`
DescriptorProtos.FeatureSet.Builder
Protobuf type `google.protobuf.FeatureSet`
DescriptorProtos.FeatureSet.EnumType
Protobuf enum `google.protobuf.FeatureSet.EnumType`
DescriptorProtos.FeatureSet.FieldPresence
Protobuf enum `google.protobuf.FeatureSet.FieldPresence`
DescriptorProtos.FeatureSet.JsonFormat
Protobuf enum `google.protobuf.FeatureSet.JsonFormat`
DescriptorProtos.FeatureSet.MessageEncoding
Protobuf enum `google.protobuf.FeatureSet.MessageEncoding`
DescriptorProtos.FeatureSet.RepeatedFieldEncoding
Protobuf enum `google.protobuf.FeatureSet.RepeatedFieldEncoding`
DescriptorProtos.FeatureSet.Utf8Validation
Protobuf enum `google.protobuf.FeatureSet.Utf8Validation`
DescriptorProtos.FeatureSetDefaults
Protobuf type `google.protobuf.FeatureSetDefaults`
DescriptorProtos.FeatureSetDefaults.Builder
Protobuf type `google.protobuf.FeatureSetDefaults`
DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault
Protobuf type `google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault`
DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault.Builder
Protobuf type `google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault`
DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultOrBuilder
DescriptorProtos.FeatureSetDefaultsOrBuilder
DescriptorProtos.FeatureSetOrBuilder
DescriptorProtos.FieldDescriptorProto
Protobuf type `google.protobuf.FieldDescriptorProto`
DescriptorProtos.FieldDescriptorProto.Builder
Protobuf type `google.protobuf.FieldDescriptorProto`
DescriptorProtos.FieldDescriptorProto.Label
Protobuf enum `google.protobuf.FieldDescriptorProto.Label`
DescriptorProtos.FieldDescriptorProto.Type
Protobuf enum `google.protobuf.FieldDescriptorProto.Type`
DescriptorProtos.FieldDescriptorProtoOrBuilder
DescriptorProtos.FieldOptions
Protobuf type `google.protobuf.FieldOptions`
DescriptorProtos.FieldOptions.Builder
Protobuf type `google.protobuf.FieldOptions`
DescriptorProtos.FieldOptions.CType
Protobuf enum `google.protobuf.FieldOptions.CType`
DescriptorProtos.FieldOptions.EditionDefault
Protobuf type `google.protobuf.FieldOptions.EditionDefault`
DescriptorProtos.FieldOptions.EditionDefault.Builder
Protobuf type `google.protobuf.FieldOptions.EditionDefault`
DescriptorProtos.FieldOptions.EditionDefaultOrBuilder
DescriptorProtos.FieldOptions.FeatureSupport
Protobuf type `google.protobuf.FieldOptions.FeatureSupport`
DescriptorProtos.FieldOptions.FeatureSupport.Builder
Protobuf type `google.protobuf.FieldOptions.FeatureSupport`
DescriptorProtos.FieldOptions.FeatureSupportOrBuilder
DescriptorProtos.FieldOptions.JSType
Protobuf enum `google.protobuf.FieldOptions.JSType`
DescriptorProtos.FieldOptions.OptionRetention
Protobuf enum `google.protobuf.FieldOptions.OptionRetention`
DescriptorProtos.FieldOptions.OptionTargetType
Protobuf enum `google.protobuf.FieldOptions.OptionTargetType`
DescriptorProtos.FieldOptionsOrBuilder
DescriptorProtos.FileDescriptorProto
Protobuf type `google.protobuf.FileDescriptorProto`
DescriptorProtos.FileDescriptorProto.Builder
Protobuf type `google.protobuf.FileDescriptorProto`
DescriptorProtos.FileDescriptorProtoOrBuilder
DescriptorProtos.FileDescriptorSet
Protobuf type `google.protobuf.FileDescriptorSet`
DescriptorProtos.FileDescriptorSet.Builder
Protobuf type `google.protobuf.FileDescriptorSet`
DescriptorProtos.FileDescriptorSetOrBuilder
DescriptorProtos.FileOptions
Protobuf type `google.protobuf.FileOptions`
DescriptorProtos.FileOptions.Builder
Protobuf type `google.protobuf.FileOptions`
DescriptorProtos.FileOptions.OptimizeMode
Protobuf enum `google.protobuf.FileOptions.OptimizeMode`
DescriptorProtos.FileOptionsOrBuilder
DescriptorProtos.GeneratedCodeInfo
Protobuf type `google.protobuf.GeneratedCodeInfo`
DescriptorProtos.GeneratedCodeInfo.Annotation
Protobuf type `google.protobuf.GeneratedCodeInfo.Annotation`
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder
Protobuf type `google.protobuf.GeneratedCodeInfo.Annotation`
DescriptorProtos.GeneratedCodeInfo.Annotation.Semantic
Protobuf enum `google.protobuf.GeneratedCodeInfo.Annotation.Semantic`
DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder
DescriptorProtos.GeneratedCodeInfo.Builder
Protobuf type `google.protobuf.GeneratedCodeInfo`
DescriptorProtos.GeneratedCodeInfoOrBuilder
DescriptorProtos.MessageOptions
Protobuf type `google.protobuf.MessageOptions`
DescriptorProtos.MessageOptions.Builder
Protobuf type `google.protobuf.MessageOptions`
DescriptorProtos.MessageOptionsOrBuilder
DescriptorProtos.MethodDescriptorProto
Protobuf type `google.protobuf.MethodDescriptorProto`
DescriptorProtos.MethodDescriptorProto.Builder
Protobuf type `google.protobuf.MethodDescriptorProto`
DescriptorProtos.MethodDescriptorProtoOrBuilder
DescriptorProtos.MethodOptions
Protobuf type `google.protobuf.MethodOptions`
DescriptorProtos.MethodOptions.Builder
Protobuf type `google.protobuf.MethodOptions`
DescriptorProtos.MethodOptions.IdempotencyLevel
Protobuf enum `google.protobuf.MethodOptions.IdempotencyLevel`
DescriptorProtos.MethodOptionsOrBuilder
DescriptorProtos.OneofDescriptorProto
Protobuf type `google.protobuf.OneofDescriptorProto`
DescriptorProtos.OneofDescriptorProto.Builder
Protobuf type `google.protobuf.OneofDescriptorProto`
DescriptorProtos.OneofDescriptorProtoOrBuilder
DescriptorProtos.OneofOptions
Protobuf type `google.protobuf.OneofOptions`
DescriptorProtos.OneofOptions.Builder
Protobuf type `google.protobuf.OneofOptions`
DescriptorProtos.OneofOptionsOrBuilder
DescriptorProtos.ServiceDescriptorProto
Protobuf type `google.protobuf.ServiceDescriptorProto`
DescriptorProtos.ServiceDescriptorProto.Builder
Protobuf type `google.protobuf.ServiceDescriptorProto`
DescriptorProtos.ServiceDescriptorProtoOrBuilder
DescriptorProtos.ServiceOptions
Protobuf type `google.protobuf.ServiceOptions`
DescriptorProtos.ServiceOptions.Builder
Protobuf type `google.protobuf.ServiceOptions`
DescriptorProtos.ServiceOptionsOrBuilder
DescriptorProtos.SourceCodeInfo
Protobuf type `google.protobuf.SourceCodeInfo`
DescriptorProtos.SourceCodeInfo.Builder
Protobuf type `google.protobuf.SourceCodeInfo`
DescriptorProtos.SourceCodeInfo.Location
Protobuf type `google.protobuf.SourceCodeInfo.Location`
DescriptorProtos.SourceCodeInfo.Location.Builder
Protobuf type `google.protobuf.SourceCodeInfo.Location`
DescriptorProtos.SourceCodeInfo.LocationOrBuilder
DescriptorProtos.SourceCodeInfoOrBuilder
DescriptorProtos.UninterpretedOption
Protobuf type `google.protobuf.UninterpretedOption`
DescriptorProtos.UninterpretedOption.Builder
Protobuf type `google.protobuf.UninterpretedOption`
DescriptorProtos.UninterpretedOption.NamePart
Protobuf type `google.protobuf.UninterpretedOption.NamePart`
DescriptorProtos.UninterpretedOption.NamePart.Builder
Protobuf type `google.protobuf.UninterpretedOption.NamePart`
DescriptorProtos.UninterpretedOption.NamePartOrBuilder
DescriptorProtos.UninterpretedOptionOrBuilder
Descriptors
Contains a collection of classes which describe protocol message types.
Descriptors.Descriptor
Describes a message type.
Descriptors.DescriptorValidationException
Thrown when building descriptors fails because the source DescriptorProtos are not valid.
Descriptors.EnumDescriptor
Describes an enum type.
Descriptors.EnumValueDescriptor
Describes one value within an enum type.
Descriptors.FieldDescriptor
Describes a field of a message type.
Descriptors.FieldDescriptor.JavaType
Descriptors.FieldDescriptor.Type
Descriptors.FileDescriptor
Describes a `.proto` file, including everything defined within.
Descriptors.FileDescriptor.InternalDescriptorAssigner
Deprecated.
Descriptors.GenericDescriptor
All descriptors implement this to make it easier to implement tools like `DescriptorPool`.
Descriptors.MethodDescriptor
Describes one method within a service type.
Descriptors.OneofDescriptor
Describes a oneof of a message type.
Descriptors.ServiceDescriptor
Describes a service type.
DiscardUnknownFieldsParser
Parsers to discard unknown fields during parsing.
DoubleValue
Protobuf type `google.protobuf.DoubleValue`
DoubleValue.Builder
Protobuf type `google.protobuf.DoubleValue`
DoubleValueOrBuilder
Duration
Protobuf type `google.protobuf.Duration`
Duration.Builder
Protobuf type `google.protobuf.Duration`
DurationOrBuilder
DurationProto
DynamicMessage
An implementation of `Message` that can represent arbitrary types, given a `Descriptors.Descriptor`.
DynamicMessage.Builder
Builder for `DynamicMessage`s.
Empty
Protobuf type `google.protobuf.Empty`
Empty.Builder
Protobuf type `google.protobuf.Empty`
EmptyOrBuilder
EmptyProto
Enum
Protobuf type `google.protobuf.Enum`
Enum.Builder
Protobuf type `google.protobuf.Enum`
EnumOrBuilder
EnumValue
Protobuf type `google.protobuf.EnumValue`
EnumValue.Builder
Protobuf type `google.protobuf.EnumValue`
EnumValueOrBuilder
ExperimentalApi
Indicates a public API that can change at any time, and has no guarantee of API stability and backward-compatibility.
Extension<ContainingType extends MessageLite,Type>
Interface that generated extensions implement.
Extension.ExtensionType
The API type that the extension is used for.
Extension.MessageType
Type of a message extension.
ExtensionLite<ContainingType extends MessageLite,Type>
Lite interface that generated extensions implement.
ExtensionRegistry
A table of known extensions, searchable by name or field number.
ExtensionRegistry.ExtensionInfo
A (Descriptor, Message) pair, returned by lookup methods.
ExtensionRegistryLite
Equivalent to `ExtensionRegistry` but supports only "lite" types.
Field
Protobuf type `google.protobuf.Field`
Field.Builder
Protobuf type `google.protobuf.Field`
Field.Cardinality
Protobuf enum `google.protobuf.Field.Cardinality`
Field.Kind
Protobuf enum `google.protobuf.Field.Kind`
FieldMask
Protobuf type `google.protobuf.FieldMask`
FieldMask.Builder
Protobuf type `google.protobuf.FieldMask`
FieldMaskOrBuilder
FieldMaskProto
FieldOrBuilder
FieldType
Enumeration identifying all relevant type information for a protobuf field.
FloatValue
Protobuf type `google.protobuf.FloatValue`
FloatValue.Builder
Protobuf type `google.protobuf.FloatValue`
FloatValueOrBuilder
GeneratedMessage
All generated protocol message classes extend this class.
GeneratedMessage.Builder<BuilderT extends GeneratedMessage.Builder<BuilderT>>
Builder class for `GeneratedMessage`.
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.
GeneratedMessage.ExtendableMessage.ExtensionSerializer
Used by subclasses to serialize extensions.
GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>>
Extends `MessageOrBuilder` with extension-related functions.
GeneratedMessage.FieldAccessorTable
Users should ignore this class.
GeneratedMessage.GeneratedExtension<ContainingT extends Message,T>
Type used to represent generated extensions.
GeneratedMessage.UnusedPrivateParameter
This class is used to make a generated protected method inaccessible from user's code (e.g., the `GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)` method below).
GeneratedMessageLite<MessageType extends GeneratedMessageLite<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.Builder<MessageType,BuilderType>>
Lite version of `GeneratedMessage`.
GeneratedMessageLite.Builder<MessageType extends GeneratedMessageLite<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.Builder<MessageType,BuilderType>>
GeneratedMessageLite.DefaultInstanceBasedParser<T extends GeneratedMessageLite<T,?>>
A `Parser` implementation that delegates to the default instance.
GeneratedMessageLite.ExtendableBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>
Lite equivalent of `GeneratedMessage.ExtendableBuilder`.
GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>
Lite equivalent of `GeneratedMessage.ExtendableMessage`.
GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>
Lite equivalent of `GeneratedMessage.ExtendableMessageOrBuilder`.
GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type>
Lite equivalent to `GeneratedMessage.GeneratedExtension`.
GeneratedMessageLite.MethodToInvoke
Defines which method path to invoke in `#dynamicMethod(MethodToInvoke, Object...)`.
GeneratedMessageLite.SerializedForm
A serialized (serializable) form of the generated message.
GeneratedMessageV3
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).
GeneratedMessageV3.BuilderParent
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).
GeneratedMessageV3.FieldAccessorTable
Deprecated.
This class is deprecated, and slated for removal in the next Java breaking change (5.x).
GeneratedMessageV3.UnusedPrivateParameter
Deprecated.
This method is deprecated, and slated for removal in the next Java breaking change (5.x).
Int32Value
Protobuf type `google.protobuf.Int32Value`
Int32Value.Builder
Protobuf type `google.protobuf.Int32Value`
Int32ValueOrBuilder
Int64Value
Protobuf type `google.protobuf.Int64Value`
Int64Value.Builder
Protobuf type `google.protobuf.Int64Value`
Int64ValueOrBuilder
Internal
The classes contained within are used internally by the Protocol Buffer library and generated message implementations.
Internal.BooleanList
A `List` implementation that avoids boxing the elements into Booleans if possible.
Internal.DoubleList
A `List` implementation 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 to `Internal.EnumLite`s.
Internal.EnumVerifier
Interface for an object which verifies integers are in range.
Internal.FloatList
A `List` implementation that avoids boxing the elements into Floats if possible.
Internal.IntList
A `List` implementation that avoids boxing the elements into Integers if possible.
Internal.IntListAdapter<T>
Provides an immutable view of `List<T>` around an `IntList`.
Internal.IntListAdapter.IntConverter<T>
Convert individual elements of the List from int to T.
Internal.ListAdapter<F,T>
Provides an immutable view of `List<T>` around a `List<F>`.
Internal.ListAdapter.Converter<F,T>
Convert individual elements of the List from F to T.
Internal.LongList
A `List` implementation that avoids boxing the elements into Longs if possible.
Internal.MapAdapter<K,V,RealValue>
Wrap around a `Map<K, RealValue>` and provide a `Map<K, V>` interface.
Internal.MapAdapter.Converter<A,B>
An interface used to convert between two types.
Internal.ProtobufList<E>
Extends `List` to add the capability to make the list immutable and inspect if it is modifiable.
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.
JavaEditionDefaults
JavaFeaturesProto
JavaFeaturesProto.JavaFeatures
Protobuf type `pb.JavaFeatures`
JavaFeaturesProto.JavaFeatures.Builder
Protobuf type `pb.JavaFeatures`
JavaFeaturesProto.JavaFeatures.Utf8Validation
Protobuf enum `pb.JavaFeatures.Utf8Validation`
JavaFeaturesProto.JavaFeaturesOrBuilder
JavaType
Enum that identifies the Java types required to store protobuf fields.
LazyField
LazyField encapsulates the logic of lazily parsing message fields.
LazyFieldLite
LazyFieldLite encapsulates the logic of lazily parsing message fields.
LazyStringArrayList
An implementation of `LazyStringList` that wraps an ArrayList.
LazyStringList
An interface extending `List<String>` that also provides access to the items of the list as UTF8-encoded ByteString or byte[] objects.
LegacyUnredactedTextFormat
The legacy APIs preserve the existing toString() behavior (output TextFormat), which allows us to migrate toString callers that expect TextFormat output off toString.
ListValue
Protobuf type `google.protobuf.ListValue`
ListValue.Builder
Protobuf type `google.protobuf.ListValue`
ListValueOrBuilder
MapEntry<K,V>
Implements MapEntry messages.
MapEntry.Builder<K,V>
Builder to create `MapEntry` messages.
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.
MapFieldReflectionAccessor
A base class for package private shared methods between MapField and MapFieldBuilder to allow reflection to access both.
Message
Abstract interface implemented by Protocol Message objects.
Message.Builder
Abstract interface implemented by Protocol Message builders.
MessageLite
Abstract interface implemented by Protocol Message objects.
MessageLite.Builder
Abstract interface implemented by Protocol Message builders.
MessageLiteOrBuilder
Base interface for methods common to `MessageLite` and `MessageLite.Builder` to provide type equivalency.
MessageOrBuilder
Base interface for methods common to `Message` and `Message.Builder` to provide type equivalency.
Method
Protobuf type `google.protobuf.Method`
Method.Builder
Protobuf type `google.protobuf.Method`
MethodOrBuilder
Mixin
Protobuf type `google.protobuf.Mixin`
Mixin.Builder
Protobuf type `google.protobuf.Mixin`
MixinOrBuilder
NullValue
Protobuf enum `google.protobuf.NullValue`
Option
Protobuf type `google.protobuf.Option`
Option.Builder
Protobuf type `google.protobuf.Option`
OptionOrBuilder
Parser<MessageType>
Abstract interface for parsing Protocol Messages.
ProtobufToStringOutput
ProtobufToStringOutput controls the output format of `Message.toString()`.
ProtocolMessageEnum
Interface of useful methods added to all enums generated by the protocol compiler.
ProtocolStringList
An interface extending `List<String>` used for repeated string fields to provide optional access to the data as a list of ByteStrings.
ProtoSyntax
Represents the syntax version of the message.
RepeatedFieldBuilder<MType extends GeneratedMessage,BType extends GeneratedMessage.Builder,IType extends MessageOrBuilder>
`RepeatedFieldBuilder` implements 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.
RpcChannel
Abstract interface for an RPC channel.
RpcController
An `RpcController` mediates a single method call.
RpcUtil
Grab-bag of utility functions useful when dealing with RPCs.
RpcUtil.AlreadyCalledException
Exception thrown when a one-time callback is called more than once.
RuntimeVersion
Provides the version of this Protobuf Java runtime, and methods for Protobuf Java gencode to validate that versions are compatible.
RuntimeVersion.ProtobufRuntimeVersionException
A runtime exception to be thrown by the version validator if version is not well defined or versions mismatch.
RuntimeVersion.RuntimeDomain
Indicates the domain of the Protobuf artifact.
Service
Abstract base interface for protocol-buffer-based RPC services.
ServiceException
Thrown by blocking RPC methods when a failure occurs.
SingleFieldBuilder<MType extends GeneratedMessage,BType extends GeneratedMessage.Builder,IType extends MessageOrBuilder>
`SingleFieldBuilder` implements 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.
SourceContext
Protobuf type `google.protobuf.SourceContext`
SourceContext.Builder
Protobuf type `google.protobuf.SourceContext`
SourceContextOrBuilder
SourceContextProto
StringValue
Protobuf type `google.protobuf.StringValue`
StringValue.Builder
Protobuf type `google.protobuf.StringValue`
StringValueOrBuilder
Struct
Protobuf type `google.protobuf.Struct`
Struct.Builder
Protobuf type `google.protobuf.Struct`
StructOrBuilder
StructProto
Syntax
Protobuf enum `google.protobuf.Syntax`
TextFormat
Provide text parsing and formatting support for proto2 instances.
TextFormat.InvalidEscapeSequenceException
Thrown by `TextFormat.unescapeBytes(java.lang.CharSequence)` and `TextFormat.unescapeText(java.lang.String)` when an invalid escape sequence is seen.
TextFormat.ParseException
Thrown when parsing an invalid text format message.
TextFormat.Parser
Parser for text-format proto2 instances.
TextFormat.Parser.Builder
Builder that can be used to obtain new instances of `TextFormat.Parser`.
TextFormat.Parser.SingularOverwritePolicy
Determines if repeated values for non-repeated fields and oneofs are permitted.
TextFormat.Printer
Helper class for converting protobufs to text.
TextFormat.UnknownFieldParseException
Deprecated.
This exception is unused and will be removed in the next breaking release (v5.x.x).
TextFormatParseInfoTree
Data structure which is populated with the locations of each field value parsed from the text.
TextFormatParseInfoTree.Builder
Builder for a `TextFormatParseInfoTree`.
TextFormatParseLocation
A location in the source code.
Timestamp
Protobuf type `google.protobuf.Timestamp`
Timestamp.Builder
Protobuf type `google.protobuf.Timestamp`
TimestampOrBuilder
TimestampProto
Type
Protobuf type `google.protobuf.Type`
Type.Builder
Protobuf type `google.protobuf.Type`
TypeOrBuilder
TypeProto
TypeRegistry
A TypeRegistry is used to resolve Any messages.
TypeRegistry.Builder
A Builder is used to build `TypeRegistry`.
UInt32Value
Protobuf type `google.protobuf.UInt32Value`
UInt32Value.Builder
Protobuf type `google.protobuf.UInt32Value`
UInt32ValueOrBuilder
UInt64Value
Protobuf type `google.protobuf.UInt64Value`
UInt64Value.Builder
Protobuf type `google.protobuf.UInt64Value`
UInt64ValueOrBuilder
UninitializedMessageException
Thrown when attempting to build a protocol message that is missing required fields.
UnknownFieldSet
`UnknownFieldSet` keeps track of fields which were seen when parsing a protocol message but whose field numbers or types are unrecognized.
UnknownFieldSet.Builder
Builder for `UnknownFieldSet`s.
UnknownFieldSet.Field
Represents a single field in an `UnknownFieldSet`.
UnknownFieldSet.Field.Builder
Used to build a `UnknownFieldSet.Field` within an `UnknownFieldSet`.
UnknownFieldSet.Parser
Parser to implement MessageLite interface.
UnknownFieldSetLite
`UnknownFieldSetLite` is used to keep track of fields which were seen when parsing a protocol message but whose field numbers or types are unrecognized.
UnmodifiableLazyStringList
Deprecated.
use `Internal.ProtobufList.makeImmutable()` instead.
UnsafeByteOperations
Provides a number of unsafe byte operations to be used by advanced applications with high performance requirements.
Value
Protobuf type `google.protobuf.Value`
Value.Builder
Protobuf type `google.protobuf.Value`
Value.KindCase
ValueOrBuilder
WireFormat
This class is used internally by the Protocol Buffer library and generated message implementations.
WireFormat.FieldType
Lite equivalent to `Descriptors.FieldDescriptor.Type`.
WireFormat.JavaType
Lite equivalent to `Descriptors.FieldDescriptor.JavaType`.
WrappersProto