target.apidocs.com.google.api.services.webmasters.model.WmxSitemap.html Maven / Gradle / Ivy
WmxSitemap (Search Console API v3-rev20190428-1.30.1)
com.google.api.services.webmasters.model
Class WmxSitemap
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.webmasters.model.WmxSitemap
-
public final class WmxSitemap
extends GenericJson
Contains detailed information about a specific URL submitted as a sitemap.
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 Search Console API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
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>
-
Constructor Summary
Constructors
Constructor and Description
WmxSitemap()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
WmxSitemap
clone()
List<WmxSitemapContent>
getContents()
The various content types in the sitemap.
Long
getErrors()
Number of errors in the sitemap.
Boolean
getIsPending()
If true, the sitemap has not been processed.
Boolean
getIsSitemapsIndex()
If true, the sitemap is a collection of sitemaps.
DateTime
getLastDownloaded()
Date & time in which this sitemap was last downloaded.
DateTime
getLastSubmitted()
Date & time in which this sitemap was submitted.
String
getPath()
The url of the sitemap.
String
getType()
The type of the sitemap.
Long
getWarnings()
Number of warnings for the sitemap.
WmxSitemap
set(String fieldName,
Object value)
WmxSitemap
setContents(List<WmxSitemapContent> contents)
The various content types in the sitemap.
WmxSitemap
setErrors(Long errors)
Number of errors in the sitemap.
WmxSitemap
setIsPending(Boolean isPending)
If true, the sitemap has not been processed.
WmxSitemap
setIsSitemapsIndex(Boolean isSitemapsIndex)
If true, the sitemap is a collection of sitemaps.
WmxSitemap
setLastDownloaded(DateTime lastDownloaded)
Date & time in which this sitemap was last downloaded.
WmxSitemap
setLastSubmitted(DateTime lastSubmitted)
Date & time in which this sitemap was submitted.
WmxSitemap
setPath(String path)
The url of the sitemap.
WmxSitemap
setType(String type)
The type of the sitemap.
WmxSitemap
setWarnings(Long warnings)
Number of warnings for the sitemap.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getContents
public List<WmxSitemapContent> getContents()
The various content types in the sitemap.
- Returns:
- value or
null
for none
-
setContents
public WmxSitemap setContents(List<WmxSitemapContent> contents)
The various content types in the sitemap.
- Parameters:
contents
- contents or null
for none
-
getErrors
public Long getErrors()
Number of errors in the sitemap. These are issues with the sitemap itself that need to be fixed
before it can be processed correctly.
- Returns:
- value or
null
for none
-
setErrors
public WmxSitemap setErrors(Long errors)
Number of errors in the sitemap. These are issues with the sitemap itself that need to be fixed
before it can be processed correctly.
- Parameters:
errors
- errors or null
for none
-
getIsPending
public Boolean getIsPending()
If true, the sitemap has not been processed.
- Returns:
- value or
null
for none
-
setIsPending
public WmxSitemap setIsPending(Boolean isPending)
If true, the sitemap has not been processed.
- Parameters:
isPending
- isPending or null
for none
-
getIsSitemapsIndex
public Boolean getIsSitemapsIndex()
If true, the sitemap is a collection of sitemaps.
- Returns:
- value or
null
for none
-
setIsSitemapsIndex
public WmxSitemap setIsSitemapsIndex(Boolean isSitemapsIndex)
If true, the sitemap is a collection of sitemaps.
- Parameters:
isSitemapsIndex
- isSitemapsIndex or null
for none
-
getLastDownloaded
public DateTime getLastDownloaded()
Date & time in which this sitemap was last downloaded. Date format is in RFC 3339 format (yyyy-
mm-dd).
- Returns:
- value or
null
for none
-
setLastDownloaded
public WmxSitemap setLastDownloaded(DateTime lastDownloaded)
Date & time in which this sitemap was last downloaded. Date format is in RFC 3339 format (yyyy-
mm-dd).
- Parameters:
lastDownloaded
- lastDownloaded or null
for none
-
getLastSubmitted
public DateTime getLastSubmitted()
Date & time in which this sitemap was submitted. Date format is in RFC 3339 format (yyyy-mm-
dd).
- Returns:
- value or
null
for none
-
setLastSubmitted
public WmxSitemap setLastSubmitted(DateTime lastSubmitted)
Date & time in which this sitemap was submitted. Date format is in RFC 3339 format (yyyy-mm-
dd).
- Parameters:
lastSubmitted
- lastSubmitted or null
for none
-
getPath
public String getPath()
The url of the sitemap.
- Returns:
- value or
null
for none
-
setPath
public WmxSitemap setPath(String path)
The url of the sitemap.
- Parameters:
path
- path or null
for none
-
getType
public String getType()
The type of the sitemap. For example: rssFeed.
- Returns:
- value or
null
for none
-
setType
public WmxSitemap setType(String type)
The type of the sitemap. For example: rssFeed.
- Parameters:
type
- type or null
for none
-
getWarnings
public Long getWarnings()
Number of warnings for the sitemap. These are generally non-critical issues with URLs in the
sitemaps.
- Returns:
- value or
null
for none
-
setWarnings
public WmxSitemap setWarnings(Long warnings)
Number of warnings for the sitemap. These are generally non-critical issues with URLs in the
sitemaps.
- Parameters:
warnings
- warnings or null
for none
-
set
public WmxSitemap set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public WmxSitemap clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.