Package | Description |
---|---|
com.google.protobuf |
Modifier and Type | Class and Description |
---|---|
(package private) class |
FieldSet<FieldDescriptorType extends FieldSet.FieldDescriptorLite<FieldDescriptorType>>
A class which represents an arbitrary set of fields of some message type.
|
static interface |
FieldSet.FieldDescriptorLite<T extends FieldSet.FieldDescriptorLite<T>>
Interface for a FieldDescriptor or lite extension descriptor.
|
Modifier and Type | Class and Description |
---|---|
static class |
Descriptors.FieldDescriptor
Describes a field of a message type.
|
(package private) static class |
GeneratedMessageLite.ExtensionDescriptor |
Modifier and Type | Method and Description |
---|---|
static <T extends FieldSet.FieldDescriptorLite<T>> |
FieldSet.emptySet()
Get an immutable empty FieldSet.
|
(package private) static <FieldDescriptorType extends FieldSet.FieldDescriptorLite<FieldDescriptorType>> |
SmallSortedMap.newFieldMap(int arraySize)
Creates a new instance for mapping FieldDescriptors to their values.
|
static <T extends FieldSet.FieldDescriptorLite<T>> |
FieldSet.newFieldSet()
Construct a new FieldSet.
|
Modifier and Type | Method and Description |
---|---|
static int |
FieldSet.computeFieldSize(FieldSet.FieldDescriptorLite<?> descriptor,
java.lang.Object value)
Compute the number of bytes needed to encode a particular field.
|
static void |
FieldSet.writeField(FieldSet.FieldDescriptorLite<?> descriptor,
java.lang.Object value,
CodedOutputStream output)
Write a single field.
|