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