@Generated(value="proto")
public static final class GeneratedMessage.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 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 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 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.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.