public static final class RestMethod.MediaUpload.Protocols.Simple
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Simple() |
Modifier and Type | Method and Description |
---|---|
RestMethod.MediaUpload.Protocols.Simple |
clone() |
java.lang.Boolean |
getMultipart()
True if this endpoint supports upload multipart media.
|
java.lang.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(java.lang.String fieldName,
java.lang.Object value) |
RestMethod.MediaUpload.Protocols.Simple |
setMultipart(java.lang.Boolean multipart)
True if this endpoint supports upload multipart media.
|
RestMethod.MediaUpload.Protocols.Simple |
setPath(java.lang.String path)
The URI path to be used for upload.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getMultipart()
null
for nonepublic RestMethod.MediaUpload.Protocols.Simple setMultipart(java.lang.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 java.lang.String getPath()
null
for nonepublic RestMethod.MediaUpload.Protocols.Simple setPath(java.lang.String path)
path
- path or null
for nonepublic RestMethod.MediaUpload.Protocols.Simple set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public RestMethod.MediaUpload.Protocols.Simple clone()
clone
in class com.google.api.client.json.GenericJson