Package com.google.protobuf

Interface Summary
BlockingRpcChannel Abstract interface for a blocking RPC channel.
BlockingService Blocking equivalent to Service.
ByteString.ByteIterator This interface extends Iterator<Byte>, so that we can return an unboxed byte.
DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder  
DescriptorProtos.DescriptorProtoOrBuilder  
DescriptorProtos.EnumDescriptorProtoOrBuilder  
DescriptorProtos.EnumOptionsOrBuilder  
DescriptorProtos.EnumValueDescriptorProtoOrBuilder  
DescriptorProtos.EnumValueOptionsOrBuilder  
DescriptorProtos.FieldDescriptorProtoOrBuilder  
DescriptorProtos.FieldOptionsOrBuilder  
DescriptorProtos.FileDescriptorProtoOrBuilder  
DescriptorProtos.FileDescriptorSetOrBuilder  
DescriptorProtos.FileOptionsOrBuilder  
DescriptorProtos.MessageOptionsOrBuilder  
DescriptorProtos.MethodDescriptorProtoOrBuilder  
DescriptorProtos.MethodOptionsOrBuilder  
DescriptorProtos.OneofDescriptorProtoOrBuilder  
DescriptorProtos.ServiceDescriptorProtoOrBuilder  
DescriptorProtos.ServiceOptionsOrBuilder  
DescriptorProtos.SourceCodeInfo.LocationOrBuilder  
DescriptorProtos.SourceCodeInfoOrBuilder  
DescriptorProtos.UninterpretedOption.NamePartOrBuilder  
DescriptorProtos.UninterpretedOptionOrBuilder  
Descriptors.FileDescriptor.InternalDescriptorAssigner This class should be used by generated code only.
GeneratedMessage.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.
GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends GeneratedMessage.ExtendableMessage>  
GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage> Lite equivalent of GeneratedMessage.ExtendableMessageOrBuilder.
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.EnumLites.
LazyStringList An interface extending List<String> that also provides access to the items of the list as UTF8-encoded ByteString or byte[] objects.
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.
Parser<MessageType> Abstract interface for parsing Protocol Messages.
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.
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.
Service Abstract base interface for protocol-buffer-based RPC services.
 

