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