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 TypeClassDescriptionclassAbstractParser<MessageType extends MessageLite>A partial implementation of theParserinterface which implements as many methods of that interface as possible in terms of other methods.classExtension<ContainingType extends MessageLite,Type> Interface that generated extensions implement.classExtensionLite<ContainingType extends MessageLite,Type> Lite interface that generated extensions implement.static classGeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type> Lite equivalent toGeneratedMessage.GeneratedExtension.Subinterfaces of MessageLite in com.google.protobufModifier and TypeInterfaceDescriptioninterfaceAbstract interface implemented by Protocol Message objects.Classes in com.google.protobuf that implement MessageLiteModifier and TypeClassDescriptionclassA partial implementation of theMessageinterface which implements as many methods of that interface as possible in terms of other methods.classAbstractMessageLite<MessageType extends AbstractMessageLite<MessageType,BuilderType>, BuilderType extends AbstractMessageLite.Builder<MessageType, BuilderType>> A partial implementation of theMessageLiteinterface 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 classApi is a light-weight descriptor for an API Interface.final classWrapper message for `bool`.final classWrapper message for `bytes`.static final classDescribes a message type.static final classProtobuf typegoogle.protobuf.DescriptorProto.ExtensionRangestatic final classRange of reserved tag numbers.static final classDescribes an enum type.static final classRange of reserved numeric values.static final classProtobuf typegoogle.protobuf.EnumOptionsstatic final classDescribes a value within an enum.static final classProtobuf typegoogle.protobuf.EnumValueOptionsstatic final classProtobuf typegoogle.protobuf.ExtensionRangeOptionsstatic final classProtobuf typegoogle.protobuf.ExtensionRangeOptions.Declarationstatic final classTODO Enums in C++ gencode (and potentially other languages) are not well scoped.static final classA compiled specification for the defaults of a set of features.static final classA map from every known edition with a unique set of defaults to its defaults.static final classDescribes a field within a message.static final classProtobuf typegoogle.protobuf.FieldOptionsstatic final classProtobuf typegoogle.protobuf.FieldOptions.EditionDefaultstatic final classInformation about the support window of a feature.static final classDescribes a complete .proto file.static final classThe protocol compiler can output a FileDescriptorSet containing the .proto files it parses.static final classProtobuf typegoogle.protobuf.FileOptionsstatic final classDescribes the relationship between generated code and its original source file.static final classProtobuf typegoogle.protobuf.GeneratedCodeInfo.Annotationstatic final classProtobuf typegoogle.protobuf.MessageOptionsstatic final classDescribes a method of a service.static final classProtobuf typegoogle.protobuf.MethodOptionsstatic final classDescribes a oneof.static final classProtobuf typegoogle.protobuf.OneofOptionsstatic final classDescribes a service.static final classProtobuf typegoogle.protobuf.ServiceOptionsstatic final classEncapsulates information about the original source file from which a FileDescriptorProto was generated.static final classProtobuf typegoogle.protobuf.SourceCodeInfo.Locationstatic final classA message representing a option the parser does not recognize.static final classThe name of the uninterpreted option.final classWrapper message for `double`.final classA Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution.final classAn implementation ofMessagethat can represent arbitrary types, given aDescriptors.Descriptor.final classA generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.final classEnum type definition.final classEnum value definition.final classA 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 classWrapper message for `float`.classAll generated protocol message classes extend this class.static classGeneratedMessage.ExtendableMessage<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>>Generated message classes for message types that contain extension ranges subclass this.classGeneratedMessageLite<MessageType extends GeneratedMessageLite<MessageType,BuilderType>, BuilderType extends GeneratedMessageLite.Builder<MessageType, BuilderType>> Lite version ofGeneratedMessage.static classGeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>, BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>> Lite equivalent ofGeneratedMessage.ExtendableMessage.classDeprecated.This class is deprecated, and slated for removal in the next Java breaking change (5.x).static classGeneratedMessageV3.ExtendableMessage<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>Deprecated.This class is deprecated, and slated for removal in the next Java breaking change (5.x).final classWrapper message for `int32`.final classWrapper message for `int64`.static final classProtobuf typepb.JavaFeaturesfinal class`ListValue` is a wrapper around a repeated field of values.final classMapEntry<K,V> Implements MapEntry messages.final classMethod represents a method of an API interface.final classDeclares an API Interface to be included in this interface.final classA 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 classWrapper message for `string`.final class`Struct` represents a structured data value, consisting of fields which map to dynamically typed values.final classA 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 classA protocol buffer message type.final classWrapper message for `uint32`.final classWrapper message for `uint64`.final classUnknownFieldSetkeeps 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 ContainingTypeGeneratedMessageLite.GeneratedExtension.containingTypeDefaultInstanceprivate final MessageLiteLazyField.defaultInstanceCarry a message's default instance which is used byhashCode(),equals(), andtoString().private final MessageLiteMessageSchema.defaultInstanceprivate final MessageLiteMessageSetSchema.defaultInstanceprivate final MessageLiteRawMessageInfo.defaultInstanceprivate final MessageLiteStructuralMessageInfo.defaultInstance(package private) final MessageLiteGeneratedMessageLite.GeneratedExtension.messageDefaultInstanceprivate MessageLiteInvalidProtocolBufferException.unfinishedMessageprotected MessageLiteLazyFieldLite.valueThe 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 agroupfield 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 MessageLiteExtensionLite.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 MessageLiteLazyFieldLite.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 intCodedOutputStream.computeGroupSize(int fieldNumber, MessageLite value) Deprecated.groups are deprecated.(package private) static intCodedOutputStream.computeGroupSize(int fieldNumber, MessageLite value, Schema schema) Deprecated.groups are deprecated.static intCodedOutputStream.computeGroupSizeNoTag(MessageLite value) Deprecated.(package private) static intCodedOutputStream.computeGroupSizeNoTag(MessageLite value, Schema schema) Deprecated.static intCodedOutputStream.computeMessageSetExtensionSize(int fieldNumber, MessageLite value) Compute the number of bytes that would be needed to encode a MessageSet extension to the stream.static intCodedOutputStream.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 intCodedOutputStream.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 intCodedOutputStream.computeMessageSizeNoTag(MessageLite value) Compute the number of bytes that would be needed to encode an embedded message field.(package private) static intCodedOutputStream.computeMessageSizeNoTag(MessageLite value, Schema schema) Compute the number of bytes that would be needed to encode an embedded message field.(package private) static intArrayDecoders.decodeExtensionOrUnknownField(int tag, byte[] data, int position, int limit, Object message, MessageLite defaultInstance, UnknownFieldSchema<UnknownFieldSetLite, UnknownFieldSetLite> unknownFieldSchema, ArrayDecoders.Registers registers) protected voidLazyFieldLite.ensureInitialized(MessageLite defaultInstance) Might lazily parse the bytes that were previously passed in.(package private) abstract ObjectExtensionSchema.findExtensionByNumber(ExtensionRegistryLite extensionRegistry, MessageLite defaultInstance, int number) Finds an extension by field number.(package private) ObjectExtensionSchemaFull.findExtensionByNumber(ExtensionRegistryLite extensionRegistry, MessageLite defaultInstance, int number) (package private) ObjectExtensionSchemaLite.findExtensionByNumber(ExtensionRegistryLite extensionRegistry, MessageLite defaultInstance, int number) static LazyFieldLiteLazyFieldLite.fromValue(MessageLite value) Constructs a LazyFieldLite instance with a value.LazyFieldLite.getValue(MessageLite defaultInstance) Returns message instance.(package private) abstract booleanExtensionSchema.hasExtensions(MessageLite prototype) Returns true for messages that support extensions.(package private) booleanExtensionSchemaFull.hasExtensions(MessageLite prototype) (package private) booleanExtensionSchemaLite.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) Mergeotherinto the message being built.UnknownFieldSet.Builder.mergeFrom(MessageLite m) private static MessageLiteLazyFieldLite.mergeValueAndBytes(MessageLite value, ByteString otherBytes, ExtensionRegistryLite extensionRegistry) protected static ObjectGeneratedMessageLite.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 UninitializedMessageExceptionAbstractMessageLite.Builder.newUninitializedMessageException(MessageLite message) Construct an UninitializedMessageException reporting missing fields in the given message.GeneratedMessageLite.SerializedForm.of(MessageLite message) private static voidMessageLiteToString.reflectivePrintWithIndent(MessageLite messageLite, StringBuilder buffer, int indent) Reflectively prints theMessageLiteto the buffer at givenindentlevel.InvalidProtocolBufferException.setUnfinishedMessage(MessageLite unfinishedMessage) Attaches an unfinished message to the exception to support best-effort parsing inParserinterface.LazyFieldLite.setValue(MessageLite value) Sets the value of the instance and returns the old value without delay parsing anything.(package private) static StringMessageLiteToString.toString(MessageLite messageLite, String commentString) Returns aStringrepresentation of theMessageLiteobject.final voidCodedOutputStream.writeGroup(int fieldNumber, MessageLite value) Deprecated.groups are deprecated.(package private) final voidCodedOutputStream.writeGroup(int fieldNumber, MessageLite value, Schema schema) Deprecated.groups are deprecated.final voidCodedOutputStream.writeGroupNoTag(MessageLite value) Deprecated.groups are deprecated.(package private) final voidCodedOutputStream.writeGroupNoTag(MessageLite value, Schema schema) Deprecated.groups are deprecated.final voidCodedOutputStream.ArrayEncoder.writeMessage(int fieldNumber, MessageLite value) (package private) final voidCodedOutputStream.ArrayEncoder.writeMessage(int fieldNumber, MessageLite value, Schema schema) voidCodedOutputStream.ByteOutputEncoder.writeMessage(int fieldNumber, MessageLite value) (package private) voidCodedOutputStream.ByteOutputEncoder.writeMessage(int fieldNumber, MessageLite value, Schema schema) voidCodedOutputStream.OutputStreamEncoder.writeMessage(int fieldNumber, MessageLite value) (package private) voidCodedOutputStream.OutputStreamEncoder.writeMessage(int fieldNumber, MessageLite value, Schema schema) voidCodedOutputStream.SafeDirectNioEncoder.writeMessage(int fieldNumber, MessageLite value) (package private) voidCodedOutputStream.SafeDirectNioEncoder.writeMessage(int fieldNumber, MessageLite value, Schema schema) voidCodedOutputStream.UnsafeDirectNioEncoder.writeMessage(int fieldNumber, MessageLite value) (package private) voidCodedOutputStream.UnsafeDirectNioEncoder.writeMessage(int fieldNumber, MessageLite value, Schema schema) abstract voidCodedOutputStream.writeMessage(int fieldNumber, MessageLite value) Write an embedded message field, including tag, to the stream.(package private) abstract voidCodedOutputStream.writeMessage(int fieldNumber, MessageLite value, Schema schema) Write an embedded message field, including tag, to the stream.final voidCodedOutputStream.ArrayEncoder.writeMessageNoTag(MessageLite value) (package private) final voidCodedOutputStream.ArrayEncoder.writeMessageNoTag(MessageLite value, Schema schema) voidCodedOutputStream.ByteOutputEncoder.writeMessageNoTag(MessageLite value) (package private) voidCodedOutputStream.ByteOutputEncoder.writeMessageNoTag(MessageLite value, Schema schema) voidCodedOutputStream.OutputStreamEncoder.writeMessageNoTag(MessageLite value) (package private) voidCodedOutputStream.OutputStreamEncoder.writeMessageNoTag(MessageLite value, Schema schema) voidCodedOutputStream.SafeDirectNioEncoder.writeMessageNoTag(MessageLite value) (package private) voidCodedOutputStream.SafeDirectNioEncoder.writeMessageNoTag(MessageLite value, Schema schema) voidCodedOutputStream.UnsafeDirectNioEncoder.writeMessageNoTag(MessageLite value) (package private) voidCodedOutputStream.UnsafeDirectNioEncoder.writeMessageNoTag(MessageLite value, Schema schema) abstract voidCodedOutputStream.writeMessageNoTag(MessageLite value) Write an embedded message field to the stream.(package private) abstract voidCodedOutputStream.writeMessageNoTag(MessageLite value, Schema schema) Write an embedded message field to the stream.final voidCodedOutputStream.ArrayEncoder.writeMessageSetExtension(int fieldNumber, MessageLite value) voidCodedOutputStream.ByteOutputEncoder.writeMessageSetExtension(int fieldNumber, MessageLite value) voidCodedOutputStream.OutputStreamEncoder.writeMessageSetExtension(int fieldNumber, MessageLite value) voidCodedOutputStream.SafeDirectNioEncoder.writeMessageSetExtension(int fieldNumber, MessageLite value) voidCodedOutputStream.UnsafeDirectNioEncoder.writeMessageSetExtension(int fieldNumber, MessageLite value) abstract voidCodedOutputStream.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 intSchemaUtil.computeSizeGroupList(int fieldNumber, List<MessageLite> list) (package private) static intSchemaUtil.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) privateMessageSchema(int[] buffer, Object[] objects, int minFieldNumber, int maxFieldNumber, MessageLite defaultInstance, ProtoSyntax syntax, boolean useCachedSizeField, int[] intArray, int checkInitialized, int mapFieldPositions, NewInstanceSchema newInstanceSchema, ListFieldSchema listFieldSchema, UnknownFieldSchema<?, ?> unknownFieldSchema, ExtensionSchema<?> extensionSchema, MapFieldSchema mapFieldSchema) privateMessageSetSchema(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 classAn encoded CodeGeneratorRequest is written to the plugin's stdin.static final classThe plugin writes an encoded CodeGeneratorResponse to stdout.static final classRepresents a single generated file.static final classThe version number of protocol compiler.