public class Protobuf3Field extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
fieldName
name
|
Class<?> |
fieldType
type
|
Type |
genericType
generic type if it exists, such as for Map, List
|
String |
getterName
name of getter
|
Class<?>[] |
setterInputParams
types of input parameters of the setter
the input parameter might not be consistent with the fieldType in gRPC
the type could be defined with its supertype
then we need such explicit info in order to get the setter
For instance, the fieldType is List, and the input type is Iterator
|
String |
setterName
name of corresponding setter
|
| Constructor and Description |
|---|
Protobuf3Field() |
public String fieldName
public Class<?> fieldType
public Type genericType
public String setterName
public Class<?>[] setterInputParams
public String getterName
Copyright © 2016–2024. All rights reserved.