public static final class RestMethod.MediaUpload.Protocols.Simple extends GenericJson
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Simple() |
| Modifier and Type | Method and Description |
|---|---|
RestMethod.MediaUpload.Protocols.Simple |
clone() |
Boolean |
getMultipart()
True if this endpoint supports upload multipart media.
|
String |
getPath()
The URI path to be used for upload.
|
boolean |
isMultipart()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE. |
RestMethod.MediaUpload.Protocols.Simple |
set(String fieldName,
Object value) |
RestMethod.MediaUpload.Protocols.Simple |
setMultipart(Boolean multipart)
True if this endpoint supports upload multipart media.
|
RestMethod.MediaUpload.Protocols.Simple |
setPath(String path)
The URI path to be used for upload.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getMultipart()
null for nonepublic RestMethod.MediaUpload.Protocols.Simple setMultipart(Boolean multipart)
multipart - multipart or null for nonepublic boolean isMultipart()
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.
True if this endpoint supports upload multipart media.
public String getPath()
null for nonepublic RestMethod.MediaUpload.Protocols.Simple setPath(String path)
path - path or null for nonepublic RestMethod.MediaUpload.Protocols.Simple set(String fieldName, Object value)
set in class GenericJsonpublic RestMethod.MediaUpload.Protocols.Simple clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.