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

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

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






DeveloperMetadata (Google Sheets API v4-rev20230526-2.0.0)












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

Class DeveloperMetadata

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


    public final class DeveloperMetadata
    extends com.google.api.client.json.GenericJson
    Developer metadata associated with a location or object in a spreadsheet. Developer metadata may be used to associate arbitrary data with various parts of a spreadsheet and will remain associated at those locations as they move around and the spreadsheet is edited. For example, if developer metadata is associated with row 5 and another row is then subsequently inserted above row 5, that original metadata will still be associated with the row it was first associated with (what is now row 6). If the associated object is deleted its metadata is deleted too.

    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

      • DeveloperMetadata

        public DeveloperMetadata()
    • Method Detail

      • getLocation

        public DeveloperMetadataLocation getLocation()
        The location where the metadata is associated.
        Returns:
        value or null for none
      • getMetadataId

        public Integer getMetadataId()
        The spreadsheet-scoped unique ID that identifies the metadata. IDs may be specified when metadata is created, otherwise one will be randomly generated and assigned. Must be positive.
        Returns:
        value or null for none
      • setMetadataId

        public DeveloperMetadata setMetadataId(Integer metadataId)
        The spreadsheet-scoped unique ID that identifies the metadata. IDs may be specified when metadata is created, otherwise one will be randomly generated and assigned. Must be positive.
        Parameters:
        metadataId - metadataId or null for none
      • getMetadataKey

        public String getMetadataKey()
        The metadata key. There may be multiple metadata in a spreadsheet with the same key. Developer metadata must always have a key specified.
        Returns:
        value or null for none
      • setMetadataKey

        public DeveloperMetadata setMetadataKey(String metadataKey)
        The metadata key. There may be multiple metadata in a spreadsheet with the same key. Developer metadata must always have a key specified.
        Parameters:
        metadataKey - metadataKey or null for none
      • getMetadataValue

        public String getMetadataValue()
        Data associated with the metadata's key.
        Returns:
        value or null for none
      • setMetadataValue

        public DeveloperMetadata setMetadataValue(String metadataValue)
        Data associated with the metadata's key.
        Parameters:
        metadataValue - metadataValue or null for none
      • getVisibility

        public String getVisibility()
        The metadata visibility. Developer metadata must always have a visibility specified.
        Returns:
        value or null for none
      • setVisibility

        public DeveloperMetadata setVisibility(String visibility)
        The metadata visibility. Developer metadata must always have a visibility specified.
        Parameters:
        visibility - visibility or null for none
      • clone

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

Copyright © 2011–2023 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy