Package com.google.protobuf
package com.google.protobuf
-
ClassDescriptionA 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 theMessage.Builder
interface which implements as many methods of that interface as possible in terms of other methods.A partial implementation of theMessageLite
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 theMessage.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 theParser
interface which implements as many methods of that interface as possible in terms of other methods.Abstract interface for a blocking RPC channel.Blocking equivalent toService
.Immutable sequence of bytes.This interface extendsIterator<Byte>
, so that we can return an unboxedbyte
.Outputs to aByteString
instance.Reads 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.Protobuf typegoogle.protobuf.DescriptorProto
Protobuf typegoogle.protobuf.DescriptorProto
Protobuf typegoogle.protobuf.DescriptorProto.ExtensionRange
Protobuf typegoogle.protobuf.DescriptorProto.ExtensionRange
Protobuf typegoogle.protobuf.EnumDescriptorProto
Protobuf typegoogle.protobuf.EnumDescriptorProto
Protobuf typegoogle.protobuf.EnumOptions
Protobuf typegoogle.protobuf.EnumOptions
Protobuf typegoogle.protobuf.EnumValueDescriptorProto
Protobuf typegoogle.protobuf.EnumValueDescriptorProto
Protobuf typegoogle.protobuf.EnumValueOptions
Protobuf typegoogle.protobuf.EnumValueOptions
Protobuf typegoogle.protobuf.FieldDescriptorProto
Protobuf typegoogle.protobuf.FieldDescriptorProto
Protobuf enumgoogle.protobuf.FieldDescriptorProto.Label
Protobuf enumgoogle.protobuf.FieldDescriptorProto.Type
Protobuf typegoogle.protobuf.FieldOptions
Protobuf typegoogle.protobuf.FieldOptions
Protobuf enumgoogle.protobuf.FieldOptions.CType
Protobuf typegoogle.protobuf.FileDescriptorProto
Protobuf typegoogle.protobuf.FileDescriptorProto
Protobuf typegoogle.protobuf.FileDescriptorSet
Protobuf typegoogle.protobuf.FileDescriptorSet
Protobuf typegoogle.protobuf.FileOptions
Protobuf typegoogle.protobuf.FileOptions
Protobuf enumgoogle.protobuf.FileOptions.OptimizeMode
Protobuf typegoogle.protobuf.MessageOptions
Protobuf typegoogle.protobuf.MessageOptions
Protobuf typegoogle.protobuf.MethodDescriptorProto
Protobuf typegoogle.protobuf.MethodDescriptorProto
Protobuf typegoogle.protobuf.MethodOptions
Protobuf typegoogle.protobuf.MethodOptions
Protobuf typegoogle.protobuf.OneofDescriptorProto
Protobuf typegoogle.protobuf.OneofDescriptorProto
Protobuf typegoogle.protobuf.ServiceDescriptorProto
Protobuf typegoogle.protobuf.ServiceDescriptorProto
Protobuf typegoogle.protobuf.ServiceOptions
Protobuf typegoogle.protobuf.ServiceOptions
Protobuf typegoogle.protobuf.SourceCodeInfo
Protobuf typegoogle.protobuf.SourceCodeInfo
Protobuf typegoogle.protobuf.SourceCodeInfo.Location
Protobuf typegoogle.protobuf.SourceCodeInfo.Location
Protobuf typegoogle.protobuf.UninterpretedOption
Protobuf typegoogle.protobuf.UninterpretedOption
Protobuf typegoogle.protobuf.UninterpretedOption.NamePart
Protobuf typegoogle.protobuf.UninterpretedOption.NamePart
Contains 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.proto
file, including everything defined within.This class should be used by generated code only.All descriptors implement this to make it easier to implement tools likeDescriptorPool
.Describes one method within a service type.Describes an oneof of a message type.Describes a service type.An implementation ofMessage
that can represent arbitrary types, given aDescriptors.Descriptor
.Builder forDynamicMessage
s.Interface that generated extensions implement.The API type that the extension is used for.Type of a message extension.A table of known extensions, searchable by name or field number.A (Descriptor, Message) pair, returned by lookup methods.Equivalent toExtensionRegistry
but supports only "lite" types.All generated protocol message classes extend this class.GeneratedMessage.Builder<BuilderType extends GeneratedMessage.Builder>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.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.ExtendableMessageOrBuilder<MessageType extends GeneratedMessage.ExtendableMessage>Users should ignore this class.Type used to represent generated extensions.Lite version ofGeneratedMessage
.GeneratedMessageLite.Builder<MessageType extends GeneratedMessageLite,BuilderType extends GeneratedMessageLite.Builder> GeneratedMessageLite.ExtendableBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>> Lite equivalent ofGeneratedMessage.ExtendableBuilder
.GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>>Lite equivalent ofGeneratedMessage.ExtendableMessage
.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage>Lite equivalent ofGeneratedMessage.ExtendableMessageOrBuilder
.Lite equivalent toGeneratedMessage.GeneratedExtension
.The classes contained within are used internally by the Protocol Buffer library and generated message implementations.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.EnumLite
s.Thrown when a protocol message being parsed is invalid in some way, e.g.LazyField encapsulates the logic of lazily parsing message fields.LazyFieldLite encapsulates the logic of lazily parsing message fields.An implementation ofLazyStringList
that wraps an ArrayList.An interface extendingList<String>
that also provides access to the items of the list as UTF8-encoded ByteString or byte[] objects.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 toMessageLite
andMessageLite.Builder
to provide type equivalency.Base interface for methods common toMessage
andMessage.Builder
to provide type equivalency.Parser<MessageType>Abstract interface for parsing Protocol Messages.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.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.RpcCallback<ParameterType>Interface for an RPC callback, normally called when an RPC completes.Abstract interface for an RPC channel.AnRpcController
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.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> SingleFieldBuilder
implements a structure that a protocol message uses to hold a single field of another protocol message.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 ofTextFormat.Parser
.Determines if repeated values for non-repeated fields and oneofs are permitted.Thrown when attempting to build a protocol message that is missing required fields.UnknownFieldSet
is used to keep track of fields which were seen when parsing a protocol message but whose field numbers or types are unrecognized.Builder forUnknownFieldSet
s.Represents a single field in anUnknownFieldSet
.Used to build aUnknownFieldSet.Field
within anUnknownFieldSet
.Parser to implement MessageLite interface.An implementation ofLazyStringList
that wraps anotherLazyStringList
such that it cannot be modified via the wrapper.This class is used internally by the Protocol Buffer library and generated message implementations.Lite equivalent toDescriptors.FieldDescriptor.Type
.Lite equivalent toDescriptors.FieldDescriptor.JavaType
.