All Classes and Interfaces

Class
Description
A partial implementation of the Message interface which implements as many methods of that interface as possible in terms of other methods.
A partial implementation of the Message.Builder interface 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.
A partial implementation of the MessageLite interface which implements as many methods of that interface as possible in terms of other methods.
A partial implementation of the Message.Builder interface which implements as many methods of that interface as possible in terms of other methods.
An InputStream implementations which reads from some other InputStream but is limited to a particular number of bytes.
Interface for an enum which signifies which field in a oneof was specified.
A partial implementation of the Parser interface which implements as many methods of that interface as possible in terms of other methods.
An abstract implementation of Internal.ProtobufList which manages mutability semantics.
A buffer that was allocated by a BufferAllocator.
 
`Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
`Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
 
 
Api is a light-weight descriptor for an API Interface.
Api is a light-weight descriptor for an API Interface.
 
 
Helper functions to decode protobuf wire format from a byte array.
A helper used to return multiple values in a Java function.
A Reader that reads from a buffer containing a message serialized with the binary protocol.
A BinaryReader implementation that operates on a heap ByteBuffer.
A protobuf writer that serializes messages in their binary form.
Writer that uses safe operations on a target ByteBuffer.
Writer that uses safe operations on target array.
Writer that uses unsafe operations on a target ByteBuffer.
Writer that uses unsafe operations on a target array.
Abstract interface for a blocking RPC channel.
Blocking equivalent to Service.
An implementation of Internal.BooleanList on top of a primitive array.
Wrapper message for `bool`.
Wrapper message for `bool`.
 
An object responsible for allocation of buffers.
Utility class to provide efficient writing of ByteBuffers to OutputStreams.
An output target for raw bytes.
Immutable sequence of bytes.
 
