Top Interfaces Annotations Classes Enums
[default module]

Package com.google.protobuf


Interface Summary

Modifier and TypeInterface and Description
public interface
public interface
public interface
BlockingRpcChannel

Abstract interface for a blocking RPC channel.

public interface
BlockingService

Blocking equivalent to Service.

public interface
public interface
public interface
public interface
public interface
public interface
public interface
public interface
public interface
public interface
public interface
public interface
public interface
LazyStringList

An interface extending List<String> that also provides access to the items of the list as UTF8-encoded ByteString or byte[] objects.

public interface
public interface
Message

Abstract interface implemented by Protocol Message objects.

public interface
MessageLite

Abstract interface implemented by Protocol Message objects.

public interface
MessageLiteOrBuilder

Base interface for methods common to MessageLite and MessageLite.Builder to provide type equivalency.

public interface
MessageOrBuilder

Base interface for methods common to Message and Message.Builder to provide type equivalency.

public interface
public interface
pack-priv interface
MutabilityOracle

Verifies that an object is mutable, throwing if not.

public interface
public interface
Parser<MessageType>

Abstract interface for parsing Protocol Messages.

pack-priv interface
PrimitiveNonBoxingCollection

A marker interface indicating that the collection supports primitives and is non-boxing.

public interface
ProtocolMessageEnum

Interface of useful methods added to all enums generated by the protocol compiler.

public interface
ProtocolStringList

An interface extending List<String> used for repeated string fields to provide optional access to the data as a list of ByteStrings.

public interface
RpcCallback<ParameterType>

Interface for an RPC callback, normally called when an RPC completes.

public interface
RpcChannel

Abstract interface for an RPC channel.

public interface
RpcController

An RpcController mediates a single method call.

public interface
Service

Abstract base interface for protocol-buffer-based RPC services.

public interface
public interface
public interface
public interface
public interface
public interface
public interface
public interface

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
ExperimentalApi

Indicates a public API that can change at any time, and has no guarantee of API stability and backward-compatibility.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractMessage

A partial implementation of the Message interface which implements as many methods of that interface as possible in terms of other methods.

public abstract class
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.

public abstract class
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.

pack-priv abstract class
AbstractProtobufList<E>

An abstract implementation of ProtobufList which manages mutability semantics.

pack-priv class
public class
Any

`Any` contains an arbitrary serialized protocol buffer message along with a
URL that describes the type of the serialized message.
public class
public class
Api

Api is a light-weight descriptor for an API Interface.
public class
pack-priv class
BooleanArrayList

An implementation of BooleanList on top of a primitive array.

public class
BoolValue

Wrapper message for `bool`.
pack-priv class
ByteBufferWriter

Utility class to provide efficient writing of ByteBuffers to OutputStreams.

public abstract class
ByteOutput

An output target for raw bytes.

public abstract class
ByteString

Immutable sequence of bytes.

public class
BytesValue

Wrapper message for `bytes`.
public abstract class
CodedInputStream

Reads and decodes protocol message fields.

public abstract class
CodedOutputStream

Encodes and writes protocol message fields.

public class
public class
Descriptors

Contains a collection of classes which describe protocol message types.

public class
DiscardUnknownFieldsParser

Parsers to discard unknown fields during parsing.

pack-priv class
DoubleArrayList

An implementation of DoubleList on top of a primitive array.

public class
DoubleValue

Wrapper message for `double`.
public class
Duration

A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution.
public class
public class
DynamicMessage

An implementation of Message that can represent arbitrary types, given a Descriptors.Descriptor.

public class
Empty

A generic empty message that you can re-use to avoid defining duplicated
empty messages in your APIs.
public class
public class
Enum

Enum type definition.
public class
EnumValue

Enum value definition.
public abstract class
Extension<ContainingType extends MessageLite, Type>

Interface that generated extensions implement.

public abstract class
ExtensionLite<ContainingType extends MessageLite, Type>

Lite interface that generated extensions implement.

public class
ExtensionRegistry

A table of known extensions, searchable by name or field number.

pack-priv class
ExtensionRegistryFactory

A factory object to create instances of ExtensionRegistryLite.

public class
ExtensionRegistryLite

Equivalent to ExtensionRegistry but supports only "lite" types.

public class
Field

A single field of a message type.
public class
FieldMask

`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`.
public class
pack-priv class
FieldSet<FieldDescriptorType extends FieldSet.FieldDescriptorLite<FieldDescriptorType>>

A class which represents an arbitrary set of fields of some message type.

pack-priv class
FloatArrayList

An implementation of FloatList on top of a primitive array.

public class
FloatValue

Wrapper message for `float`.
public abstract class
GeneratedMessage

All generated protocol message classes extend this class.

public abstract class
GeneratedMessageLite<MessageType extends GeneratedMessageLite<MessageType, BuilderType>, BuilderType extends GeneratedMessageLite.Builder<MessageType, BuilderType>>

Lite version of GeneratedMessage.

public abstract class
GeneratedMessageV3

All generated protocol message classes extend this class.

public class
Int32Value

Wrapper message for `int32`.
public class
Int64Value

Wrapper message for `int64`.
pack-priv class
IntArrayList

An implementation of IntList on top of a primitive array.

public class
Internal

The classes contained within are used internally by the Protocol Buffer library and generated message implementations.

