All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.sheets.v4.model.DimensionRange.html Maven / Gradle / Ivy

There is a newer version: v4-rev20240514-2.0.0
Show newest version






DimensionRange (Google Sheets API v4-rev20240312-2.0.0)












com.google.api.services.sheets.v4.model

Class DimensionRange

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class DimensionRange
    extends com.google.api.client.json.GenericJson
    A range along a single dimension on a sheet. All indexes are zero-based. Indexes are half open: the start index is inclusive and the end index is exclusive. Missing indexes indicate the range is unbounded on that side.

    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 Google Sheets API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • DimensionRange

        public DimensionRange()
    • Method Detail

      • getDimension

        public String getDimension()
        The dimension of the span.
        Returns:
        value or null for none
      • setDimension

        public DimensionRange setDimension(String dimension)
        The dimension of the span.
        Parameters:
        dimension - dimension or null for none
      • getEndIndex

        public Integer getEndIndex()
        The end (exclusive) of the span, or not set if unbounded.
        Returns:
        value or null for none
      • setEndIndex

        public DimensionRange setEndIndex(Integer endIndex)
        The end (exclusive) of the span, or not set if unbounded.
        Parameters:
        endIndex - endIndex or null for none
      • getSheetId

        public Integer getSheetId()
        The sheet this span is on.
        Returns:
        value or null for none
      • setSheetId

        public DimensionRange setSheetId(Integer sheetId)
        The sheet this span is on.
        Parameters:
        sheetId - sheetId or null for none
      • getStartIndex

        public Integer getStartIndex()
        The start (inclusive) of the span, or not set if unbounded.
        Returns:
        value or null for none
      • setStartIndex

        public DimensionRange setStartIndex(Integer startIndex)
        The start (inclusive) of the span, or not set if unbounded.
        Parameters:
        startIndex - startIndex or null for none
      • set

        public DimensionRange set(String fieldName,
                                  Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public DimensionRange clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy