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 classAbstractParser<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.protobuf Modifier and Type Interface Description interfaceMessageAbstract interface implemented by Protocol Message objects.Classes in com.google.protobuf that implement MessageLite Modifier and Type Class Description classAbstractMessageA 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.classAnyProtobuf typegoogle.protobuf.AnyclassApiProtobuf typegoogle.protobuf.ApiclassBoolValueProtobuf typegoogle.protobuf.BoolValueclassBytesValueProtobuf typegoogle.protobuf.BytesValuestatic classDescriptorProtos.DescriptorProtoProtobuf typegoogle.protobuf.DescriptorProtostatic classDescriptorProtos.DescriptorProto.ExtensionRangeProtobuf typegoogle.protobuf.DescriptorProto.ExtensionRangestatic classDescriptorProtos.DescriptorProto.ReservedRangeProtobuf typegoogle.protobuf.DescriptorProto.ReservedRangestatic classDescriptorProtos.EnumDescriptorProtoProtobuf typegoogle.protobuf.EnumDescriptorProtostatic classDescriptorProtos.EnumDescriptorProto.EnumReservedRangeProtobuf typegoogle.protobuf.EnumDescriptorProto.EnumReservedRangestatic classDescriptorProtos.EnumOptionsProtobuf typegoogle.protobuf.EnumOptionsstatic classDescriptorProtos.EnumValueDescriptorProtoProtobuf typegoogle.protobuf.EnumValueDescriptorProtostatic classDescriptorProtos.EnumValueOptionsProtobuf typegoogle.protobuf.EnumValueOptionsstatic classDescriptorProtos.ExtensionRangeOptionsProtobuf typegoogle.protobuf.ExtensionRangeOptionsstatic classDescriptorProtos.ExtensionRangeOptions.DeclarationProtobuf typegoogle.protobuf.ExtensionRangeOptions.Declarationstatic classDescriptorProtos.FeatureSetProtobuf typegoogle.protobuf.FeatureSetstatic classDescriptorProtos.FeatureSet.VisibilityFeatureProtobuf typegoogle.protobuf.FeatureSet.VisibilityFeaturestatic classDescriptorProtos.FeatureSetDefaultsProtobuf typegoogle.protobuf.FeatureSetDefaultsstatic classDescriptorProtos.FeatureSetDefaults.FeatureSetEditionDefaultProtobuf typegoogle.protobuf.FeatureSetDefaults.FeatureSetEditionDefaultstatic classDescriptorProtos.FieldDescriptorProtoProtobuf typegoogle.protobuf.FieldDescriptorProtostatic classDescriptorProtos.FieldOptionsProtobuf typegoogle.protobuf.FieldOptionsstatic classDescriptorProtos.FieldOptions.EditionDefaultProtobuf typegoogle.protobuf.FieldOptions.EditionDefaultstatic classDescriptorProtos.FieldOptions.FeatureSupportProtobuf typegoogle.protobuf.FieldOptions.FeatureSupportstatic classDescriptorProtos.FileDescriptorProtoProtobuf typegoogle.protobuf.FileDescriptorProtostatic classDescriptorProtos.FileDescriptorSetProtobuf typegoogle.protobuf.FileDescriptorSetstatic classDescriptorProtos.FileOptionsProtobuf typegoogle.protobuf.FileOptionsstatic classDescriptorProtos.GeneratedCodeInfoProtobuf typegoogle.protobuf.GeneratedCodeInfostatic classDescriptorProtos.GeneratedCodeInfo.AnnotationProtobuf typegoogle.protobuf.GeneratedCodeInfo.Annotationstatic classDescriptorProtos.MessageOptionsProtobuf typegoogle.protobuf.MessageOptionsstatic classDescriptorProtos.MethodDescriptorProtoProtobuf typegoogle.protobuf.MethodDescriptorProtostatic classDescriptorProtos.MethodOptionsProtobuf typegoogle.protobuf.MethodOptionsstatic classDescriptorProtos.OneofDescriptorProtoProtobuf typegoogle.protobuf.OneofDescriptorProtostatic classDescriptorProtos.OneofOptionsProtobuf typegoogle.protobuf.OneofOptionsstatic classDescriptorProtos.ServiceDescriptorProtoProtobuf typegoogle.protobuf.ServiceDescriptorProtostatic classDescriptorProtos.ServiceOptionsProtobuf typegoogle.protobuf.ServiceOptionsstatic classDescriptorProtos.SourceCodeInfoProtobuf typegoogle.protobuf.SourceCodeInfostatic classDescriptorProtos.SourceCodeInfo.LocationProtobuf typegoogle.protobuf.SourceCodeInfo.Locationstatic classDescriptorProtos.UninterpretedOptionProtobuf typegoogle.protobuf.UninterpretedOptionstatic classDescriptorProtos.UninterpretedOption.NamePartProtobuf typegoogle.protobuf.UninterpretedOption.NamePartclassDoubleValueProtobuf typegoogle.protobuf.DoubleValueclassDurationProtobuf typegoogle.protobuf.DurationclassDynamicMessageAn implementation ofMessagethat can represent arbitrary types, given aDescriptors.Descriptor.classEmptyProtobuf typegoogle.protobuf.EmptyclassEnumProtobuf typegoogle.protobuf.EnumclassEnumValueProtobuf typegoogle.protobuf.EnumValueclassFieldProtobuf typegoogle.protobuf.FieldclassFieldMaskProtobuf typegoogle.protobuf.FieldMaskclassFloatValueProtobuf typegoogle.protobuf.FloatValueclassGeneratedMessageAll 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.classGeneratedMessageV3Deprecated.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).classInt32ValueProtobuf typegoogle.protobuf.Int32ValueclassInt64ValueProtobuf typegoogle.protobuf.Int64Valuestatic classJavaFeaturesProto.JavaFeaturesProtobuf typepb.JavaFeaturesstatic classJavaFeaturesProto.JavaFeatures.NestInFileClassFeatureProtobuf typepb.JavaFeatures.NestInFileClassFeatureclassListValueProtobuf typegoogle.protobuf.ListValueclassMapEntry<K,V>Implements MapEntry messages.classMethodProtobuf typegoogle.protobuf.MethodclassMixinProtobuf typegoogle.protobuf.MixinclassOptionProtobuf typegoogle.protobuf.OptionclassSourceContextProtobuf typegoogle.protobuf.SourceContextclassStringValueProtobuf typegoogle.protobuf.StringValueclassStructProtobuf typegoogle.protobuf.StructclassTimestampProtobuf typegoogle.protobuf.TimestampclassTypeProtobuf typegoogle.protobuf.TypeclassUInt32ValueProtobuf typegoogle.protobuf.UInt32ValueclassUInt64ValueProtobuf typegoogle.protobuf.UInt64ValueclassUnknownFieldSetUnknownFieldSetkeeps track of fields which were seen when parsing a protocol message but whose field numbers or types are unrecognized.classValueProtobuf typegoogle.protobuf.ValueFields in com.google.protobuf declared as MessageLite Modifier and Type Field Description protected MessageLiteLazyFieldLite. valueThe 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 <MessageType2 extends MessageLite>
booleanGeneratedMessageLite.ExtendableMessage. parseUnknownField(MessageType2 defaultInstance, CodedInputStream input, ExtensionRegistryLite extensionRegistry, int tag)Parse an unknown field or an extension.protected <MessageType2 extends MessageLite>
booleanGeneratedMessageLite.ExtendableMessage. parseUnknownFieldAsMessageSet(MessageType2 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 agroupfield 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 MessageLiteMessageLite.Builder. build()Constructs the message based on the state of the Builder.MessageLiteMessageLite.Builder. buildPartial()LikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields.MessageLiteMessageLiteOrBuilder. 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.MessageLiteGeneratedMessageLite.GeneratedExtension. getMessageDefaultInstance()If the extension is an embedded message or group, returns the default instance of the message.MessageLiteInvalidProtocolBufferException. getUnfinishedMessage()Returns the unfinished message attached to the exception, or null if no message is attached.MessageLiteLazyField. getValue()MessageLiteLazyFieldLite. getValue(MessageLite defaultInstance)Returns message instance.MessageLiteLazyFieldLite. 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 intCodedOutputStream. computeGroupSize(int fieldNumber, MessageLite value)Deprecated.groups are deprecated.static intCodedOutputStream. computeGroupSizeNoTag(MessageLite value)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.static intCodedOutputStream. computeMessageSizeNoTag(MessageLite value)Compute the number of bytes that would be needed to encode an embedded message field.protected voidLazyFieldLite. ensureInitialized(MessageLite defaultInstance)Might lazily parse the bytes that were previously passed in.static LazyFieldLiteLazyFieldLite. fromValue(MessageLite value)Constructs a LazyFieldLite instance with a value.MessageLiteLazyFieldLite. getValue(MessageLite defaultInstance)Returns message instance.BuilderTypeAbstractMessageLite.Builder. mergeFrom(MessageLite other)MessageLite.BuilderMessageLite.Builder. mergeFrom(MessageLite other)Mergeotherinto the message being built.UnknownFieldSet.BuilderUnknownFieldSet.Builder. mergeFrom(MessageLite m)protected static java.lang.ObjectGeneratedMessageLite. 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 UninitializedMessageExceptionAbstractMessageLite.Builder. newUninitializedMessageException(MessageLite message)Construct an UninitializedMessageException reporting missing fields in the given message.static GeneratedMessageLite.SerializedFormGeneratedMessageLite.SerializedForm. of(MessageLite message)InvalidProtocolBufferExceptionInvalidProtocolBufferException. setUnfinishedMessage(MessageLite unfinishedMessage)Attaches an unfinished message to the exception to support best-effort parsing inParserinterface.MessageLiteLazyFieldLite. setValue(MessageLite value)Sets the value of the instance and returns the old value without delay parsing anything.voidCodedOutputStream. writeGroup(int fieldNumber, MessageLite value)Deprecated.groups are deprecated.voidCodedOutputStream. writeGroupNoTag(MessageLite value)Deprecated.groups are deprecated.abstract voidCodedOutputStream. writeMessage(int fieldNumber, MessageLite value)Write an embedded message field, including tag, to the stream.abstract voidCodedOutputStream. writeMessageNoTag(MessageLite value)Write an embedded message field to the stream.abstract voidCodedOutputStream. 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 classPluginProtos.CodeGeneratorRequestProtobuf typegoogle.protobuf.compiler.CodeGeneratorRequeststatic classPluginProtos.CodeGeneratorResponseProtobuf typegoogle.protobuf.compiler.CodeGeneratorResponsestatic classPluginProtos.CodeGeneratorResponse.FileProtobuf typegoogle.protobuf.compiler.CodeGeneratorResponse.Filestatic classPluginProtos.VersionProtobuf typegoogle.protobuf.compiler.Version
-