target.apidocs.com.google.api.services.drive.model.File.ContentHints.html Maven / Gradle / Ivy
File.ContentHints (Google Drive API v3-rev20240914-2.0.0)
com.google.api.services.drive.model
Class File.ContentHints
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.drive.model.File.ContentHints
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static class
File.ContentHints.Thumbnail
A thumbnail for the file.
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.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
ContentHints()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
File.ContentHints
clone()
String
getIndexableText()
Text to be indexed for the file to improve fullText queries.
File.ContentHints.Thumbnail
getThumbnail()
A thumbnail for the file.
File.ContentHints
set(String fieldName,
Object value)
File.ContentHints
setIndexableText(String indexableText)
Text to be indexed for the file to improve fullText queries.
File.ContentHints
setThumbnail(File.ContentHints.Thumbnail thumbnail)
A thumbnail for the file.
-
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
-
getIndexableText
public String getIndexableText()
Text to be indexed for the file to improve fullText queries. This is limited to 128KB in length
and may contain HTML elements.
- Returns:
- value or
null
for none
-
setIndexableText
public File.ContentHints setIndexableText(String indexableText)
Text to be indexed for the file to improve fullText queries. This is limited to 128KB in length
and may contain HTML elements.
- Parameters:
indexableText
- indexableText or null
for none
-
getThumbnail
public File.ContentHints.Thumbnail getThumbnail()
A thumbnail for the file. This will only be used if Google Drive cannot generate a standard
thumbnail.
- Returns:
- value or
null
for none
-
setThumbnail
public File.ContentHints setThumbnail(File.ContentHints.Thumbnail thumbnail)
A thumbnail for the file. This will only be used if Google Drive cannot generate a standard
thumbnail.
- Parameters:
thumbnail
- thumbnail or null
for none
-
set
public File.ContentHints set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public File.ContentHints clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.