public final class Folder
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 Storage JSON API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
Modifier and Type | Class and Description |
---|---|
static class |
Folder.PendingRenameInfo
Only present if the folder is part of an ongoing rename folder operation.
|
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Folder() |
Modifier and Type | Method and Description |
---|---|
Folder |
clone() |
String |
getBucket()
The name of the bucket containing this folder.
|
com.google.api.client.util.DateTime |
getCreateTime()
The creation time of the folder in RFC 3339 format.
|
String |
getId()
The ID of the folder, including the bucket name, folder name.
|
String |
getKind()
The kind of item this is.
|
Long |
getMetageneration()
The version of the metadata for this folder.
|
String |
getName()
The name of the folder.
|
Folder.PendingRenameInfo |
getPendingRenameInfo()
Only present if the folder is part of an ongoing rename folder operation.
|
String |
getSelfLink()
The link to this folder.
|
com.google.api.client.util.DateTime |
getUpdateTime()
The modification time of the folder metadata in RFC 3339 format.
|
Folder |
set(String fieldName,
Object value) |
Folder |
setBucket(String bucket)
The name of the bucket containing this folder.
|
Folder |
setCreateTime(com.google.api.client.util.DateTime createTime)
The creation time of the folder in RFC 3339 format.
|
Folder |
setId(String id)
The ID of the folder, including the bucket name, folder name.
|
Folder |
setKind(String kind)
The kind of item this is.
|
Folder |
setMetageneration(Long metageneration)
The version of the metadata for this folder.
|
Folder |
setName(String name)
The name of the folder.
|
Folder |
setPendingRenameInfo(Folder.PendingRenameInfo pendingRenameInfo)
Only present if the folder is part of an ongoing rename folder operation.
|
Folder |
setSelfLink(String selfLink)
The link to this folder.
|
Folder |
setUpdateTime(com.google.api.client.util.DateTime updateTime)
The modification time of the folder metadata in RFC 3339 format.
|
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 getBucket()
null
for nonepublic Folder setBucket(String bucket)
bucket
- bucket or null
for nonepublic com.google.api.client.util.DateTime getCreateTime()
null
for nonepublic Folder setCreateTime(com.google.api.client.util.DateTime createTime)
createTime
- createTime or null
for nonepublic String getId()
null
for nonepublic Folder setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic Folder setKind(String kind)
kind
- kind or null
for nonepublic Long getMetageneration()
null
for nonepublic Folder setMetageneration(Long metageneration)
metageneration
- metageneration or null
for nonepublic String getName()
null
for nonepublic Folder setName(String name)
name
- name or null
for nonepublic Folder.PendingRenameInfo getPendingRenameInfo()
null
for nonepublic Folder setPendingRenameInfo(Folder.PendingRenameInfo pendingRenameInfo)
pendingRenameInfo
- pendingRenameInfo or null
for nonepublic String getSelfLink()
null
for nonepublic Folder setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic com.google.api.client.util.DateTime getUpdateTime()
null
for nonepublic Folder setUpdateTime(com.google.api.client.util.DateTime updateTime)
updateTime
- updateTime or null
for nonepublic Folder set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Folder clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.