Class ReflectionFieldAccessor
java.lang.Object
com.google.ads.googleads.lib.reflect.ReflectionFieldAccessor
- All Implemented Interfaces:
FieldAccessor
- Direct Known Subclasses:
SearchResponseScrubber
Sets values on a protobuf object based on a string representation of the path to the value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> List<T>getValues(com.google.protobuf.Message input) com.google.protobuf.MessagesetFieldIfPresent(com.google.protobuf.Message input, String toSet)
-
Constructor Details
-
ReflectionFieldAccessor
-
-
Method Details
-
setFieldIfPresent
public com.google.protobuf.Message setFieldIfPresent(com.google.protobuf.Message input, String toSet) - Specified by:
setFieldIfPresentin interfaceFieldAccessor
-
getValues
- Specified by:
getValuesin interfaceFieldAccessor
-