Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2010 Google Inc.
   *
   * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
   * in compliance with the License. You may obtain a copy of the License at
   *
   * http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software distributed under the License
  * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  * or implied. See the License for the specific language governing permissions and limitations under
  * the License.
  */
 /*
  * This code was generated by https://code.google.com/p/google-apis-client-generator/
  * (build: 2015-03-26 20:30:19 UTC)
  * on 2015-06-25 at 10:52:35 UTC 
  * Modify at your own risk.
  */
 
 package com.google.api.services.webmasters.model;

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 Webmaster Tools API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON

Author(s):
Google, Inc.
 
 @SuppressWarnings("javadoc")
 public final class WmxSitemap extends com.google.api.client.json.GenericJson {

  
The various content types in the sitemap. The value may be null.
 
 
   static {
     // hack to force ProGuard to consider WmxSitemapContent used, since otherwise it would be stripped out
     // see http://code.google.com/p/google-api-java-client/issues/detail?id=528
     com.google.api.client.util.Data.nullOf(WmxSitemapContent.class);
   }

  
Number of errors in the sitemap. These are issues with the sitemap itself that need to be fixed before it can be processed correctly. The value may be null.
 
   private java.lang.Long errors;

  
If true, the sitemap has not been processed. The value may be null.
 
   private java.lang.Boolean isPending;

  
If true, the sitemap is a collection of sitemaps. The value may be null.
 
   private java.lang.Boolean isSitemapsIndex;

  
Date & time in which this sitemap was last downloaded. Date format is in RFC 3339 format (yyyy- mm-dd). The value may be null.
 
Date & time in which this sitemap was submitted. Date format is in RFC 3339 format (yyyy-mm- dd). The value may be null.
 
The url of the sitemap. The value may be null.
 
   private java.lang.String path;

  
The type of the sitemap. For example: rssFeed. The value may be null.
 
   private java.lang.String type;

  
Number of warnings for the sitemap. These are generally non-critical issues with URLs in the sitemaps. The value may be null.
  private java.lang.Long warnings;

  
The various content types in the sitemap.

Returns:
value or null for none
    return ;
  }

  
The various content types in the sitemap.

Parameters:
contents contents or null for none
    this. = contents;
    return this;
  }

  
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
  public java.lang.Long getErrors() {
    return ;
  }

  
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
  public WmxSitemap setErrors(java.lang.Long errors) {
    this. = errors;
    return this;
  }

  
If true, the sitemap has not been processed.

Returns:
value or null for none
  public java.lang.Boolean getIsPending() {
    return ;
  }

  
If true, the sitemap has not been processed.

Parameters:
isPending isPending or null for none
  public WmxSitemap setIsPending(java.lang.Boolean isPending) {
    this. = isPending;
    return this;
  }

  
If true, the sitemap is a collection of sitemaps.

Returns:
value or null for none
    return ;
  }

  
If true, the sitemap is a collection of sitemaps.

Parameters:
isSitemapsIndex isSitemapsIndex or null for none
  public WmxSitemap setIsSitemapsIndex(java.lang.Boolean isSitemapsIndex) {
    this. = isSitemapsIndex;
    return this;
  }

  
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
    return ;
  }

  
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
  public WmxSitemap setLastDownloaded(com.google.api.client.util.DateTime lastDownloaded) {
    this. = lastDownloaded;
    return this;
  }

  
Date & time in which this sitemap was submitted. Date format is in RFC 3339 format (yyyy-mm- dd).

Returns:
value or null for none
    return ;
  }

  
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
    this. = lastSubmitted;
    return this;
  }

  
The url of the sitemap.

Returns:
value or null for none
  public java.lang.String getPath() {
    return ;
  }

  
The url of the sitemap.

Parameters:
path path or null for none
  public WmxSitemap setPath(java.lang.String path) {
    this. = path;
    return this;
  }

  
The type of the sitemap. For example: rssFeed.

Returns:
value or null for none
  public java.lang.String getType() {
    return ;
  }

  
The type of the sitemap. For example: rssFeed.

Parameters:
type type or null for none
  public WmxSitemap setType(java.lang.String type) {
    this. = type;
    return this;
  }

  
Number of warnings for the sitemap. These are generally non-critical issues with URLs in the sitemaps.

Returns:
value or null for none
  public java.lang.Long getWarnings() {
    return ;
  }

  
Number of warnings for the sitemap. These are generally non-critical issues with URLs in the sitemaps.

Parameters:
warnings warnings or null for none
  public WmxSitemap setWarnings(java.lang.Long warnings) {
    this. = warnings;
    return this;
  }
  public WmxSitemap set(String fieldNameObject value) {
    return (WmxSitemapsuper.set(fieldNamevalue);
  }
  public WmxSitemap clone() {
    return (WmxSitemapsuper.clone();
  }
New to GrepCode? Check out our FAQ X