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
`Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.class
Api
Api is a light-weight descriptor for an API Interface.class
BoolValue
Wrapper message for `bool`.class
BytesValue
Wrapper message for `bytes`.static class
DescriptorProtos.DescriptorProto
Describes a message type.static class
DescriptorProtos.DescriptorProto.ExtensionRange
Protobuf typegoogle.protobuf.DescriptorProto.ExtensionRange
static class
DescriptorProtos.DescriptorProto.ReservedRange
Range of reserved tag numbers.static class
DescriptorProtos.EnumDescriptorProto
Describes an enum type.static class
DescriptorProtos.EnumDescriptorProto.EnumReservedRange
Range of reserved numeric values.static class
DescriptorProtos.EnumOptions
Protobuf typegoogle.protobuf.EnumOptions
static class
DescriptorProtos.EnumValueDescriptorProto
Describes a value within an enum.static class
DescriptorProtos.EnumValueOptions
Protobuf typegoogle.protobuf.EnumValueOptions
static class
DescriptorProtos.ExtensionRangeOptions
Protobuf typegoogle.protobuf.ExtensionRangeOptions
static class
DescriptorProtos.FieldDescriptorProto
Describes a field within a message.static class
DescriptorProtos.FieldOptions
Protobuf typegoogle.protobuf.FieldOptions
static class
DescriptorProtos.FileDescriptorProto
Describes a complete .proto file.static class
DescriptorProtos.FileDescriptorSet
The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.static class
DescriptorProtos.FileOptions
Protobuf typegoogle.protobuf.FileOptions
static class
DescriptorProtos.GeneratedCodeInfo
Describes the relationship between generated code and its original source file.static class
DescriptorProtos.GeneratedCodeInfo.Annotation
Protobuf typegoogle.protobuf.GeneratedCodeInfo.Annotation
static class
DescriptorProtos.MessageOptions
Protobuf typegoogle.protobuf.MessageOptions
static class
DescriptorProtos.MethodDescriptorProto
Describes a method of a service.static class
DescriptorProtos.MethodOptions
Protobuf typegoogle.protobuf.MethodOptions
static class
DescriptorProtos.OneofDescriptorProto
Describes a oneof.static class
DescriptorProtos.OneofOptions
Protobuf typegoogle.protobuf.OneofOptions
static class
DescriptorProtos.ServiceDescriptorProto
Describes a service.static class
DescriptorProtos.ServiceOptions
Protobuf typegoogle.protobuf.ServiceOptions
static class
DescriptorProtos.SourceCodeInfo
Encapsulates information about the original source file from which a FileDescriptorProto was generated.static class
DescriptorProtos.SourceCodeInfo.Location
Protobuf typegoogle.protobuf.SourceCodeInfo.Location
static class
DescriptorProtos.UninterpretedOption
A message representing a option the parser does not recognize.static class
DescriptorProtos.UninterpretedOption.NamePart
The name of the uninterpreted option.class
DoubleValue
Wrapper message for `double`.class
Duration
A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution.class
DynamicMessage
An implementation ofMessage
that can represent arbitrary types, given aDescriptors.Descriptor
.class
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.class
Enum
Enum type definition.class
EnumValue
Enum value definition.class
Field
A single field of a message type.class
FieldMask
`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`.class
FloatValue
Wrapper message for `float`.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<MessageType extends GeneratedMessageV3.ExtendableMessage>
Generated message classes for message types that contain extension ranges subclass this.class
Int32Value
Wrapper message for `int32`.class
Int64Value
Wrapper message for `int64`.class
ListValue
`ListValue` is a wrapper around a repeated field of values.class
MapEntry<K,V>
Implements MapEntry messages.class
Method
Method represents a method of an API interface.class
Mixin
Declares an API Interface to be included in this interface.class
Option
A protocol buffer option, which can be attached to a message, field, enumeration, etc.class
SourceContext
`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.class
StringValue
Wrapper message for `string`.class
Struct
`Struct` represents a structured data value, consisting of fields which map to dynamically typed values.class
Timestamp
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.class
Type
A protocol buffer message type.class
UInt32Value
Wrapper message for `uint32`.class
UInt64Value
Wrapper message for `uint64`.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
`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 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(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, 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.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 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.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.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
An encoded CodeGeneratorRequest is written to the plugin's stdin.static class
PluginProtos.CodeGeneratorResponse
The plugin writes an encoded CodeGeneratorResponse to stdout.static class
PluginProtos.CodeGeneratorResponse.File
Represents a single generated file.static class
PluginProtos.Version
The version number of protocol compiler.
-