| Modifier and Type | Field and Description |
|---|---|
static Version |
GoogleBaseService.DEFAULT_VERSION
Version 1 is the current default version for GoogleBaseService.
|
static Version |
GoogleBaseService.Versions.V1
Version 1 of the Google Base API.
|
static Version |
GoogleBaseService.Versions.V2
Version 2 of the Google Base API.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
Service.Versions.V1
Version 1.
|
static Version |
Service.Versions.V2
Version 2.
|
static Version |
Service.Versions.V2_1
Version
2.1. |
static Version |
Service.Versions.V2_2
Version
2.2. |
static Version |
Service.Versions.V3
Version 3.
|
| Modifier and Type | Method and Description |
|---|---|
Version |
Service.getProtocolVersion()
Returns the service protocol version that will be used for requests
generated by this service.
|
Version |
Service.ClientStreamProperties.getRequestVersion() |
static Version |
Service.getVersion()
Returns the current
Version of the GData core protocol. |
protected static Version |
Service.initServiceVersion(Class<? extends Service> serviceClass,
Version defaultVersion)
Initializes the version information for a specific service type.
|
| Modifier and Type | Method and Description |
|---|---|
protected static Version |
Service.initServiceVersion(Class<? extends Service> serviceClass,
Version defaultVersion)
Initializes the version information for a specific service type.
|
void |
Service.setProtocolVersion(Version v)
Sets the service protocol version that will be used for requests associated
with this service.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
AnalyticsService.DEFAULT_VERSION
Default GData version used by the Google Analytics Data Export API.
|
static Version |
AnalyticsService.Versions.V1
Version 1.
|
static Version |
AnalyticsService.Versions.V2
Version 2.
|
static Version |
AnalyticsService.Versions.V2_1
Version
2.1. |
static Version |
AnalyticsService.Versions.V2_2
Version
2.2. |
static Version |
AnalyticsService.Versions.V2_3
Version
2.3. |
| Modifier and Type | Method and Description |
|---|---|
static Version |
AnalyticsService.getVersion()
Returns the current GData version used by the Google Analytics Data Export
API.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
MailItemService.DEFAULT_VERSION
Version 1 is the current default version for MailItemService.
|
static Version |
MailItemService.Versions.V1
Version 1 of the Email Migration API.
|
static Version |
MailItemService.Versions.V2
Version 2 of the Email Migration API.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
BloggerService.BLOGSPOT_VERSION
GData version used for feeds on Blog*Spot.
|
static Version |
BloggerService.DEFAULT_VERSION
Default GData version used by the Blogger service.
|
static Version |
BloggerService.Versions.V1
The original version of the Blogger service based on V1 of the GData
core protocol.
|
static Version |
BloggerService.Versions.V2
The V2 of the Blogger service based on V2 of the GData core protocol
that brings it to full alignment with the now standard Atom Publishing
Protocol specification.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
BloggerService.getVersion()
Returns the current GData version used by the Blogger service.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
BooksService.DEFAULT_VERSION
Default GData version used by the Google Book Search service.
|
static Version |
BooksService.Versions.V1
Initial version of the API, based on GData version 1.
|
static Version |
BooksService.Versions.V2
Newer version of the API, based on GData version 2.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
BooksService.getVersion()
Returns the current GData version used by the Google Book Search service.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
CalendarService.DEFAULT_VERSION
Default GData version used by the Google Calendar service.
|
static Version |
CalendarService.Versions.V1
Version 1 of the Calendar Data API.
|
static Version |
CalendarService.Versions.V2
Version 2 of the Calendar Data API.
|
static Version |
CalendarService.Versions.V2_1
Version 2.1 of the Calendar Data API.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
CalendarService.getVersion()
Returns the current GData version used by the Google Calendar service.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
CodeSearchService.DEFAULT_VERSION
Default GData version used by the Google Code Search service.
|
static Version |
CodeSearchService.Versions.V1
Version 1 of the Codesearch Data API.
|
static Version |
CodeSearchService.Versions.V2
Version 2 of the Codesearch Data API.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
CodeSearchService.getVersion()
Returns the current GData version used by the Google Code Search service.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
ContactsService.DEFAULT_VERSION
Default GData version used by the Google Contacts service.
|
static Version |
ContactsService.Versions.V1
Version 1 of the Contacts Data API.
|
static Version |
ContactsService.Versions.V2
Version 2 of the Contacts Data API.
|
static Version |
ContactsService.Versions.V3
Version 3 of the Contacts Data API.
|
static Version |
ContactsService.Versions.V3_1
Version 3 of the Contacts Data API.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
ContactsService.getVersion()
Returns the current GData version used by the Google Contacts service.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
DocsService.DEFAULT_VERSION
Default GData version used by the Google Documents List Data API.
|
static Version |
DocsService.Versions.V1
Version 1.
|
static Version |
DocsService.Versions.V2
Version 2.
|
static Version |
DocsService.Versions.V3
Version 3.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
DocsService.getVersion()
Returns the current GData version used by the Google Documents List Data
API.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
FinanceService.DEFAULT_VERSION
Default GData version used by the Google Finance Portfolio Data API.
|
static Version |
FinanceService.Versions.V1
Version 1.
|
static Version |
FinanceService.Versions.V2
Version 2.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
FinanceService.getVersion()
Returns the current GData version used by the Google Finance Portfolio Data
API.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
GttService.DEFAULT_VERSION
Default GData version used by the Google Translator Toolkit API.
|
static Version |
GttService.Versions.V1
Version 1.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
GttService.getVersion()
Returns the current GData version used by the Google Translator Toolkit
API.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
HealthService.DEFAULT_VERSION
Default GData version used by the Health service.
|
static Version |
HealthService.Versions.V1
Initial version of the API, based on GData version 1.
|
static Version |
HealthService.Versions.V2
Newer version of the API, based on GData version 2.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
HealthService.getVersion()
Returns the current GData version used by the Health service.
|
| Modifier and Type | Method and Description |
|---|---|
Version |
GoogleGDataRequest.getRequestVersion()
Returns the
Version that will be used to execute the request on the
target service or null if the service is not versioned. |
Version |
GoogleGDataRequest.getResponseVersion()
Returns the
Version that was used by the target service to execute
the request or null if the service is not versioned. |
| Modifier and Type | Field and Description |
|---|---|
static Version |
MapsService.DEFAULT_VERSION
Default GData version used by the Google Maps Data API.
|
static Version |
MapsService.Versions.V1
Version 1.
|
static Version |
MapsService.Versions.V2
Version 2.
|
static Version |
MapsService.Versions.V2_1
Version
2.1. |
| Modifier and Type | Method and Description |
|---|---|
static Version |
MapsService.getVersion()
Returns the current GData version used by the Google Maps Data API.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
PicasawebService.DEFAULT_VERSION
Default GData version used by the Picasa Web Albums Data API.
|
static Version |
PicasawebService.Versions.V1
Version 1.
|
static Version |
PicasawebService.Versions.V2
Version 2.
|
static Version |
PicasawebService.Versions.V3
Version 3.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
PicasawebService.getVersion()
Returns the current GData version used by the Picasa Web Albums Data API.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
ProjectHostingService.DEFAULT_VERSION
Default GData version used by the Project Hosting GData API.
|
static Version |
ProjectHostingService.Versions.V1
Version 1.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
ProjectHostingService.getVersion()
Returns the current GData version used by the Project Hosting GData API.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
SidewikiService.DEFAULT_VERSION
Default GData version used by the Google Sidewiki Data API.
|
static Version |
SidewikiService.Versions.V1
Version 1.
|
static Version |
SidewikiService.Versions.V2
Version 2.
|
static Version |
SidewikiService.Versions.V2_1
Version
2.1. |
| Modifier and Type | Method and Description |
|---|---|
static Version |
SidewikiService.getVersion()
Returns the current GData version used by the Google Sidewiki Data API.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
SitesService.DEFAULT_VERSION
Default GData version used by the Google Sites Data API.
|
static Version |
SitesService.Versions.V1
Version 1.
|
static Version |
SitesService.Versions.V1_1
Version
1.1. |
static Version |
SitesService.Versions.V1_2
Version
1.2. |
static Version |
SitesService.Versions.V1_3
Version
1.3. |
static Version |
SitesService.Versions.V1_4
Version
1.4. |
| Modifier and Type | Method and Description |
|---|---|
static Version |
SitesService.getVersion()
Returns the current GData version used by the Google Sites Data API.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
SpreadsheetService.DEFAULT_VERSION
Default GData version used by the Google Spreadsheets service.
|
static Version |
SpreadsheetService.Versions.V1
Version 1 of the Spreadsheet Google Data API.
|
static Version |
SpreadsheetService.Versions.V2
Version 2 of the Spreadsheet Google Data API.
|
static Version |
SpreadsheetService.Versions.V3
Version 3 of the Spreadsheet Google Data API.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
SpreadsheetService.getVersion()
Returns the current GData version used by the Google Spreadsheets service.
|
| Modifier and Type | Field and Description |
|---|---|
static Version |
WebmasterToolsService.DEFAULT_VERSION
Default GData version used by the Google Webmaster Tools Data API.
|
static Version |
WebmasterToolsService.Versions.V1
Version 1.
|
static Version |
WebmasterToolsService.Versions.V2
Version 2.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
WebmasterToolsService.getVersion()
Returns the current GData version used by the Google Webmaster Tools Data
API.
|
| Modifier and Type | Field and Description |
|---|---|
static Version[] |
YouTubeService.Versions.ALL |
static Version |
YouTubeService.DEFAULT_VERSION
Version 2 is currently the default version for clients.
|
static Version |
YouTubeService.Versions.LATEST
A shortcut to the latest version.
|
static Version |
YouTubeService.Versions.V1
Initial version of the API, based on GData version 1.
|
static Version |
YouTubeService.Versions.V2
Newer version of the API, based on GData version 2.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
YouTubeService.getVersion()
Returns the current
Version of the YouTube GData API. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
YouTubeService.isCompatible(Version version)
Returns true if the current YouTube GData API version
YouTubeService.getVersion()
is compatible with the given version. |
| Modifier and Type | Method and Description |
|---|---|
Version |
MetadataContext.getVersion()
The version the context represents.
|
| Modifier and Type | Method and Description |
|---|---|
static MetadataContext |
MetadataContext.forContext(AltFormat format,
String projection,
Version version)
Creates a new immutable metadata context.
|
static MetadataContext |
MetadataContext.forVersion(Version version)
Constructs a new immutable metadata context with just version.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
Version.anyMinorVersionOf(Version v)
Returns a version that matches the input service type and major version but
ANY minor version. |
static Version |
Version.findServiceVersion(Collection<? extends Version> versionList,
Class<? extends Service> serviceClass)
Finds a matching version for
serviceClass in a list of versions,
or returns null otherwise. |
Version |
VersionRegistry.getVersion(Class<? extends Service> serviceClass)
Returns the version of a service.
|
static Version |
VersionRegistry.getVersionFromProperty(Class<? extends Service> serviceClass)
Constructs a new Version instance based upon the value of a Java system
property associated with a
Service class. |
| Modifier and Type | Method and Description |
|---|---|
List<Version> |
VersionRegistry.getDefaultVersions()
Returns the list of default versions for the registry.
|
List<Version> |
Version.getImpliedVersions()
Returns the list of related services versions that are implied by this
version.
|
List<Version> |
VersionRegistry.getThreadVersions()
Returns the list of versions associated with the current thread or
null if there are currently no thread versions. |
| Modifier and Type | Method and Description |
|---|---|
void |
VersionRegistry.addDefaultVersion(Version newDefault,
boolean includeImplied)
Adds a default version to the version registry.
|
static Version |
Version.anyMinorVersionOf(Version v)
Returns a version that matches the input service type and major version but
ANY minor version. |
boolean |
Version.isAfter(Version v)
Returns
true if this version is a later version than the argument,
on the basis of comparing the major and minor versions. |
boolean |
Version.isBefore(Version v)
Returns
true if this version is a earlier version than the
argument, on the basis of comparing the major and minor versions. |
boolean |
Version.isCompatible(Version v)
Returns
true if the specified version is compatible with this
version or one of its implied versions. |
boolean |
Version.isSameService(Version v)
Returns
true if the target version is for the same service. |
boolean |
Version.matches(Version v)
Returns
true if the specified version is a match with this version
or one of its implied versions. |
void |
VersionRegistry.setThreadVersion(Version version)
Sets the desired version for the current thread to the provided values.
|
| Modifier and Type | Method and Description |
|---|---|
static Version |
Version.findServiceVersion(Collection<? extends Version> versionList,
Class<? extends Service> serviceClass)
Finds a matching version for
serviceClass in a list of versions,
or returns null otherwise. |
void |
VersionRegistry.reset(List<Version> initialDefaults)
Resets the VersionRegistry to a clean state with no thread local
configuration and the specified set of version defaults.
|
| Constructor and Description |
|---|
Version(Class<? extends Service> serviceClass,
int major,
int minor,
Version... impliedVersions)
Creates a new Version instance for the specified service and defines
the major and minor versions for the service.
|
Version(Class<? extends Service> serviceClass,
String versionDescription,
Version... impliedVersions)
Creates a new Version instance using a version description with the
format
[{service}]{major}.{minor}. |
Copyright © 2012. All Rights Reserved.