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<BuilderType>>A partial implementation of theMessage.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.AbstractMessageLite<MessageType extends AbstractMessageLite<MessageType,BuilderType>, BuilderType extends AbstractMessageLite.Builder<MessageType, BuilderType>> A partial implementation of theMessageLite
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 theMessage.Builder
interface which implements as many methods of that interface as possible in terms of other methods.Interface for an enum which signifies which field in aoneof
was specified.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.Protobuf typegoogle.protobuf.Any
Protobuf typegoogle.protobuf.Any
Protobuf typegoogle.protobuf.Api
Protobuf typegoogle.protobuf.Api
Abstract interface for a blocking RPC channel.Blocking equivalent toService
.Protobuf typegoogle.protobuf.BoolValue
Protobuf typegoogle.protobuf.BoolValue
An output target for raw bytes.Immutable sequence of bytes.This interface extendsIterator<Byte>
, so that we can return an unboxedbyte
.Outputs to aByteString
instance.Protobuf typegoogle.protobuf.BytesValue
Protobuf typegoogle.protobuf.BytesValue
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.Provides an explicit API for unstable, redacting debug output suitable for debug logging.Protobuf typegoogle.protobuf.DescriptorProto
Protobuf typegoogle.protobuf.DescriptorProto
Protobuf typegoogle.protobuf.DescriptorProto.ExtensionRange
Protobuf typegoogle.protobuf.DescriptorProto.ExtensionRange
Protobuf typegoogle.protobuf.DescriptorProto.ReservedRange
Protobuf typegoogle.protobuf.DescriptorProto.ReservedRange
Protobuf enumgoogle.protobuf.Edition
Protobuf typegoogle.protobuf.EnumDescriptorProto
Protobuf typegoogle.protobuf.EnumDescriptorProto
Protobuf typegoogle.protobuf.EnumDescriptorProto.EnumReservedRange
Protobuf typegoogle.protobuf.EnumDescriptorProto.EnumReservedRange
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.ExtensionRangeOptions
Protobuf typegoogle.protobuf.ExtensionRangeOptions
Protobuf typegoogle.protobuf.ExtensionRangeOptions.Declaration
Protobuf typegoogle.protobuf.ExtensionRangeOptions.Declaration
Protobuf enumgoogle.protobuf.ExtensionRangeOptions.VerificationState
Protobuf typegoogle.protobuf.FeatureSet
Protobuf typegoogle.protobuf.FeatureSet
Protobuf enumgoogle.protobuf.FeatureSet.EnforceNamingStyle
Protobuf enumgoogle.protobuf.FeatureSet.EnumType
Protobuf enumgoogle.protobuf.FeatureSet.FieldPresence
Protobuf enumgoogle.protobuf.FeatureSet.JsonFormat
Protobuf enumgoogle.protobuf.FeatureSet.MessageEncoding
Protobuf enumgoogle.protobuf.FeatureSet.RepeatedFieldEncoding
Protobuf enumgoogle.protobuf.FeatureSet.Utf8Validation
Protobuf typegoogle.protobuf.FeatureSet.VisibilityFeature
Protobuf typegoogle.protobuf.FeatureSet.VisibilityFeature
Protobuf enumgoogle.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility
Protobuf typegoogle.protobuf.FeatureSetDefaults
Protobuf typegoogle.protobuf.FeatureSetDefaults
Protobuf typegoogle.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
Protobuf typegoogle.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
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.FieldOptions.EditionDefault
Protobuf typegoogle.protobuf.FieldOptions.EditionDefault
Protobuf typegoogle.protobuf.FieldOptions.FeatureSupport
Protobuf typegoogle.protobuf.FieldOptions.FeatureSupport
Protobuf enumgoogle.protobuf.FieldOptions.JSType
Protobuf enumgoogle.protobuf.FieldOptions.OptionRetention
Protobuf enumgoogle.protobuf.FieldOptions.OptionTargetType
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.GeneratedCodeInfo
Protobuf typegoogle.protobuf.GeneratedCodeInfo.Annotation
Protobuf typegoogle.protobuf.GeneratedCodeInfo.Annotation
Protobuf enumgoogle.protobuf.GeneratedCodeInfo.Annotation.Semantic
Protobuf typegoogle.protobuf.GeneratedCodeInfo
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 enumgoogle.protobuf.MethodOptions.IdempotencyLevel
Protobuf typegoogle.protobuf.OneofDescriptorProto
Protobuf typegoogle.protobuf.OneofDescriptorProto
Protobuf typegoogle.protobuf.OneofOptions
Protobuf typegoogle.protobuf.OneofOptions
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 enumgoogle.protobuf.SymbolVisibility
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.Deprecated.All descriptors implement this to make it easier to implement tools likeDescriptorPool
.Describes one method within a service type.Describes a oneof of a message type.Describes a service type.Parsers to discard unknown fields during parsing.Protobuf typegoogle.protobuf.DoubleValue
Protobuf typegoogle.protobuf.DoubleValue
Protobuf typegoogle.protobuf.Duration
Protobuf typegoogle.protobuf.Duration
An implementation ofMessage
that can represent arbitrary types, given aDescriptors.Descriptor
.Builder forDynamicMessage
s.Protobuf typegoogle.protobuf.Empty
Protobuf typegoogle.protobuf.Empty
Protobuf typegoogle.protobuf.Enum
Protobuf typegoogle.protobuf.Enum
Protobuf typegoogle.protobuf.EnumValue
Protobuf typegoogle.protobuf.EnumValue
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 (Descriptor, Message) pair, returned by lookup methods.Equivalent toExtensionRegistry
but supports only "lite" types.Protobuf typegoogle.protobuf.Field
Protobuf typegoogle.protobuf.Field
Protobuf enumgoogle.protobuf.Field.Cardinality
Protobuf enumgoogle.protobuf.Field.Kind
Protobuf typegoogle.protobuf.FieldMask
Protobuf typegoogle.protobuf.FieldMask
Enumeration identifying all relevant type information for a protobuf field.Protobuf typegoogle.protobuf.FloatValue
Protobuf typegoogle.protobuf.FloatValue
Marks protobuf implementations generated by theprotoc
compiler.All generated protocol message classes extend this class.GeneratedMessage.Builder<BuilderT extends GeneratedMessage.Builder<BuilderT>>Builder class forGeneratedMessage
.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.Used by subclasses to serialize extensions.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>>ExtendsMessageOrBuilder
with extension-related functions.Users should ignore this class.Type used to represent generated extensions.This class is used to make a generated protected method inaccessible from user's code (e.g., theGeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
method below).GeneratedMessageLite<MessageType extends GeneratedMessageLite<MessageType,BuilderType>, BuilderType extends GeneratedMessageLite.Builder<MessageType, BuilderType>> Lite version ofGeneratedMessage
.GeneratedMessageLite.Builder<MessageType extends GeneratedMessageLite<MessageType,BuilderType>, BuilderType extends GeneratedMessageLite.Builder<MessageType, BuilderType>> AParser
implementation that delegates to the default instance.GeneratedMessageLite.ExtendableBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>, BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>> Lite equivalent ofGeneratedMessage.ExtendableBuilder
.GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>, BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>> Lite equivalent ofGeneratedMessage.ExtendableMessage
.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>, BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>> Lite equivalent ofGeneratedMessage.ExtendableMessageOrBuilder
.Lite equivalent toGeneratedMessage.GeneratedExtension
.Defines which method path to invoke in#dynamicMethod(MethodToInvoke, Object...)
.A serialized (serializable) form of the generated message.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).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).Deprecated.This class is deprecated, and slated for removal in the next Java breaking change (5.x).Deprecated.This method is deprecated, and slated for removal in the next Java breaking change (5.x).Protobuf typegoogle.protobuf.Int32Value
Protobuf typegoogle.protobuf.Int32Value
Protobuf typegoogle.protobuf.Int64Value
Protobuf typegoogle.protobuf.Int64Value
The classes contained within are used internally by the Protocol Buffer library and generated message implementations.AList
implementation that avoids boxing the elements into Booleans if possible.AList
implementation that avoids boxing the elements into Doubles if possible.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.Interface for an object which verifies integers are in range.AList
implementation that avoids boxing the elements into Floats if possible.AList
implementation that avoids boxing the elements into Integers if possible.Provides an immutable view ofList<T>
around anIntList
.Convert individual elements of the List from int to T.Internal.ListAdapter<F,T> Provides an immutable view ofList<T>
around aList<F>
.Convert individual elements of the List from F to T.AList
implementation that avoids boxing the elements into Longs if possible.Internal.MapAdapter<K,V, RealValue> Wrap around aMap<K, RealValue>
and provide aMap<K, V>
interface.An interface used to convert between two types.ExtendsList
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.Exception indicating that an unexpected wire type was encountered for a field.Protobuf typepb.JavaFeatures
Protobuf typepb.JavaFeatures
Protobuf typepb.JavaFeatures.NestInFileClassFeature
Protobuf typepb.JavaFeatures.NestInFileClassFeature
Protobuf enumpb.JavaFeatures.NestInFileClassFeature.NestInFileClass
Protobuf enumpb.JavaFeatures.Utf8Validation
Enum that identifies the Java types required to store protobuf fields.LazyField encapsulates the logic of lazily parsing message fields.LazyFieldLite encapsulates the logic of lazily parsing message fields.An implementation ofLazyStringList
that wraps anArrayList
.An interface extendingList<String>
that also provides access to the items of the list as UTF8-encoded ByteString or byte[] objects.The legacy APIs preserve the existing toString() behavior (output TextFormat), which allows us to migrate toString callers that expect TextFormat output off toString.Protobuf typegoogle.protobuf.ListValue
Protobuf typegoogle.protobuf.ListValue
MapEntry<K,V> Implements MapEntry messages.MapEntry.Builder<K,V> Builder to createMapEntry
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.A base class for package private shared methods between MapField and MapFieldBuilder to allow reflection to access both.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.Protobuf typegoogle.protobuf.Method
Protobuf typegoogle.protobuf.Method
Protobuf typegoogle.protobuf.Mixin
Protobuf typegoogle.protobuf.Mixin
Protobuf enumgoogle.protobuf.NullValue
Protobuf typegoogle.protobuf.Option
Protobuf typegoogle.protobuf.Option
Parser<MessageType>Abstract interface for parsing Protocol Messages.ProtobufToStringOutput controls the output format ofMessage.toString()
.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.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.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.Provides the version of this Protobuf Java runtime, and methods for Protobuf Java gencode to validate that versions are compatible.A runtime exception to be thrown by the version validator if version is not well defined or versions mismatch.Indicates the domain of the Protobuf artifact.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.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.Protobuf typegoogle.protobuf.SourceContext
Protobuf typegoogle.protobuf.SourceContext
Protobuf typegoogle.protobuf.StringValue
Protobuf typegoogle.protobuf.StringValue
Protobuf typegoogle.protobuf.Struct
Protobuf typegoogle.protobuf.Struct
Protobuf enumgoogle.protobuf.Syntax
Provide text parsing and formatting support for proto2 instances.Thrown byTextFormat.unescapeBytes(java.lang.CharSequence)
andTextFormat.unescapeText(java.lang.String)
when an invalid escape sequence is seen.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.Helper class for converting protobufs to text.Deprecated.This exception is unused and will be removed in the next breaking release (v5.x.x).Data structure which is populated with the locations of each field value parsed from the text.Builder for aTextFormatParseInfoTree
.A location in the source code.Protobuf typegoogle.protobuf.Timestamp
Protobuf typegoogle.protobuf.Timestamp
Protobuf typegoogle.protobuf.Type
Protobuf typegoogle.protobuf.Type
A TypeRegistry is used to resolve Any messages.A Builder is used to buildTypeRegistry
.Protobuf typegoogle.protobuf.UInt32Value
Protobuf typegoogle.protobuf.UInt32Value
Protobuf typegoogle.protobuf.UInt64Value
Protobuf typegoogle.protobuf.UInt64Value
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 forUnknownFieldSet
s.Represents a single field in anUnknownFieldSet
.Used to build aUnknownFieldSet.Field
within anUnknownFieldSet
.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.Deprecated.useInternal.ProtobufList.makeImmutable()
instead.These APIs are restricted to test-only targets, and are suitable for test purposes where it is impractical to compare protos directly via ProtoTruth (e.g.Provides a number of unsafe byte operations to be used by advanced applications with high performance requirements.Protobuf typegoogle.protobuf.Value
Protobuf typegoogle.protobuf.Value
This class is used internally by the Protocol Buffer library and generated message implementations.Lite equivalent toDescriptors.FieldDescriptor.Type
.Lite equivalent toDescriptors.FieldDescriptor.JavaType
.