Implementation of ByteArrayCopier which uses Arrays.copyOfRange(T[], int, int).
This class is used to represent the substring of a ByteString over a single byte array.
An interface to efficiently copy byte[].
This interface extends Iterator<Byte>, so that we can return an unboxed byte.
Base class for leaf ByteStrings (i.e.
This class implements a ByteString backed by a single array of bytes, contiguous in memory.
Outputs to a ByteString instance.
Implementation of ByteArrayCopier which uses System.arraycopy(java.lang.Object, int, java.lang.Object, int, int).
Wrapper message for `bytes`.
Wrapper message for `bytes`.
 
Indicates that the return value of the annotated method can be safely ignored.
Indicates that the return value of the annotated method must be checked.
Reads and decodes protocol message fields.
A CodedInputStream implementation that uses a backing array as the input.
Implementation of CodedInputStream that uses an as the data source.
Implementation of CodedInputStream that uses an InputStream as the data source.
 
A CodedInputStream implementation that uses a backing direct ByteBuffer as the input.
An adapter between the Reader interface and CodedInputStream.
Encodes and writes protocol message fields.
Abstract base class for buffered encoders.
A CodedOutputStream that writes directly to a byte array.
A CodedOutputStream that decorates a ByteOutput.
A CodedOutputStream that writes directly to a heap ByteBuffer.
If you create a CodedOutputStream around a simple flat array, you must not attempt to write more bytes than the array has space.
An CodedOutputStream that decorates an OutputStream.
A CodedOutputStream that writes directly to a direct ByteBuffer, using only safe operations..
A CodedOutputStream that writes directly to a direct ByteBuffer using sun.misc.Unsafe.
An adapter between the Writer interface and CodedOutputStream.
A factory for message info based on protobuf descriptors for a GeneratedMessageV3.
A helper class to determine whether a message type needs to implement isInitialized().
 
 
 
 
Describes a message type.
Describes a message type.
Protobuf type google.protobuf.DescriptorProto.ExtensionRange
Protobuf type google.protobuf.DescriptorProto.ExtensionRange
 
Range of reserved tag numbers.
Range of reserved tag numbers.
 
 
Describes an enum type.
Describes an enum type.
Range of reserved numeric values.
Range of reserved numeric values.
 
 
Protobuf type google.protobuf.EnumOptions
Protobuf type google.protobuf.EnumOptions
 
Describes a value within an enum.
Describes a value within an enum.
 
Protobuf type google.protobuf.EnumValueOptions
Protobuf type google.protobuf.EnumValueOptions
 
Protobuf type google.protobuf.ExtensionRangeOptions
Protobuf type google.protobuf.ExtensionRangeOptions
 
Describes a field within a message.
Describes a field within a message.
Protobuf enum google.protobuf.FieldDescriptorProto.Label
Protobuf enum google.protobuf.FieldDescriptorProto.Type
 
Protobuf type google.protobuf.FieldOptions
Protobuf type google.protobuf.FieldOptions
Protobuf enum google.protobuf.FieldOptions.CType
Protobuf enum google.protobuf.FieldOptions.JSType
 
Describes a complete .proto file.
Describes a complete .proto file.
 
The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.
The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.
 
Protobuf type google.protobuf.FileOptions
Protobuf type google.protobuf.FileOptions
Generated classes can be optimized for speed or code size.
 
Describes the relationship between generated code and its original source file.
Protobuf type google.protobuf.GeneratedCodeInfo.Annotation
Protobuf type google.protobuf.GeneratedCodeInfo.Annotation
 
Describes the relationship between generated code and its original source file.
 
Protobuf type google.protobuf.MessageOptions
Protobuf type google.protobuf.MessageOptions
 
Describes a method of a service.
Describes a method of a service.
 
Protobuf type google.protobuf.MethodOptions
Protobuf type google.protobuf.MethodOptions
Is this method side-effect-free (or safe in HTTP parlance), or idempotent, or neither? HTTP based RPC implementation may choose GET verb for safe methods, and PUT verb for idempotent methods instead of the default POST.
 
Describes a oneof.
Describes a oneof.
 
Protobuf type google.protobuf.OneofOptions
Protobuf type google.protobuf.OneofOptions
 
Describes a service.
Describes a service.
 
Protobuf type google.protobuf.ServiceOptions
Protobuf type google.protobuf.ServiceOptions
 
Encapsulates information about the original source file from which a FileDescriptorProto was generated.
Encapsulates information about the original source file from which a FileDescriptorProto was generated.
Protobuf type google.protobuf.SourceCodeInfo.Location
Protobuf type google.protobuf.SourceCodeInfo.Location
 
 
A message representing a option the parser does not recognize.
A message representing a option the parser does not recognize.
The name of the uninterpreted option.
The name of the uninterpreted option.
 
 
Contains a collection of classes which describe protocol message types.
Describes a message type.
A private helper class which contains lookup tables containing all the descriptors defined in a particular file.
Represents a package in the symbol table.
Defines what subclass of descriptors to search in the descriptor pool.
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 .proto file, including everything defined within.
Deprecated.
The syntax of the .proto file.
All descriptors implement this to make it easier to implement tools like DescriptorPool.
Describes one method within a service type.
 
Describes an oneof of a message type.
Describes a service type.
Parsers to discard unknown fields during parsing.
An implementation of Internal.DoubleList on top of a primitive array.
Wrapper message for `double`.
Wrapper message for `double`.
 
A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution.
A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution.
 
 
Utilities to help create/manipulate protobuf/duration.proto.
 
An implementation of Message that can represent arbitrary types, given a Descriptors.Descriptor.
Builder for DynamicMessages.
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
 
 
Enum type definition.
Enum type definition.
 
Enum value definition.
Enum value definition.
 
Indicates 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 (GenericDescriptor, int) pair, used as a map key.
A (Descriptor, Message) pair, returned by lookup methods.
A factory object to create instances of ExtensionRegistryLite.
Equivalent to ExtensionRegistry but supports only "lite" types.
 
A (Object, int) pair, used as a map key.
 
 
 
 
A single field of a message type.
A single field of a message type.
Whether a field is optional, required, or repeated.
Basic field types.
Information for a single field in a protobuf message class.
A builder for FieldInfo instances.
`FieldMask` represents a set of symbolic field paths, for example: paths: "f.a" paths: "f.b.d" Here `f` represents a field in some root message, `a` and `b` fields in the message found in `f`, and `d` a field found in the message in `f.b`.
`FieldMask` represents a set of symbolic field paths, for example: paths: "f.a" paths: "f.b.d" Here `f` represents a field in some root message, `a` and `b` fields in the message found in `f`, and `d` a field found in the message in `f.b`.
 
 
A tree representation of a FieldMask.
 
Utility helper functions to work with FieldMask.
Options to customize merging behavior.
 
A class which represents an arbitrary set of fields of some message type.
A FieldSet Builder that accept a MessageLite.Builder as a field value.
Interface for a FieldDescriptor or lite extension descriptor.
Enumeration identifying all relevant type information for a protobuf field.
 
An implementation of Internal.FloatList on top of a primitive array.
Wrapper message for `float`.
Wrapper message for `float`.
 
All generated protocol message classes extend this class.
 
TODO(xiaofeng): remove this after b/29368482 is fixed.
 
Generated message builders for message types that contain extension ranges subclass this.
Generated message classes for message types that contain extension ranges subclass this.
 
Gets the descriptor for an extension.
Users should ignore this class.
Abstract interface that provides access to a single field.
 
OneofAccessor provides access to a single oneof.
 
 
 
 
 
 
Field accessor for string fields.
Type used to represent generated extensions.
A factory for message info that is generated into the message itself.
Lite version of GeneratedMessage.
 
A Parser implementation that delegates to the default instance.
 
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.
 
TODO(xiaofeng): remove this after b/29368482 is fixed.
Generated message builders for message types that contain extension ranges subclass this.
Generated message classes for message types that contain extension ranges subclass this.
 
Gets the descriptor for an extension.
Users should ignore this class.
Abstract interface that provides access to a single field.
 
OneofAccessor provides access to a single oneof.
 
 
 
 
 
 
 
 
 
 
Field accessor for string fields.
This class is used to make a generated protected method inaccessible from user's code (e.g., the GeneratedMessageV3.newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter) method below).
Wrapper message for `int32`.
Wrapper message for `int32`.
 
Wrapper message for `int64`.
Wrapper message for `int64`.
 
An implementation of Internal.IntList on top of a primitive array.
The classes contained within are used internally by the Protocol Buffer library and generated message implementations.
A List implementation that avoids boxing the elements into Booleans if possible.
A List implementation that avoids boxing the elements into Doubles if possible.
Interface for an enum value or value descriptor, to be used in FieldSet.
Interface for an object which maps integers to Internal.EnumLites.
Interface for an object which verifies integers are in range.
A List implementation that avoids boxing the elements into Floats if possible.
A List implementation that avoids boxing the elements into Integers if possible.
Provides an immutable view of List<T> around a List<F>.
Convert individual elements of the List from F to T.
A List implementation that avoids boxing the elements into Longs if possible.
Wrap around a Map<K, RealValue> and provide a Map<K, V> interface.
An interface used to convert between two types.
Extends List to 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, e.g.
Exception indicating that an unexpected wire type was encountered for a field.
 
Enum that identifies the Java types required to store protobuf fields.
Utility classes to convert protobuf messages to/from JSON format.
Format the json without indentation
A Parser parses JSON to protobuf message.
 
 
A TextGenerator adds indentation when writing formatted text.
A Printer converts protobuf message to JSON format.
A Printer converts protobuf messages to JSON format.
 
 
An interface for json formatting that can be used in combination with the omittingInsignificantWhitespace() method
A TypeRegistry is used to resolve Any messages in the JSON conversion.
A Builder is used to build JsonFormat.TypeRegistry.
 
LazyField encapsulates the logic of lazily parsing message fields.
LazyEntry and LazyIterator are used to encapsulate the LazyField, when users iterate all fields from FieldSet.
 
LazyFieldLite encapsulates the logic of lazily parsing message fields.
An implementation of LazyStringList that wraps an ArrayList.
 
 
An interface extending List<String> that also provides access to the items of the list as UTF8-encoded ByteString or byte[] objects.
Utility class that aids in properly manipulating list fields for either the lite or full runtime.
Implementation for the full runtime.
Implementation for the lite runtime.
`ListValue` is a wrapper around a repeated field of values.
`ListValue` is a wrapper around a repeated field of values.
 
An implementation of Internal.LongList on top of a primitive array.
Dynamically generates a manifest-based (i.e.
 
Implements MapEntry messages.
Builder to create MapEntry messages.
 
Implements the lite version of map entry messages.
 
Internal representation of map fields in generated messages.
 
 
An internal map that checks for mutability before delegating.
An internal collection that checks for mutability before delegating.
An internal iterator that checks for mutability before delegating.
An internal set that checks for mutability before delegating.
Indicates where the data of this map field is currently stored.
Internal representation of map fields in generated lite-runtime messages.
 
 
 
 
Abstract interface implemented by Protocol Message objects.
Abstract interface implemented by Protocol Message builders.
A MesageInfo object describes a proto message type.
A factory that creates MessageInfo instances for message types.
Abstract interface implemented by Protocol Message objects.
Abstract interface implemented by Protocol Message builders.
Base interface for methods common to MessageLite and MessageLite.Builder to provide type equivalency.
Helps generate String representations of MessageLite protos.
Base interface for methods common to Message and Message.Builder to provide type equivalency.
Reflection utility methods shared by both mutable and immutable messages.
 
 
 
 
 
Schema used for standard messages.
Schema used for proto2 messages using message_set_wireformat.
Method represents a method of an API interface.
Method represents a method of an API interface.
 
Declares an API Interface to be included in this interface.
Declares an API Interface to be included in this interface.
 
Verifies that an object is mutable, throwing if not.
 
 
 
 
A ByteString that wraps around a ByteBuffer.
`NullValue` is a singleton enumeration to represent the null value for the `Value` type union.
Information for a oneof within a protobuf message.
A protocol buffer option, which can be attached to a message, field, enumeration, etc.
A protocol buffer option, which can be attached to a message, field, enumeration, etc.
 
Abstract interface for parsing Protocol Messages.
 
An encoded CodeGeneratorRequest is written to the plugin's stdin.
An encoded CodeGeneratorRequest is written to the plugin's stdin.
 
The plugin writes an encoded CodeGeneratorResponse to stdout.
The plugin writes an encoded CodeGeneratorResponse to stdout.
Sync with code_generator.h.
Represents a single generated file.
Represents a single generated file.
 
 
The version number of protocol compiler.
The version number of protocol compiler.
 
A marker interface indicating that the collection supports primitives and is non-boxing.
Main runtime interface for protobuf.
Implements Internal.ProtobufList for non-primitive and String types.
Utility class for construction of lists that extend Internal.ProtobufList.
Interface of useful methods added to all enums generated by the protocol compiler.
An interface extending List<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.
RawMessageInfo stores the same amount of information as MessageInfo but in a more compact format.
A reader of fields from a serialized protobuf message.
RepeatedFieldBuilder implements a structure that a protocol message uses to hold a repeated field of other protocol messages.
Provides a live view of the builder as a list of builders.
Provides a live view of the builder as a list of messages.
Provides a live view of the builder as a list of builders.
RepeatedFieldBuilderV3 implements a structure that a protocol message uses to hold a repeated field of other protocol messages.
Provides a live view of the builder as a list of builders.
Provides a live view of the builder as a list of messages.
Provides a live view of the builder as a list of builders.
Class to represent ByteStrings formed by concatenation of other ByteStrings, without copying the data in the pieces.
This class implements the balancing algorithm of BAP95.
This class is a continuable tree traversal, which keeps the state information which would exist on the stack in a recursive traversal instead on a stack of "Bread Crumbs".
Interface for an RPC callback, normally called when an RPC completes.
Abstract interface for an RPC channel.
An RpcController mediates 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.
A runtime schema for a single protobuf message.
A factory that manufactures Schema instances for protobuf messages.
Helper methods used by schemas.
Abstract base interface for protocol-buffer-based RPC services.
Thrown by blocking RPC methods when a failure occurs.
SingleFieldBuilder implements a structure that a protocol message uses to hold a single field of another protocol message.
SingleFieldBuilderV3 implements a structure that a protocol message uses to hold a single field of another protocol message.
A custom map implementation from FieldDescriptor to Object optimized to minimize the number of memory allocations for instances with a small number of mappings.
Helper class that holds immutable instances of an Iterable/Iterator that we return when the overflow entries is empty.
`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.
`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.
 
 
Wrapper message for `string`.
Wrapper message for `string`.
 
`Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
`Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
 
 
 
Utilities to help create google.protobuf.Struct messages.
Information for the layout of a protobuf message class.
A builder of MessageInfo instances.
The syntax in which a protocol buffer element is defined.
Provide text parsing and formatting support for proto2 instances.
Thrown when parsing an invalid text format message.
Parser for text-format proto2 instances.
Builder that can be used to obtain new instances of TextFormat.Parser.
Determines if repeated values for non-repeated fields and oneofs are permitted.
 
 
Helper class for converting protobufs to text.
An adapter class that can take a MapEntry and returns its key and entry.
An inner class for writing text to the output stream.
Represents a stream of tokens parsed from a String.
Thrown when encountering an unknown field while parsing a text format message.
Provide text format escaping support for proto2 instances.
 
Data structure which is populated with the locations of each field value parsed from the text.
A location in the source code.
A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution.
A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution.
 
 
Utilities to help create/manipulate protobuf/timestamp.proto.
 
A protocol buffer message type.
A protocol buffer message type.
 
 
A TypeRegistry is used to resolve Any messages.
A Builder is used to build TypeRegistry.
 
Wrapper message for `uint32`.
Wrapper message for `uint32`.
 
Wrapper message for `uint64`.
Wrapper message for `uint64`.
 
Thrown when attempting to build a protocol message that is missing required fields.
 
UnknownFieldSet keeps track of fields which were seen when parsing a protocol message but whose field numbers or types are unrecognized.
Builder for UnknownFieldSets.
Represents a single field in an UnknownFieldSet.
Used to build a UnknownFieldSet.Field within an UnknownFieldSet.
Parser to implement MessageLite interface.
UnknownFieldSetLite is used to keep track of fields which were seen when parsing a protocol message but whose field numbers or types are unrecognized.
 
 
An implementation of LazyStringList that wraps another LazyStringList such that it cannot be modified via the wrapper.
Provides a number of unsafe byte operations to be used by advanced applications with high performance requirements.
Utility class for working with unsafe operations.
 
 
 
 
A set of low-level, high-performance static utility methods related to the UTF-8 character encoding.
Utility methods for decoding bytes into String.
A processor of UTF-8 strings, providing methods for checking validity and encoding.
Utf8.Processor implementation that does not use any sun.misc.Unsafe methods.
 
Utf8.Processor that uses sun.misc.Unsafe where possible to improve performance.
`Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values.
`Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values.
 
 
Utilities to help create google.protobuf.Value messages.
This class is used internally by the Protocol Buffer library and generated message implementations.
Validation level for handling incoming string field data which potentially contain non-UTF8 bytes.
 
A writer that performs serialization of protobuf message fields.
The order in which the fields are written by a Writer.