public static final class GeneratedMessage.FieldAccessorTable extends Object
Constructor and Description |
---|
GeneratedMessage.FieldAccessorTable(Descriptors.Descriptor descriptor,
String[] camelCaseNames)
Construct a FieldAccessorTable for a particular message class without
initializing FieldAccessors.
|
GeneratedMessage.FieldAccessorTable(Descriptors.Descriptor descriptor,
String[] camelCaseNames,
Class<? extends GeneratedMessage> messageClass,
Class<? extends GeneratedMessage.Builder> builderClass)
Construct a FieldAccessorTable for a particular message class.
|
Modifier and Type | Method and Description |
---|---|
GeneratedMessage.FieldAccessorTable |
ensureFieldAccessorsInitialized(Class<? extends GeneratedMessage> messageClass,
Class<? extends GeneratedMessage.Builder> builderClass)
Ensures the field accessors are initialized.
|
public GeneratedMessage.FieldAccessorTable(Descriptors.Descriptor descriptor, String[] camelCaseNames, Class<? extends GeneratedMessage> messageClass, 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, String[] camelCaseNames)
public GeneratedMessage.FieldAccessorTable ensureFieldAccessorsInitialized(Class<? extends GeneratedMessage> messageClass, Class<? extends GeneratedMessage.Builder> builderClass)
messageClass
- The message type.builderClass
- The builder type.Copyright © 2008-2014 Google. All Rights Reserved.