Class Summary
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> A partial implementation of the Message.Builder interface which implements as many methods of that interface as possible in terms of other methods.
AbstractMessageLite A partial implementation of the MessageLite interface which implements as many methods of that interface as possible in terms of other methods.
AbstractMessageLite.Builder<BuilderType extends AbstractMessageLite.Builder> A partial implementation of the Message.Builder interface which implements as many methods of that interface as possible in terms of other methods.
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.
ByteString Immutable sequence of bytes.
ByteString.Output Outputs to a ByteString instance.
CodedInputStream Reads and decodes protocol message fields.
CodedOutputStream Encodes and writes protocol message fields.
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.EnumDescriptorProto Protobuf type google.protobuf.EnumDescriptorProto
DescriptorProtos.EnumDescriptorProto.Builder Protobuf type google.protobuf.EnumDescriptorProto
DescriptorProtos.EnumOptions Protobuf type google.protobuf.EnumOptions
DescriptorProtos.EnumOptions.Builder Protobuf type google.protobuf.EnumOptions
DescriptorProtos.EnumValueDescriptorProto Protobuf type google.protobuf.EnumValueDescriptorProto
DescriptorProtos.EnumValueDescriptorProto.Builder Protobuf type google.protobuf.EnumValueDescriptorProto
DescriptorProtos.EnumValueOptions Protobuf type google.protobuf.EnumValueOptions
DescriptorProtos.EnumValueOptions.Builder Protobuf type google.protobuf.EnumValueOptions
DescriptorProtos.FieldDescriptorProto Protobuf type google.protobuf.FieldDescriptorProto
DescriptorProtos.FieldDescriptorProto.Builder Protobuf type google.protobuf.FieldDescriptorProto
DescriptorProtos.FieldOptions Protobuf type google.protobuf.FieldOptions
DescriptorProtos.FieldOptions.Builder Protobuf type google.protobuf.FieldOptions
DescriptorProtos.FileDescriptorProto Protobuf type google.protobuf.FileDescriptorProto
DescriptorProtos.FileDescriptorProto.Builder Protobuf type google.protobuf.FileDescriptorProto
DescriptorProtos.FileDescriptorSet Protobuf type google.protobuf.FileDescriptorSet
DescriptorProtos.FileDescriptorSet.Builder Protobuf type google.protobuf.FileDescriptorSet
DescriptorProtos.FileOptions Protobuf type google.protobuf.FileOptions
DescriptorProtos.FileOptions.Builder Protobuf type google.protobuf.FileOptions
DescriptorProtos.MessageOptions Protobuf type google.protobuf.MessageOptions
DescriptorProtos.MessageOptions.Builder Protobuf type google.protobuf.MessageOptions
DescriptorProtos.MethodDescriptorProto Protobuf type google.protobuf.MethodDescriptorProto
DescriptorProtos.MethodDescriptorProto.Builder Protobuf type google.protobuf.MethodDescriptorProto
DescriptorProtos.MethodOptions Protobuf type google.protobuf.MethodOptions
DescriptorProtos.MethodOptions.Builder Protobuf type google.protobuf.MethodOptions
DescriptorProtos.OneofDescriptorProto Protobuf type google.protobuf.OneofDescriptorProto
DescriptorProtos.OneofDescriptorProto.Builder Protobuf type google.protobuf.OneofDescriptorProto
DescriptorProtos.ServiceDescriptorProto Protobuf type google.protobuf.ServiceDescriptorProto
DescriptorProtos.ServiceDescriptorProto.Builder Protobuf type google.protobuf.ServiceDescriptorProto
DescriptorProtos.ServiceOptions Protobuf type google.protobuf.ServiceOptions
DescriptorProtos.ServiceOptions.Builder Protobuf type google.protobuf.ServiceOptions
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.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
Descriptors Contains a collection of classes which describe protocol message types.
Descriptors.Descriptor Describes a message type.
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.FileDescriptor Describes a .proto file, including everything defined within.
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 an oneof of a message type.
Descriptors.ServiceDescriptor Describes a service type.
DynamicMessage An implementation of Message that can represent arbitrary types, given a Descriptors.Descriptor.
DynamicMessage.Builder Builder for DynamicMessages.
Extension<ContainingType extends MessageLite,Type> 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.
GeneratedMessage All generated protocol message classes extend this class.
GeneratedMessage.Builder<BuilderType extends GeneratedMessage.Builder>  
GeneratedMessage.ExtendableBuilder<MessageType extends GeneratedMessage.ExtendableMessage,BuilderType extends GeneratedMessage.ExtendableBuilder> 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.FieldAccessorTable Users should ignore this class.
GeneratedMessage.GeneratedExtension<ContainingType extends Message,Type> Type used to represent generated extensions.
GeneratedMessageLite Lite version of GeneratedMessage.
GeneratedMessageLite.Builder<MessageType extends GeneratedMessageLite,BuilderType extends GeneratedMessageLite.Builder>  
GeneratedMessageLite.ExtendableBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>> Lite equivalent of GeneratedMessage.ExtendableBuilder.
GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>> Lite equivalent of GeneratedMessage.ExtendableMessage.
GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type> Lite equivalent to GeneratedMessage.GeneratedExtension.
Internal The classes contained within are used internally by the Protocol Buffer library and generated message implementations.
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.
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.
RpcUtil Grab-bag of utility functions useful when dealing with RPCs.
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.
TextFormat Provide text parsing and formatting support for proto2 instances.
TextFormat.Parser Parser for text-format proto2 instances.
TextFormat.Parser.Builder Builder that can be used to obtain new instances of Parser.
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.
UnknownFieldSet.Builder Builder for UnknownFieldSets.
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.
UnmodifiableLazyStringList An implementation of LazyStringList that wraps another LazyStringList such that it cannot be modified via the wrapper.
WireFormat This class is used internally by the Protocol Buffer library and generated message implementations.
 

Enum Summary
DescriptorProtos.FieldDescriptorProto.Label Protobuf enum google.protobuf.FieldDescriptorProto.Label
DescriptorProtos.FieldDescriptorProto.Type Protobuf enum google.protobuf.FieldDescriptorProto.Type
DescriptorProtos.FieldOptions.CType Protobuf enum google.protobuf.FieldOptions.CType
DescriptorProtos.FileOptions.OptimizeMode Protobuf enum google.protobuf.FileOptions.OptimizeMode
Descriptors.FieldDescriptor.JavaType  
Descriptors.FieldDescriptor.Type  
Extension.ExtensionType The API type that the extension is used for.
Extension.MessageType Type of a message extension.
TextFormat.Parser.SingularOverwritePolicy Determines if repeated values for non-repeated fields and oneofs are permitted.
WireFormat.FieldType Lite equivalent to Descriptors.FieldDescriptor.Type.
WireFormat.JavaType Lite equivalent to Descriptors.FieldDescriptor.JavaType.
 

Exception Summary
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.
Descriptors.DescriptorValidationException Thrown when building descriptors fails because the source DescriptorProtos are not valid.
InvalidProtocolBufferException Thrown when a protocol message being parsed is invalid in some way, e.g.
RpcUtil.AlreadyCalledException Exception thrown when a one-time callback is called more than once.
ServiceException Thrown by blocking RPC methods when a failure occurs.
TextFormat.ParseException Thrown when parsing an invalid text format message.
UninitializedMessageException Thrown when attempting to build a protocol message that is missing required fields.