public class
InvalidProtocolBufferException

Thrown when a protocol message being parsed is invalid in some way, e.g. it contains a malformed varint or a negative byte length.

pack-priv class
public class
LazyField

LazyField encapsulates the logic of lazily parsing message fields.

public class
LazyFieldLite

LazyFieldLite encapsulates the logic of lazily parsing message fields.

public class
LazyStringArrayList

An implementation of LazyStringList that wraps an ArrayList.

public class
ListValue

`ListValue` is a wrapper around a repeated field of values.
pack-priv class
LongArrayList

An implementation of LongList on top of a primitive array.

public class
MapEntry<K, V>

Implements MapEntry messages.

public class
MapEntryLite<K, V>

Implements the lite version of map entry messages.

public class
MapField<K, V>

Internal representation of map fields in generated messages.

public class
MapFieldLite<K, V>

Internal representation of map fields in generated lite-runtime messages.

pack-priv class
MessageLiteToString

Helps generate String representations of MessageLite protos.

pack-priv class
MessageReflection

Reflection utility methods shared by both mutable and immutable messages.

public class
Method

Method represents a method of an API interface.
public class
Mixin

Declares an API Interface to be included in this interface.
pack-priv class
NioByteString

A ByteString that wraps around a ByteBuffer.

public class
Option

A protocol buffer option, which can be attached to a message, field,
enumeration, etc.
pack-priv class
ProtobufArrayList<E>

Implements ProtobufList for non-primitive and String types.

public class
RepeatedFieldBuilder<
the type of message for the field
MType extends GeneratedMessage
,
the type of builder for the field
BType extends GeneratedMessage.Builder
,
the common interface for the message and the builder
IType extends MessageOrBuilder
>

RepeatedFieldBuilder implements a structure that a protocol message uses to hold a repeated field of other protocol messages.

public class
RepeatedFieldBuilderV3<
the type of message for the field
MType extends AbstractMessage
,
the type of builder for the field
BType extends AbstractMessage.Builder<BuilderType extends AbstractMessage.Builder<BuilderType>>
,
the common interface for the message and the builder
IType extends MessageOrBuilder
>

RepeatedFieldBuilderV3 implements a structure that a protocol message uses to hold a repeated field of other protocol messages.

pack-priv class
RopeByteString

Class to represent ByteStrings formed by concatenation of other ByteStrings, without copying the data in the pieces.

public class
RpcUtil

Grab-bag of utility functions useful when dealing with RPCs.

public class
ServiceException

Thrown by blocking RPC methods when a failure occurs.

public class
SingleFieldBuilder<
the type of message for the field
MType extends GeneratedMessage
,
the type of builder for the field
BType extends GeneratedMessage.Builder
,
the common interface for the message and the builder
IType extends MessageOrBuilder
>

SingleFieldBuilder implements a structure that a protocol message uses to hold a single field of another protocol message.

public class
SingleFieldBuilderV3<
the type of message for the field
MType extends AbstractMessage
,
the type of builder for the field
BType extends AbstractMessage.Builder<BuilderType extends AbstractMessage.Builder<BuilderType>>
,
the common interface for the message and the builder
IType extends MessageOrBuilder
>

SingleFieldBuilderV3 implements a structure that a protocol message uses to hold a single field of another protocol message.

pack-priv class
SmallSortedMap<K extends Comparable<K>, V>

A custom map implementation from FieldDescriptor to Object optimized to minimize the number of memory allocations for instances with a small number of mappings.

public class
SourceContext

`SourceContext` represents information about the source of a
protobuf element, like the file in which it is defined.
public class
public class
StringValue

Wrapper message for `string`.
public class
Struct

`Struct` represents a structured data value, consisting of fields
which map to dynamically typed values.
public class
public class
TextFormat

Provide text parsing and formatting support for proto2 instances.

pack-priv class
TextFormatEscaper

Provide text format escaping support for proto2 instances.

public class
TextFormatParseInfoTree

Data structure which is populated with the locations of each field value parsed from the text.

public class
TextFormatParseLocation

A location in the source code.

public class
Timestamp

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.
public class
public class
Type

A protocol buffer message type.
public class
public class
UInt32Value

Wrapper message for `uint32`.
public class
UInt64Value

Wrapper message for `uint64`.
public class
UninitializedMessageException

Thrown when attempting to build a protocol message that is missing required fields.

public class
UnknownFieldSet

UnknownFieldSet is used to keep track of fields which were seen when parsing a protocol message but whose field numbers or types are unrecognized.

public class
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.

public class
UnmodifiableLazyStringList

An implementation of LazyStringList that wraps another LazyStringList such that it cannot be modified via the wrapper.

public class
UnsafeByteOperations

Provides a number of unsafe byte operations to be used by advanced applications with high performance requirements.

pack-priv class
UnsafeUtil

Utility class for working with unsafe operations.

pack-priv class
Utf8

A set of low-level, high-performance static utility methods related to the UTF-8 character encoding.

public class
Value

`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.
public class
WireFormat

This class is used internally by the Protocol Buffer library and generated message implementations.

public class

Enum Summary

Modifier and TypeEnum and Description
public enum
NullValue

`NullValue` is a singleton enumeration to represent the null value for the
`Value` type union.
public enum
Syntax

The syntax in which a protocol buffer element is defined.