public final class XPSFileSpec
extends com.google.api.client.json.GenericJson
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 Cloud Natural Language API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
XPSFileSpec() |
Modifier and Type | Method and Description |
---|---|
XPSFileSpec |
clone() |
String |
getDirectoryPath()
Deprecated.
|
String |
getFileFormat() |
String |
getFileSpec()
Single file path, or file pattern of format "/path/to/file@shard_count".
|
String |
getSingleFilePath()
Deprecated.
|
XPSFileSpec |
set(String fieldName,
Object value) |
XPSFileSpec |
setDirectoryPath(String directoryPath)
Deprecated.
|
XPSFileSpec |
setFileFormat(String fileFormat) |
XPSFileSpec |
setFileSpec(String fileSpec)
Single file path, or file pattern of format "/path/to/file@shard_count".
|
XPSFileSpec |
setSingleFilePath(String singleFilePath)
Deprecated.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getDirectoryPath()
null
for nonepublic XPSFileSpec setDirectoryPath(String directoryPath)
directoryPath
- directoryPath or null
for nonepublic String getFileFormat()
null
for nonepublic XPSFileSpec setFileFormat(String fileFormat)
fileFormat
- fileFormat or null
for nonepublic String getFileSpec()
null
for nonepublic XPSFileSpec setFileSpec(String fileSpec)
fileSpec
- fileSpec or null
for nonepublic String getSingleFilePath()
null
for nonepublic XPSFileSpec setSingleFilePath(String singleFilePath)
singleFilePath
- singleFilePath or null
for nonepublic XPSFileSpec set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public XPSFileSpec clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.