|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of MessageLite in com.google.protobuf |
---|
Classes in com.google.protobuf with type parameters of type MessageLite | |
---|---|
static class |
GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type>
Lite equivalent to GeneratedMessage.GeneratedExtension . |
Subinterfaces of MessageLite in com.google.protobuf | |
---|---|
interface |
Message
Abstract interface implemented by Protocol Message objects. |
Methods in com.google.protobuf with type parameters of type MessageLite | ||
---|---|---|
|
ExtensionRegistryLite.findLiteExtensionByNumber(ContainingType containingTypeDefaultInstance,
int fieldNumber)
Find an extension by containing type and field number. |
|
static
|
GeneratedMessageLite.newRepeatedGeneratedExtension(ContainingType containingTypeDefaultInstance,
MessageLite messageDefaultInstance,
Internal.EnumLiteMap<?> enumTypeMap,
int number,
WireFormat.FieldType type,
boolean isPacked)
For use by generated code only. |
|
static
|
GeneratedMessageLite.newSingularGeneratedExtension(ContainingType containingTypeDefaultInstance,
Type defaultValue,
MessageLite messageDefaultInstance,
Internal.EnumLiteMap<?> enumTypeMap,
int number,
WireFormat.FieldType type)
For use by generated code only. |
Methods in com.google.protobuf that return MessageLite | |
---|---|
MessageLite |
MessageLite.Builder.build()
Construct the final message. |
MessageLite |
MessageLite.Builder.buildPartial()
Like MessageLite.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. |
MessageLite |
GeneratedMessageLite.GeneratedExtension.getMessageDefaultInstance()
If the extension is an embedded message, this is the default instance of that type. |
Methods in com.google.protobuf with parameters of type MessageLite | ||
---|---|---|
static int |
CodedOutputStream.computeGroupSize(int fieldNumber,
MessageLite value)
Compute the number of bytes that would be needed to encode a group field, including tag. |
|
static int |
CodedOutputStream.computeGroupSizeNoTag(MessageLite value)
Compute the number of bytes that would be needed to encode a group field. |
|
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. |
|
static int |
CodedOutputStream.computeUnknownGroupSize(int fieldNumber,
MessageLite value)
Deprecated. UnknownFieldSet now implements MessageLite, so you can just call CodedOutputStream.computeGroupSize(int, com.google.protobuf.MessageLite) . |
|
static int |
CodedOutputStream.computeUnknownGroupSizeNoTag(MessageLite value)
Deprecated. UnknownFieldSet now implements MessageLite, so you can just call CodedOutputStream.computeUnknownGroupSizeNoTag(com.google.protobuf.MessageLite) . |
|
MessageLite.Builder |
Descriptors.FieldDescriptor.internalMergeFrom(MessageLite.Builder to,
MessageLite from)
For internal use only. |
|
static
|
GeneratedMessageLite.newRepeatedGeneratedExtension(ContainingType containingTypeDefaultInstance,
MessageLite messageDefaultInstance,
Internal.EnumLiteMap<?> enumTypeMap,
int number,
WireFormat.FieldType type,
boolean isPacked)
For use by generated code only. |
|
static
|
GeneratedMessageLite.newSingularGeneratedExtension(ContainingType containingTypeDefaultInstance,
Type defaultValue,
MessageLite messageDefaultInstance,
Internal.EnumLiteMap<?> enumTypeMap,
int number,
WireFormat.FieldType type)
For use by generated code only. |
|
protected static UninitializedMessageException |
AbstractMessageLite.Builder.newUninitializedMessageException(MessageLite message)
Construct an UninitializedMessageException reporting missing fields in the given message. |
|
void |
CodedOutputStream.writeGroup(int fieldNumber,
MessageLite value)
Write a group field, including tag, to the stream. |
|
void |
CodedOutputStream.writeGroupNoTag(MessageLite value)
Write a group field to the stream. |
|
void |
CodedOutputStream.writeMessage(int fieldNumber,
MessageLite value)
Write an embedded message field, including tag, to the stream. |
|
void |
CodedOutputStream.writeMessageNoTag(MessageLite value)
Write an embedded message field to the stream. |
|
void |
CodedOutputStream.writeMessageSetExtension(int fieldNumber,
MessageLite value)
Write a MessageSet extension field to the stream. |
|
void |
CodedOutputStream.writeUnknownGroup(int fieldNumber,
MessageLite value)
Deprecated. UnknownFieldSet now implements MessageLite, so you can just call CodedOutputStream.writeGroup(int, com.google.protobuf.MessageLite) . |
|
void |
CodedOutputStream.writeUnknownGroupNoTag(MessageLite value)
Deprecated. UnknownFieldSet now implements MessageLite, so you can just call CodedOutputStream.writeGroupNoTag(com.google.protobuf.MessageLite) . |
Constructors in com.google.protobuf with parameters of type MessageLite | |
---|---|
UninitializedMessageException(MessageLite message)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |