public static final class GeneratedMessage.FieldAccessorTable
extends java.lang.Object
Constructor and Description |
---|
GeneratedMessage.FieldAccessorTable(Descriptors.Descriptor descriptor,
java.lang.String[] camelCaseNames)
Construct a FieldAccessorTable for a particular message class without
initializing FieldAccessors.
|
GeneratedMessage.FieldAccessorTable(Descriptors.Descriptor descriptor,
java.lang.String[] camelCaseNames,
java.lang.Class<? extends GeneratedMessage> messageClass,
java.lang.Class<? extends GeneratedMessage.Builder> builderClass)
Construct a FieldAccessorTable for a particular message class.
|
Modifier and Type | Method and Description |
---|---|
GeneratedMessage.FieldAccessorTable |
ensureFieldAccessorsInitialized(java.lang.Class<? extends GeneratedMessage> messageClass,
java.lang.Class<? extends GeneratedMessage.Builder> builderClass)
Ensures the field accessors are initialized.
|
public GeneratedMessage.FieldAccessorTable(Descriptors.Descriptor descriptor, java.lang.String[] camelCaseNames, java.lang.Class<? extends GeneratedMessage> messageClass, java.lang.Class<? extends GeneratedMessage.Builder> builderClass)
descriptor
- The type's descriptor.camelCaseNames
- The camelcase names of all fields in the message.
These are used to derive the accessor method names.messageClass
- The message type.builderClass
- The builder type.public GeneratedMessage.FieldAccessorTable(Descriptors.Descriptor descriptor, java.lang.String[] camelCaseNames)
public GeneratedMessage.FieldAccessorTable ensureFieldAccessorsInitialized(java.lang.Class<? extends GeneratedMessage> messageClass, java.lang.Class<? extends GeneratedMessage.Builder> builderClass)
messageClass
- The message type.builderClass
- The builder type.