public final class FeaturesBatchPatchRequest
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Maps Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
FeaturesBatchPatchRequest() |
| Modifier and Type | Method and Description |
|---|---|
FeaturesBatchPatchRequest |
clone() |
java.util.List<Feature> |
getFeatures() |
java.lang.Boolean |
getNormalizeGeometries()
If true, the server will normalize feature geometries.
|
boolean |
isNormalizeGeometries()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE. |
FeaturesBatchPatchRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
FeaturesBatchPatchRequest |
setFeatures(java.util.List<Feature> features) |
FeaturesBatchPatchRequest |
setNormalizeGeometries(java.lang.Boolean normalizeGeometries)
If true, the server will normalize feature geometries.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<Feature> getFeatures()
null for nonepublic FeaturesBatchPatchRequest setFeatures(java.util.List<Feature> features)
features - features or null for nonepublic java.lang.Boolean getNormalizeGeometries()
null for nonepublic FeaturesBatchPatchRequest setNormalizeGeometries(java.lang.Boolean normalizeGeometries)
normalizeGeometries - normalizeGeometries or null for nonepublic boolean isNormalizeGeometries()
Boolean.TRUE or Boolean.FALSE.
Boolean properties can have four possible values:
null, Data.NULL_BOOLEAN, Boolean.TRUE
or Boolean.FALSE.
This method returns Boolean.TRUE if the default of the property is Boolean.TRUE
and it is null or Data.NULL_BOOLEAN.
Boolean.FALSE is returned if the default of the property is Boolean.FALSE and
it is null or Data.NULL_BOOLEAN.
If true, the server will normalize feature geometries. It is assumed that the South Pole is exterior to any polygons given. See here for a list of normalizations. If false, all feature geometries must be given already normalized. The points in all LinearRings must be listed in counter-clockwise order, and LinearRings may not intersect.
public FeaturesBatchPatchRequest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic FeaturesBatchPatchRequest clone()
clone in class com.google.api.client.json.GenericJson