Uses of Interface
com.google.protobuf.MessageLite
-
Packages that use MessageLite Package Description com.google.protobuf com.google.protobuf.compiler -
-
Uses of MessageLite in com.google.protobuf
Classes in com.google.protobuf with type parameters of type MessageLite Modifier and Type Class Description class
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.protobuf Modifier and Type Interface Description interface
Message
Abstract interface implemented by Protocol Message objects.Classes in com.google.protobuf that implement MessageLite Modifier and Type Class Description class
AbstractMessage
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.class
Any
Protobuf typegoogle.protobuf.Any
class
Api
Protobuf typegoogle.protobuf.Api
class
BoolValue
Protobuf typegoogle.protobuf.BoolValue
class
BytesValue
Protobuf typegoogle.protobuf.BytesValue
static class
DescriptorProtos.DescriptorProto
Protobuf typegoogle.protobuf.DescriptorProto
static class
DescriptorProtos.DescriptorProto.ExtensionRange
Protobuf typegoogle.protobuf.DescriptorProto.ExtensionRange
static class
DescriptorProtos.DescriptorProto.ReservedRange
Protobuf typegoogle.protobuf.DescriptorProto.ReservedRange
static class
DescriptorProtos.EnumDescriptorProto
Protobuf typegoogle.protobuf.EnumDescriptorProto
static class
DescriptorProtos.EnumDescriptorProto.EnumReservedRange
Protobuf typegoogle.protobuf.EnumDescriptorProto.EnumReservedRange
static class
DescriptorProtos.EnumOptions
Protobuf typegoogle.protobuf.EnumOptions
static class
DescriptorProtos.EnumValueDescriptorProto
Protobuf typegoogle.protobuf.EnumValueDescriptorProto
static class
DescriptorProtos.EnumValueOptions
Protobuf typegoogle.protobuf.EnumValueOptions
static class
DescriptorProtos.ExtensionRangeOptions
Protobuf typegoogle.protobuf.ExtensionRangeOptions
static class
DescriptorProtos.ExtensionRangeOptions.Declaration
Protobuf typegoogle.protobuf.ExtensionRangeOptions.Declaration
static class
DescriptorProtos.FeatureSet
Protobuf typegoogle.protobuf.FeatureSet
static class
DescriptorProtos.FeatureSetDefaults
Protobuf typegoogle.protobuf.FeatureSetDefaults
static class
DescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefault
Protobuf typegoogle.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
static class
DescriptorProtos.FieldDescriptorProto
Protobuf typegoogle.protobuf.FieldDescriptorProto
static class
DescriptorProtos.FieldOptions
Protobuf typegoogle.protobuf.FieldOptions
static class
DescriptorProtos.FieldOptions.EditionDefault
Protobuf typegoogle.protobuf.FieldOptions.EditionDefault
static class
DescriptorProtos.FileDescriptorProto
Protobuf typegoogle.protobuf.FileDescriptorProto
static class
DescriptorProtos.FileDescriptorSet
Protobuf typegoogle.protobuf.FileDescriptorSet
static class
DescriptorProtos.FileOptions
Protobuf typegoogle.protobuf.FileOptions
static class
DescriptorProtos.GeneratedCodeInfo
Protobuf typegoogle.protobuf.GeneratedCodeInfo
static class
DescriptorProtos.GeneratedCodeInfo.Annotation
Protobuf typegoogle.protobuf.GeneratedCodeInfo.Annotation
static class
DescriptorProtos.MessageOptions
Protobuf typegoogle.protobuf.MessageOptions
static class
DescriptorProtos.MethodDescriptorProto
Protobuf typegoogle.protobuf.MethodDescriptorProto
static class
DescriptorProtos.MethodOptions
Protobuf typegoogle.protobuf.MethodOptions
static class
DescriptorProtos.OneofDescriptorProto
Protobuf typegoogle.protobuf.OneofDescriptorProto
static class
DescriptorProtos.OneofOptions
Protobuf typegoogle.protobuf.OneofOptions
static class
DescriptorProtos.ServiceDescriptorProto
Protobuf typegoogle.protobuf.ServiceDescriptorProto
static class
DescriptorProtos.ServiceOptions
Protobuf typegoogle.protobuf.ServiceOptions
static class
DescriptorProtos.SourceCodeInfo
Protobuf typegoogle.protobuf.SourceCodeInfo
static class
DescriptorProtos.SourceCodeInfo.Location
Protobuf typegoogle.protobuf.SourceCodeInfo.Location
static class
DescriptorProtos.UninterpretedOption
Protobuf typegoogle.protobuf.UninterpretedOption
static class
DescriptorProtos.UninterpretedOption.NamePart
Protobuf typegoogle.protobuf.UninterpretedOption.NamePart
class
DoubleValue
Protobuf typegoogle.protobuf.DoubleValue
class
Duration
Protobuf typegoogle.protobuf.Duration
class
DynamicMessage
An implementation ofMessage
that can represent arbitrary types, given aDescriptors.Descriptor
.class
Empty
Protobuf typegoogle.protobuf.Empty
class
Enum
Protobuf typegoogle.protobuf.Enum
class
EnumValue
Protobuf typegoogle.protobuf.EnumValue
class
Field
Protobuf typegoogle.protobuf.Field
class
FieldMask
Protobuf typegoogle.protobuf.FieldMask
class
FloatValue
Protobuf typegoogle.protobuf.FloatValue
class
GeneratedMessage
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
GeneratedMessageV3
All generated protocol message classes extend this class.static class
GeneratedMessageV3.ExtendableMessage<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>
Generated message classes for message types that contain extension ranges subclass this.class
Int32Value
Protobuf typegoogle.protobuf.Int32Value
class
Int64Value
Protobuf typegoogle.protobuf.Int64Value
class
ListValue
Protobuf typegoogle.protobuf.ListValue
class
MapEntry<K,V>
Implements MapEntry messages.class
Method
Protobuf typegoogle.protobuf.Method
class
Mixin
Protobuf typegoogle.protobuf.Mixin
class
Option
Protobuf typegoogle.protobuf.Option
class
SourceContext
Protobuf typegoogle.protobuf.SourceContext
class
StringValue
Protobuf typegoogle.protobuf.StringValue
class
Struct
Protobuf typegoogle.protobuf.Struct
class
Timestamp
Protobuf typegoogle.protobuf.Timestamp
class
Type
Protobuf typegoogle.protobuf.Type
class
UInt32Value
Protobuf typegoogle.protobuf.UInt32Value
class
UInt64Value
Protobuf typegoogle.protobuf.UInt64Value
class
UnknownFieldSet
UnknownFieldSet
keeps track of fields which were seen when parsing a protocol message but whose field numbers or types are unrecognized.class
Value
Protobuf typegoogle.protobuf.Value
Fields in com.google.protobuf declared as MessageLite Modifier and Type Field Description protected MessageLite
LazyFieldLite. value
The parsed value.Methods in com.google.protobuf with type parameters of type MessageLite Modifier and Type Method Description <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(java.lang.Class<T> clazz)
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, java.lang.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, java.lang.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.abstract <T extends MessageLite>
TCodedInputStream. readGroup(int fieldNumber, Parser<T> parser, ExtensionRegistryLite extensionRegistry)
Read agroup
field value from the stream.abstract <T extends MessageLite>
TCodedInputStream. readMessage(Parser<T> parser, ExtensionRegistryLite extensionRegistry)
Read an embedded message field value from the stream.Methods in com.google.protobuf that return MessageLite Modifier and Type Method Description MessageLite
MessageLite.Builder. build()
Constructs the message based on the state of the Builder.MessageLite
MessageLite.Builder. buildPartial()
LikeMessageLite.Builder.build()
, but does not throw an exception if the message is missing required fields.MessageLite
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.MessageLite
GeneratedMessageLite.GeneratedExtension. getMessageDefaultInstance()
If the extension is an embedded message or group, returns the default instance of the message.MessageLite
InvalidProtocolBufferException. getUnfinishedMessage()
Returns the unfinished message attached to the exception, or null if no message is attached.MessageLite
LazyField. getValue()
MessageLite
LazyFieldLite. getValue(MessageLite defaultInstance)
Returns message instance.MessageLite
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 MessageLite Modifier and Type Method Description Parser<? 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 MessageLite Modifier and Type Method Description static int
CodedOutputStream. computeGroupSize(int fieldNumber, MessageLite value)
Deprecated.groups are deprecated.static int
CodedOutputStream. computeGroupSizeNoTag(MessageLite value)
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.static int
CodedOutputStream. computeMessageSizeNoTag(MessageLite value)
Compute the number of bytes that would be needed to encode an embedded message field.protected void
LazyFieldLite. ensureInitialized(MessageLite defaultInstance)
Might lazily parse the bytes that were previously passed in.static LazyFieldLite
LazyFieldLite. fromValue(MessageLite value)
Constructs a LazyFieldLite instance with a value.MessageLite
LazyFieldLite. getValue(MessageLite defaultInstance)
Returns message instance.MessageLite.Builder
Descriptors.FieldDescriptor. internalMergeFrom(MessageLite.Builder to, MessageLite from)
For internal use only.BuilderType
AbstractMessageLite.Builder. mergeFrom(MessageLite other)
MessageLite.Builder
MessageLite.Builder. mergeFrom(MessageLite other)
Mergeother
into the message being built.UnknownFieldSet.Builder
UnknownFieldSet.Builder. mergeFrom(MessageLite m)
protected static java.lang.Object
GeneratedMessageLite. newMessageInfo(MessageLite defaultInstance, java.lang.String info, java.lang.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, java.lang.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, java.lang.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.static GeneratedMessageLite.SerializedForm
GeneratedMessageLite.SerializedForm. of(MessageLite message)
InvalidProtocolBufferException
InvalidProtocolBufferException. setUnfinishedMessage(MessageLite unfinishedMessage)
Attaches an unfinished message to the exception to support best-effort parsing inParser
interface.MessageLite
LazyFieldLite. setValue(MessageLite value)
Sets the value of the instance and returns the old value without delay parsing anything.void
CodedOutputStream. writeGroup(int fieldNumber, MessageLite value)
Deprecated.groups are deprecated.void
CodedOutputStream. writeGroupNoTag(MessageLite value)
Deprecated.groups are deprecated.abstract void
CodedOutputStream. writeMessage(int fieldNumber, MessageLite value)
Write an embedded message field, including tag, to the stream.abstract void
CodedOutputStream. writeMessageNoTag(MessageLite value)
Write an embedded message field to the stream.abstract void
CodedOutputStream. writeMessageSetExtension(int fieldNumber, MessageLite value)
Write a MessageSet extension field to the stream.Constructors in com.google.protobuf with parameters of type MessageLite Constructor Description LazyField(MessageLite defaultInstance, ExtensionRegistryLite extensionRegistry, ByteString bytes)
UninitializedMessageException(MessageLite message)
-
Uses of MessageLite in com.google.protobuf.compiler
Classes in com.google.protobuf.compiler that implement MessageLite Modifier and Type Class Description static class
PluginProtos.CodeGeneratorRequest
Protobuf typegoogle.protobuf.compiler.CodeGeneratorRequest
static class
PluginProtos.CodeGeneratorResponse
Protobuf typegoogle.protobuf.compiler.CodeGeneratorResponse
static class
PluginProtos.CodeGeneratorResponse.File
Protobuf typegoogle.protobuf.compiler.CodeGeneratorResponse.File
static class
PluginProtos.Version
Protobuf typegoogle.protobuf.compiler.Version
-