/** * Returns the service config file location of the given named field in the (sub)message. The key * identifies the key of the map. For repeated fields, the element key is a zero-based index. * Returns {@link SimpleLocation#TOPLEVEL} if the location is not known. */ @Override public Location getLocationOfRepeatedFieldInConfig( Message message, String fieldName, Object elementKey) { return getServiceConfigSource() .getLocationOfRepeatedFieldInConfig(message, fieldName, elementKey); }
/** * Returns the service config file location of the given named field in the (sub)message. The key * identifies the key of the map. For repeated fields, the element key is a zero-based index. * Returns {@link SimpleLocation#TOPLEVEL} if the location is not known. */ @Override public Location getLocationOfRepeatedFieldInConfig( Message message, String fieldName, Object elementKey) { return getServiceConfigSource() .getLocationOfRepeatedFieldInConfig(message, fieldName, elementKey); }