target.apidocs.com.google.api.services.webmasters.model.WmxSitemapContent.html Maven / Gradle / Ivy
WmxSitemapContent (Search Console API v3-rev20190428-1.30.1)
com.google.api.services.webmasters.model
Class WmxSitemapContent
- 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.WmxSitemapContent
-
public final class WmxSitemapContent
extends GenericJson
Information about the various content types in the 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
WmxSitemapContent()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
WmxSitemapContent
clone()
Long
getIndexed()
The number of URLs from the sitemap that were indexed (of the content type).
Long
getSubmitted()
The number of URLs in the sitemap (of the content type).
String
getType()
The specific type of content in this sitemap.
WmxSitemapContent
set(String fieldName,
Object value)
WmxSitemapContent
setIndexed(Long indexed)
The number of URLs from the sitemap that were indexed (of the content type).
WmxSitemapContent
setSubmitted(Long submitted)
The number of URLs in the sitemap (of the content type).
WmxSitemapContent
setType(String type)
The specific type of content in this 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
-
getIndexed
public Long getIndexed()
The number of URLs from the sitemap that were indexed (of the content type).
- Returns:
- value or
null
for none
-
setIndexed
public WmxSitemapContent setIndexed(Long indexed)
The number of URLs from the sitemap that were indexed (of the content type).
- Parameters:
indexed
- indexed or null
for none
-
getSubmitted
public Long getSubmitted()
The number of URLs in the sitemap (of the content type).
- Returns:
- value or
null
for none
-
setSubmitted
public WmxSitemapContent setSubmitted(Long submitted)
The number of URLs in the sitemap (of the content type).
- Parameters:
submitted
- submitted or null
for none
-
getType
public String getType()
The specific type of content in this sitemap. For example: web.
- Returns:
- value or
null
for none
-
setType
public WmxSitemapContent setType(String type)
The specific type of content in this sitemap. For example: web.
- Parameters:
type
- type or null
for none
-
set
public WmxSitemapContent set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public WmxSitemapContent clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.