|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap<String,Object> com.google.api.client.util.GenericData com.google.api.client.json.GenericJson com.google.api.services.storage.model.Channel
public final class Channel
Model definition for Channel.
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 Cloud Storage API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
---|
GenericData.Flags |
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
Channel()
|
Method Summary | |
---|---|
String |
getAddress()
The address of the receiving entity where events are delivered. |
Long |
getExpiration()
The expiration instant for this channel if it is defined. |
String |
getId()
A UUID for the channel The value returned may be null . |
String |
getKind()
A channel watching an API resource The value returned may be null . |
Map<String,String> |
getParams()
Additional parameters controlling delivery channel behavior The value returned may be null . |
String |
getResourceId()
An opaque id that identifies the resource that is being watched. |
String |
getResourceUri()
The canonicalized ID of the watched resource. |
String |
getToken()
An arbitrary string associated with the channel that is delivered to the target address with each event delivered over this channel. |
String |
getType()
The type of delivery mechanism used by this channel The value returned may be null . |
Channel |
setAddress(String address)
The address of the receiving entity where events are delivered. |
Channel |
setExpiration(Long expiration)
The expiration instant for this channel if it is defined. |
Channel |
setId(String id)
A UUID for the channel The value set may be null . |
Channel |
setKind(String kind)
A channel watching an API resource The value set may be null . |
Channel |
setParams(Map<String,String> params)
Additional parameters controlling delivery channel behavior The value set may be null . |
Channel |
setResourceId(String resourceId)
An opaque id that identifies the resource that is being watched. |
Channel |
setResourceUri(String resourceUri)
The canonicalized ID of the watched resource. |
Channel |
setToken(String token)
An arbitrary string associated with the channel that is delivered to the target address with each event delivered over this channel. |
Channel |
setType(String type)
The type of delivery mechanism used by this channel The value set may be null . |
Methods inherited from class com.google.api.client.json.GenericJson |
---|
clone, getFactory, setFactory, toPrettyString, toString |
Methods inherited from class com.google.api.client.util.GenericData |
---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys |
Methods inherited from class java.util.AbstractMap |
---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Channel()
Method Detail |
---|
public String getAddress()
null
.
public Channel setAddress(String address)
null
.
public Long getExpiration()
null
.
public Channel setExpiration(Long expiration)
null
.
public String getId()
null
.
public Channel setId(String id)
null
.
public String getKind()
null
.
public Channel setKind(String kind)
null
.
public Map<String,String> getParams()
null
.
public Channel setParams(Map<String,String> params)
null
.
public String getResourceId()
null
.
public Channel setResourceId(String resourceId)
null
.
public String getResourceUri()
null
.
public Channel setResourceUri(String resourceUri)
null
.
public String getToken()
null
.
public Channel setToken(String token)
null
.
public String getType()
null
.
public Channel setType(String type)
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |