public static final class RestMethod.MediaUpload.Protocols extends GenericJson
| Modifier and Type | Class and Description |
|---|---|
static class |
RestMethod.MediaUpload.Protocols.Resumable
Supports the Resumable Media Upload protocol.
|
static class |
RestMethod.MediaUpload.Protocols.Simple
Supports uploading as a single HTTP request.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Protocols() |
| Modifier and Type | Method and Description |
|---|---|
RestMethod.MediaUpload.Protocols |
clone() |
RestMethod.MediaUpload.Protocols.Resumable |
getResumable()
Supports the Resumable Media Upload protocol.
|
RestMethod.MediaUpload.Protocols.Simple |
getSimple()
Supports uploading as a single HTTP request.
|
RestMethod.MediaUpload.Protocols |
set(String fieldName,
Object value) |
RestMethod.MediaUpload.Protocols |
setResumable(RestMethod.MediaUpload.Protocols.Resumable resumable)
Supports the Resumable Media Upload protocol.
|
RestMethod.MediaUpload.Protocols |
setSimple(RestMethod.MediaUpload.Protocols.Simple simple)
Supports uploading as a single HTTP request.
|
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 RestMethod.MediaUpload.Protocols.Resumable getResumable()
null for nonepublic RestMethod.MediaUpload.Protocols setResumable(RestMethod.MediaUpload.Protocols.Resumable resumable)
resumable - resumable or null for nonepublic RestMethod.MediaUpload.Protocols.Simple getSimple()
null for nonepublic RestMethod.MediaUpload.Protocols setSimple(RestMethod.MediaUpload.Protocols.Simple simple)
simple - simple or null for nonepublic RestMethod.MediaUpload.Protocols set(String fieldName, Object value)
set in class GenericJsonpublic RestMethod.MediaUpload.Protocols clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.