Uses of Interface
com.google.protobuf.MessageLite
Packages that use MessageLite
-
Uses of MessageLite in com.google.protobuf
Classes in com.google.protobuf with type parameters of type MessageLiteModifier and TypeClassDescriptionclass
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.class
Extension<ContainingType extends MessageLite,
Type> Interface that generated extensions implement.class
ExtensionLite<ContainingType extends MessageLite,
Type> Lite interface that generated extensions implement.static class
GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,
Type> Lite equivalent toGeneratedMessage.GeneratedExtension
.Subinterfaces of MessageLite in com.google.protobufModifier and TypeInterfaceDescriptioninterface
Abstract interface implemented by Protocol Message objects.Classes in com.google.protobuf that implement MessageLiteModifier and TypeClassDescriptionclass
A partial implementation of theMessage
interface which implements as many methods of that interface as possible in terms of other methods.class
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.final class
`Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.final class
Api is a light-weight descriptor for an API Interface.final class
Wrapper message for `bool`.final class
Wrapper message for `bytes`.static final class
Describes a message type.static final class
Protobuf typegoogle.protobuf.DescriptorProto.ExtensionRange
static final class
Range of reserved tag numbers.static final class
Describes an enum type.static final class
Range of reserved numeric values.static final class
Protobuf typegoogle.protobuf.EnumOptions
static final class
Describes a value within an enum.static final class
Protobuf typegoogle.protobuf.EnumValueOptions
static final class
Protobuf typegoogle.protobuf.ExtensionRangeOptions
static final class
Describes a field within a message.static final class
Protobuf typegoogle.protobuf.FieldOptions
static final class
Describes a complete .proto file.static final class
The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.static final class
Protobuf typegoogle.protobuf.FileOptions
static final class
Describes the relationship between generated code and its original source file.static final class
Protobuf typegoogle.protobuf.GeneratedCodeInfo.Annotation
static final class
Protobuf typegoogle.protobuf.MessageOptions
static final class
Describes a method of a service.static final class
Protobuf typegoogle.protobuf.MethodOptions
static final class
Describes a oneof.static final class
Protobuf typegoogle.protobuf.OneofOptions
static final class
Describes a service.static final class
Protobuf typegoogle.protobuf.ServiceOptions
static final class
Encapsulates information about the original source file from which a FileDescriptorProto was generated.static final class
Protobuf typegoogle.protobuf.SourceCodeInfo.Location
static final class
A message representing a option the parser does not recognize.static final class
The name of the uninterpreted option.final class
Wrapper message for `double`.final class
A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution.final class
An implementation ofMessage
that can represent arbitrary types, given aDescriptors.Descriptor
.final class
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.final class
Enum type definition.final class
Enum value definition.final class
A single field of a message type.final class
`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`.final class
Wrapper message for `float`.class
All generated protocol message classes extend this class.static class
GeneratedMessage.ExtendableMessage<MessageType extends GeneratedMessage.ExtendableMessage>
Generated message classes for message types that contain extension ranges subclass this.class
GeneratedMessageLite<MessageType extends GeneratedMessageLite<MessageType,
BuilderType>, BuilderType extends GeneratedMessageLite.Builder<MessageType, BuilderType>> Lite version ofGeneratedMessage
.static class
GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,
BuilderType>, BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>> Lite equivalent ofGeneratedMessage.ExtendableMessage
.class
All generated protocol message classes extend this class.static class
GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>
Generated message classes for message types that contain extension ranges subclass this.final class
Wrapper message for `int32`.final class
Wrapper message for `int64`.final class
`ListValue` is a wrapper around a repeated field of values.final class
MapEntry<K,
V> Implements MapEntry messages.final class
Method represents a method of an API interface.final class
Declares an API Interface to be included in this interface.final class
A protocol buffer option, which can be attached to a message, field, enumeration, etc.final class
`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.final class
Wrapper message for `string`.final class
`Struct` represents a structured data value, consisting of fields which map to dynamically typed values.final class
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.final class
A protocol buffer message type.final class
Wrapper message for `uint32`.final class
Wrapper message for `uint64`.final class
UnknownFieldSet
keeps track of fields which were seen when parsing a protocol message but whose field numbers or types are unrecognized.final class
`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.Fields in com.google.protobuf declared as MessageLiteModifier and TypeFieldDescription(package private) final ContainingType
GeneratedMessageLite.GeneratedExtension.containingTypeDefaultInstance
private final MessageLite
LazyField.defaultInstance
Carry a message's default instance which is used byhashCode()
,equals()
, andtoString()
.private final MessageLite
MessageSchema.defaultInstance
private final MessageLite
MessageSetSchema.defaultInstance
private final MessageLite
RawMessageInfo.defaultInstance
private final MessageLite
StructuralMessageInfo.defaultInstance
(package private) final MessageLite
GeneratedMessageLite.GeneratedExtension.messageDefaultInstance
private MessageLite
InvalidProtocolBufferException.unfinishedMessage
protected MessageLite
LazyFieldLite.value
The parsed value.Methods in com.google.protobuf with type parameters of type MessageLiteModifier and TypeMethodDescription<ContainingType extends MessageLite>
GeneratedMessageLite.GeneratedExtension<ContainingType, ?> ExtensionRegistryLite.findLiteExtensionByNumber
(ContainingType containingTypeDefaultInstance, int fieldNumber) Find an extension by containing type and field number.static <T extends MessageLite>
TInternal.getDefaultInstance
(Class<T> clazz) private <MessageType extends MessageLite>
voidGeneratedMessageLite.ExtendableMessage.mergeMessageSetExtensionFromCodedStream
(MessageType defaultInstance, CodedInputStream input, ExtensionRegistryLite extensionRegistry) Merges the message set from the input stream; requires message set wire format.static <ContainingType extends MessageLite,
Type>
GeneratedMessageLite.GeneratedExtension<ContainingType, Type> GeneratedMessageLite.newRepeatedGeneratedExtension
(ContainingType containingTypeDefaultInstance, MessageLite messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, boolean isPacked, Class singularType) For use by generated code only.static <ContainingType extends MessageLite,
Type>
GeneratedMessageLite.GeneratedExtension<ContainingType, Type> GeneratedMessageLite.newSingularGeneratedExtension
(ContainingType containingTypeDefaultInstance, Type defaultValue, MessageLite messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, Class singularType) For use by generated code only.protected <MessageType extends MessageLite>
booleanGeneratedMessageLite.ExtendableMessage.parseUnknownField
(MessageType defaultInstance, CodedInputStream input, ExtensionRegistryLite extensionRegistry, int tag) Parse an unknown field or an extension.protected <MessageType extends MessageLite>
booleanGeneratedMessageLite.ExtendableMessage.parseUnknownFieldAsMessageSet
(MessageType defaultInstance, CodedInputStream input, ExtensionRegistryLite extensionRegistry, int tag) Parse an unknown field or an extension.<T extends MessageLite>
TCodedInputStream.ArrayDecoder.readGroup
(int fieldNumber, Parser<T> parser, ExtensionRegistryLite extensionRegistry) <T extends MessageLite>
TCodedInputStream.IterableDirectByteBufferDecoder.readGroup
(int fieldNumber, Parser<T> parser, ExtensionRegistryLite extensionRegistry) abstract <T extends MessageLite>
TCodedInputStream.readGroup
(int fieldNumber, Parser<T> parser, ExtensionRegistryLite extensionRegistry) Read agroup
field value from the stream.<T extends MessageLite>
TCodedInputStream.StreamDecoder.readGroup
(int fieldNumber, Parser<T> parser, ExtensionRegistryLite extensionRegistry) <T extends MessageLite>
TCodedInputStream.UnsafeDirectNioDecoder.readGroup
(int fieldNumber, Parser<T> parser, ExtensionRegistryLite extensionRegistry) <T extends MessageLite>
TCodedInputStream.ArrayDecoder.readMessage
(Parser<T> parser, ExtensionRegistryLite extensionRegistry) <T extends MessageLite>
TCodedInputStream.IterableDirectByteBufferDecoder.readMessage
(Parser<T> parser, ExtensionRegistryLite extensionRegistry) abstract <T extends MessageLite>
TCodedInputStream.readMessage
(Parser<T> parser, ExtensionRegistryLite extensionRegistry) Read an embedded message field value from the stream.<T extends MessageLite>
TCodedInputStream.StreamDecoder.readMessage
(Parser<T> parser, ExtensionRegistryLite extensionRegistry) <T extends MessageLite>
TCodedInputStream.UnsafeDirectNioDecoder.readMessage
(Parser<T> parser, ExtensionRegistryLite extensionRegistry) Methods in com.google.protobuf that return MessageLiteModifier and TypeMethodDescriptionMessageLite.Builder.build()
Constructs the message based on the state of the Builder.MessageLite.Builder.buildPartial()
LikeMessageLite.Builder.build()
, but does not throw an exception if the message is missing required fields.MessageInfo.getDefaultInstance()
Gets the default instance of this type.RawMessageInfo.getDefaultInstance()
StructuralMessageInfo.getDefaultInstance()
MessageLiteOrBuilder.getDefaultInstanceForType()
Get an instance of the type with no fields set.abstract MessageLite
ExtensionLite.getMessageDefaultInstance()
Returns the default instance of the extension field, if it's a message extension.GeneratedMessageLite.GeneratedExtension.getMessageDefaultInstance()
If the extension is an embedded message or group, returns the default instance of the message.InvalidProtocolBufferException.getUnfinishedMessage()
Returns the unfinished message attached to the exception, or null if no message is attached.LazyField.getValue()
LazyFieldLite.getValue
(MessageLite defaultInstance) Returns message instance.private static MessageLite
LazyFieldLite.mergeValueAndBytes
(MessageLite value, ByteString otherBytes, ExtensionRegistryLite extensionRegistry) LazyFieldLite.setValue
(MessageLite value) Sets the value of the instance and returns the old value without delay parsing anything.Methods in com.google.protobuf that return types with arguments of type MessageLiteModifier and TypeMethodDescriptionParser
<? extends MessageLite> MessageLite.getParserForType()
Gets the parser for a message of the same type as this message.Methods in com.google.protobuf with parameters of type MessageLiteModifier and TypeMethodDescriptionstatic int
CodedOutputStream.computeGroupSize
(int fieldNumber, MessageLite value) Deprecated.groups are deprecated.(package private) static int
CodedOutputStream.computeGroupSize
(int fieldNumber, MessageLite value, Schema schema) Deprecated.groups are deprecated.static int
CodedOutputStream.computeGroupSizeNoTag
(MessageLite value) Deprecated.(package private) static int
CodedOutputStream.computeGroupSizeNoTag
(MessageLite value, Schema schema) Deprecated.static int
CodedOutputStream.computeMessageSetExtensionSize
(int fieldNumber, MessageLite value) Compute the number of bytes that would be needed to encode a MessageSet extension to the stream.static int
CodedOutputStream.computeMessageSize
(int fieldNumber, MessageLite value) Compute the number of bytes that would be needed to encode an embedded message field, including tag.(package private) static int
CodedOutputStream.computeMessageSize
(int fieldNumber, MessageLite value, Schema schema) Compute the number of bytes that would be needed to encode an embedded message field, including tag.static int
CodedOutputStream.computeMessageSizeNoTag
(MessageLite value) Compute the number of bytes that would be needed to encode an embedded message field.(package private) static int
CodedOutputStream.computeMessageSizeNoTag
(MessageLite value, Schema schema) Compute the number of bytes that would be needed to encode an embedded message field.(package private) static int
ArrayDecoders.decodeExtensionOrUnknownField
(int tag, byte[] data, int position, int limit, Object message, MessageLite defaultInstance, UnknownFieldSchema<UnknownFieldSetLite, UnknownFieldSetLite> unknownFieldSchema, ArrayDecoders.Registers registers) protected void
LazyFieldLite.ensureInitialized
(MessageLite defaultInstance) Might lazily parse the bytes that were previously passed in.(package private) abstract Object
ExtensionSchema.findExtensionByNumber
(ExtensionRegistryLite extensionRegistry, MessageLite defaultInstance, int number) Finds an extension by field number.(package private) Object
ExtensionSchemaFull.findExtensionByNumber
(ExtensionRegistryLite extensionRegistry, MessageLite defaultInstance, int number) (package private) Object
ExtensionSchemaLite.findExtensionByNumber
(ExtensionRegistryLite extensionRegistry, MessageLite defaultInstance, int number) static LazyFieldLite
LazyFieldLite.fromValue
(MessageLite value) Constructs a LazyFieldLite instance with a value.LazyFieldLite.getValue
(MessageLite defaultInstance) Returns message instance.(package private) abstract boolean
ExtensionSchema.hasExtensions
(MessageLite prototype) Returns true for messages that support extensions.(package private) boolean
ExtensionSchemaFull.hasExtensions
(MessageLite prototype) (package private) boolean
ExtensionSchemaLite.hasExtensions
(MessageLite prototype) Descriptors.FieldDescriptor.internalMergeFrom
(MessageLite.Builder to, MessageLite from) For internal use only.FieldSet.FieldDescriptorLite.internalMergeFrom
(MessageLite.Builder to, MessageLite from) GeneratedMessageLite.ExtensionDescriptor.internalMergeFrom
(MessageLite.Builder to, MessageLite from) AbstractMessageLite.Builder.mergeFrom
(MessageLite other) MessageLite.Builder.mergeFrom
(MessageLite other) Mergeother
into the message being built.UnknownFieldSet.Builder.mergeFrom
(MessageLite m) private static MessageLite
LazyFieldLite.mergeValueAndBytes
(MessageLite value, ByteString otherBytes, ExtensionRegistryLite extensionRegistry) protected static Object
GeneratedMessageLite.newMessageInfo
(MessageLite defaultInstance, String info, Object[] objects) static <ContainingType extends MessageLite,
Type>
GeneratedMessageLite.GeneratedExtension<ContainingType, Type> GeneratedMessageLite.newRepeatedGeneratedExtension
(ContainingType containingTypeDefaultInstance, MessageLite messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, boolean isPacked, Class singularType) For use by generated code only.(package private) static <T> MessageSetSchema
<T> MessageSetSchema.newSchema
(UnknownFieldSchema<?, ?> unknownFieldSchema, ExtensionSchema<?> extensionSchema, MessageLite defaultInstance) static <ContainingType extends MessageLite,
Type>
GeneratedMessageLite.GeneratedExtension<ContainingType, Type> GeneratedMessageLite.newSingularGeneratedExtension
(ContainingType containingTypeDefaultInstance, Type defaultValue, MessageLite messageDefaultInstance, Internal.EnumLiteMap<?> enumTypeMap, int number, WireFormat.FieldType type, Class singularType) For use by generated code only.protected static UninitializedMessageException
AbstractMessageLite.Builder.newUninitializedMessageException
(MessageLite message) Construct an UninitializedMessageException reporting missing fields in the given message.GeneratedMessageLite.SerializedForm.of
(MessageLite message) private static void
MessageLiteToString.reflectivePrintWithIndent
(MessageLite messageLite, StringBuilder buffer, int indent) Reflectively prints theMessageLite
to the buffer at givenindent
level.InvalidProtocolBufferException.setUnfinishedMessage
(MessageLite unfinishedMessage) Attaches an unfinished message to the exception to support best-effort parsing inParser
interface.LazyFieldLite.setValue
(MessageLite value) Sets the value of the instance and returns the old value without delay parsing anything.(package private) static String
MessageLiteToString.toString
(MessageLite messageLite, String commentString) Returns aString
representation of theMessageLite
object.final void
CodedOutputStream.writeGroup
(int fieldNumber, MessageLite value) Deprecated.groups are deprecated.(package private) final void
CodedOutputStream.writeGroup
(int fieldNumber, MessageLite value, Schema schema) Deprecated.groups are deprecated.final void
CodedOutputStream.writeGroupNoTag
(MessageLite value) Deprecated.groups are deprecated.(package private) final void
CodedOutputStream.writeGroupNoTag
(MessageLite value, Schema schema) Deprecated.groups are deprecated.final void
CodedOutputStream.ArrayEncoder.writeMessage
(int fieldNumber, MessageLite value) (package private) final void
CodedOutputStream.ArrayEncoder.writeMessage
(int fieldNumber, MessageLite value, Schema schema) void
CodedOutputStream.ByteOutputEncoder.writeMessage
(int fieldNumber, MessageLite value) (package private) void
CodedOutputStream.ByteOutputEncoder.writeMessage
(int fieldNumber, MessageLite value, Schema schema) void
CodedOutputStream.OutputStreamEncoder.writeMessage
(int fieldNumber, MessageLite value) (package private) void
CodedOutputStream.OutputStreamEncoder.writeMessage
(int fieldNumber, MessageLite value, Schema schema) void
CodedOutputStream.SafeDirectNioEncoder.writeMessage
(int fieldNumber, MessageLite value) (package private) void
CodedOutputStream.SafeDirectNioEncoder.writeMessage
(int fieldNumber, MessageLite value, Schema schema) void
CodedOutputStream.UnsafeDirectNioEncoder.writeMessage
(int fieldNumber, MessageLite value) (package private) void
CodedOutputStream.UnsafeDirectNioEncoder.writeMessage
(int fieldNumber, MessageLite value, Schema schema) abstract void
CodedOutputStream.writeMessage
(int fieldNumber, MessageLite value) Write an embedded message field, including tag, to the stream.(package private) abstract void
CodedOutputStream.writeMessage
(int fieldNumber, MessageLite value, Schema schema) Write an embedded message field, including tag, to the stream.final void
CodedOutputStream.ArrayEncoder.writeMessageNoTag
(MessageLite value) (package private) final void
CodedOutputStream.ArrayEncoder.writeMessageNoTag
(MessageLite value, Schema schema) void
CodedOutputStream.ByteOutputEncoder.writeMessageNoTag
(MessageLite value) (package private) void
CodedOutputStream.ByteOutputEncoder.writeMessageNoTag
(MessageLite value, Schema schema) void
CodedOutputStream.OutputStreamEncoder.writeMessageNoTag
(MessageLite value) (package private) void
CodedOutputStream.OutputStreamEncoder.writeMessageNoTag
(MessageLite value, Schema schema) void
CodedOutputStream.SafeDirectNioEncoder.writeMessageNoTag
(MessageLite value) (package private) void
CodedOutputStream.SafeDirectNioEncoder.writeMessageNoTag
(MessageLite value, Schema schema) void
CodedOutputStream.UnsafeDirectNioEncoder.writeMessageNoTag
(MessageLite value) (package private) void
CodedOutputStream.UnsafeDirectNioEncoder.writeMessageNoTag
(MessageLite value, Schema schema) abstract void
CodedOutputStream.writeMessageNoTag
(MessageLite value) Write an embedded message field to the stream.(package private) abstract void
CodedOutputStream.writeMessageNoTag
(MessageLite value, Schema schema) Write an embedded message field to the stream.final void
CodedOutputStream.ArrayEncoder.writeMessageSetExtension
(int fieldNumber, MessageLite value) void
CodedOutputStream.ByteOutputEncoder.writeMessageSetExtension
(int fieldNumber, MessageLite value) void
CodedOutputStream.OutputStreamEncoder.writeMessageSetExtension
(int fieldNumber, MessageLite value) void
CodedOutputStream.SafeDirectNioEncoder.writeMessageSetExtension
(int fieldNumber, MessageLite value) void
CodedOutputStream.UnsafeDirectNioEncoder.writeMessageSetExtension
(int fieldNumber, MessageLite value) abstract void
CodedOutputStream.writeMessageSetExtension
(int fieldNumber, MessageLite value) Write a MessageSet extension field to the stream.Method parameters in com.google.protobuf with type arguments of type MessageLiteModifier and TypeMethodDescription(package private) static int
SchemaUtil.computeSizeGroupList
(int fieldNumber, List<MessageLite> list) (package private) static int
SchemaUtil.computeSizeGroupList
(int fieldNumber, List<MessageLite> list, Schema schema) Constructors in com.google.protobuf with parameters of type MessageLiteModifierConstructorDescription(package private)
GeneratedExtension
(ContainingType containingTypeDefaultInstance, Type defaultValue, MessageLite messageDefaultInstance, GeneratedMessageLite.ExtensionDescriptor descriptor, Class singularType) Create a new instance with the given parameters.LazyField
(MessageLite defaultInstance, ExtensionRegistryLite extensionRegistry, ByteString bytes) private
MessageSchema
(int[] buffer, Object[] objects, int minFieldNumber, int maxFieldNumber, MessageLite defaultInstance, boolean proto3, boolean useCachedSizeField, int[] intArray, int checkInitialized, int mapFieldPositions, NewInstanceSchema newInstanceSchema, ListFieldSchema listFieldSchema, UnknownFieldSchema<?, ?> unknownFieldSchema, ExtensionSchema<?> extensionSchema, MapFieldSchema mapFieldSchema) private
MessageSetSchema
(UnknownFieldSchema<?, ?> unknownFieldSchema, ExtensionSchema<?> extensionSchema, MessageLite defaultInstance) (package private)
RawMessageInfo
(MessageLite defaultInstance, String info, Object[] objects) (package private)
SerializedForm
(MessageLite regularForm) Creates the serialized form by callingtoByteArray()
.UninitializedMessageException
(MessageLite message) -
Uses of MessageLite in com.google.protobuf.compiler
Classes in com.google.protobuf.compiler that implement MessageLiteModifier and TypeClassDescriptionstatic final class
An encoded CodeGeneratorRequest is written to the plugin's stdin.static final class
The plugin writes an encoded CodeGeneratorResponse to stdout.static final class
Represents a single generated file.static final class
The version number of protocol compiler.