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

target.apidocs.com.google.api.services.drive.model.LabelField.html Maven / Gradle / Ivy

There is a newer version: v3-rev20241206-2.0.0
Show newest version






LabelField (Google Drive API v3-rev20241027-2.0.0)












com.google.api.services.drive.model

Class LabelField

    • Constructor Detail

      • LabelField

        public LabelField()
    • Method Detail

      • getDateString

        public List<com.google.api.client.util.DateTime> getDateString()
        Only present if valueType is dateString. RFC 3339 formatted date: YYYY-MM-DD.
        Returns:
        value or null for none
      • setDateString

        public LabelField setDateString(List<com.google.api.client.util.DateTime> dateString)
        Only present if valueType is dateString. RFC 3339 formatted date: YYYY-MM-DD.
        Parameters:
        dateString - dateString or null for none
      • getId

        public String getId()
        The identifier of this label field.
        Returns:
        value or null for none
      • setId

        public LabelField setId(String id)
        The identifier of this label field.
        Parameters:
        id - id or null for none
      • getInteger

        public List<Long> getInteger()
        Only present if `valueType` is `integer`.
        Returns:
        value or null for none
      • setInteger

        public LabelField setInteger(List<Long> integer__)
        Only present if `valueType` is `integer`.
        Parameters:
        integer__ - integer__ or null for none
      • getKind

        public String getKind()
        This is always drive#labelField.
        Returns:
        value or null for none
      • setKind

        public LabelField setKind(String kind)
        This is always drive#labelField.
        Parameters:
        kind - kind or null for none
      • getSelection

        public List<String> getSelection()
        Only present if `valueType` is `selection`
        Returns:
        value or null for none
      • setSelection

        public LabelField setSelection(List<String> selection)
        Only present if `valueType` is `selection`
        Parameters:
        selection - selection or null for none
      • getText

        public List<String> getText()
        Only present if `valueType` is `text`.
        Returns:
        value or null for none
      • setText

        public LabelField setText(List<String> text)
        Only present if `valueType` is `text`.
        Parameters:
        text - text or null for none
      • getUser

        public List<User> getUser()
        Only present if `valueType` is `user`.
        Returns:
        value or null for none
      • setUser

        public LabelField setUser(List<User> user)
        Only present if `valueType` is `user`.
        Parameters:
        user - user or null for none
      • getValueType

        public String getValueType()
        The field type. While new values may be supported in the future, the following are currently allowed: * `dateString` * `integer` * `selection` * `text` * `user`
        Returns:
        value or null for none
      • setValueType

        public LabelField setValueType(String valueType)
        The field type. While new values may be supported in the future, the following are currently allowed: * `dateString` * `integer` * `selection` * `text` * `user`
        Parameters:
        valueType - valueType or null for none
      • set

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

        public LabelField 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