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.classAny`Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.classApiApi is a light-weight descriptor for an API Interface.classBoolValueWrapper message for `bool`.classBytesValueWrapper message for `bytes`.static classDescriptorProtos.DescriptorProtoDescribes a message type.static classDescriptorProtos.DescriptorProto.ExtensionRangeProtobuf typegoogle.protobuf.DescriptorProto.ExtensionRangestatic classDescriptorProtos.DescriptorProto.ReservedRangeRange of reserved tag numbers.static classDescriptorProtos.EnumDescriptorProtoDescribes an enum type.static classDescriptorProtos.EnumDescriptorProto.EnumReservedRangeRange of reserved numeric values.static classDescriptorProtos.EnumOptionsProtobuf typegoogle.protobuf.EnumOptionsstatic classDescriptorProtos.EnumValueDescriptorProtoDescribes a value within an enum.static classDescriptorProtos.EnumValueOptionsProtobuf typegoogle.protobuf.EnumValueOptionsstatic classDescriptorProtos.ExtensionRangeOptionsProtobuf typegoogle.protobuf.ExtensionRangeOptionsstatic classDescriptorProtos.FieldDescriptorProtoDescribes a field within a message.static classDescriptorProtos.FieldOptionsProtobuf typegoogle.protobuf.FieldOptionsstatic classDescriptorProtos.FileDescriptorProtoDescribes a complete .proto file.static classDescriptorProtos.FileDescriptorSetThe protocol compiler can output a FileDescriptorSet containing the .proto files it parses.static classDescriptorProtos.FileOptionsProtobuf typegoogle.protobuf.FileOptionsstatic classDescriptorProtos.GeneratedCodeInfoDescribes the relationship between generated code and its original source file.static classDescriptorProtos.GeneratedCodeInfo.AnnotationProtobuf typegoogle.protobuf.GeneratedCodeInfo.Annotationstatic classDescriptorProtos.MessageOptionsProtobuf typegoogle.protobuf.MessageOptionsstatic classDescriptorProtos.MethodDescriptorProtoDescribes a method of a service.static classDescriptorProtos.MethodOptionsProtobuf typegoogle.protobuf.MethodOptionsstatic classDescriptorProtos.OneofDescriptorProtoDescribes a oneof.static classDescriptorProtos.OneofOptionsProtobuf typegoogle.protobuf.OneofOptionsstatic classDescriptorProtos.ServiceDescriptorProtoDescribes a service.static classDescriptorProtos.ServiceOptionsProtobuf typegoogle.protobuf.ServiceOptionsstatic classDescriptorProtos.SourceCodeInfoEncapsulates information about the original source file from which a FileDescriptorProto was generated.static classDescriptorProtos.SourceCodeInfo.LocationProtobuf typegoogle.protobuf.SourceCodeInfo.Locationstatic classDescriptorProtos.UninterpretedOptionA message representing a option the parser does not recognize.static classDescriptorProtos.UninterpretedOption.NamePartThe name of the uninterpreted option.classDoubleValueWrapper message for `double`.classDurationA Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution.classDynamicMessageAn implementation ofMessagethat can represent arbitrary types, given aDescriptors.Descriptor.classEmptyA generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.classEnumEnum type definition.classEnumValueEnum value definition.classFieldA single field of a message type.classFieldMask`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`.classFloatValueWrapper message for `float`.classGeneratedMessageAll generated protocol message classes extend this class.static classGeneratedMessage.ExtendableMessage<MessageType extends GeneratedMessage.ExtendableMessage>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.classGeneratedMessageV3All generated protocol message classes extend this class.static classGeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>Generated message classes for message types that contain extension ranges subclass this.classInt32ValueWrapper message for `int32`.classInt64ValueWrapper message for `int64`.classListValue`ListValue` is a wrapper around a repeated field of values.classMapEntry<K,V>Implements MapEntry messages.classMethodMethod represents a method of an API interface.classMixinDeclares an API Interface to be included in this interface.classOptionA protocol buffer option, which can be attached to a message, field, enumeration, etc.classSourceContext`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.classStringValueWrapper message for `string`.classStruct`Struct` represents a structured data value, consisting of fields which map to dynamically typed values.classTimestampA 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.classTypeA protocol buffer message type.classUInt32ValueWrapper message for `uint32`.classUInt64ValueWrapper message for `uint64`.classUnknownFieldSetUnknownFieldSetis used to keep track of fields which were seen when parsing a protocol message but whose field numbers or types are unrecognized.classValue`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 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 <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 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.MessageLite.BuilderDescriptors.FieldDescriptor. internalMergeFrom(MessageLite.Builder to, MessageLite from)For internal use only.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.CodeGeneratorRequestAn encoded CodeGeneratorRequest is written to the plugin's stdin.static classPluginProtos.CodeGeneratorResponseThe plugin writes an encoded CodeGeneratorResponse to stdout.static classPluginProtos.CodeGeneratorResponse.FileRepresents a single generated file.static classPluginProtos.VersionThe version number of protocol compiler.
-