public class DatasetInfo extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DatasetInfo.Builder
A builder for
DatasetInfo objects. |
Modifier and Type | Method and Description |
---|---|
List<Acl> |
acl()
Deprecated.
|
static DatasetInfo.Builder |
builder(DatasetId datasetId)
Deprecated.
|
static DatasetInfo.Builder |
builder(String datasetId)
Deprecated.
|
static DatasetInfo.Builder |
builder(String projectId,
String datasetId)
Deprecated.
|
Long |
creationTime()
Deprecated.
|
DatasetId |
datasetId()
Deprecated.
|
Long |
defaultTableLifetime()
Deprecated.
|
String |
description()
Deprecated.
|
boolean |
equals(Object obj) |
String |
etag()
Deprecated.
|
String |
friendlyName()
Deprecated.
|
String |
generatedId()
Deprecated.
|
List<Acl> |
getAcl()
Returns the dataset's access control configuration.
|
Long |
getCreationTime()
Returns the time when this dataset was created, in milliseconds since the epoch.
|
DatasetId |
getDatasetId()
Returns the dataset identity.
|
Long |
getDefaultTableLifetime()
Returns the default lifetime of all tables in the dataset, in milliseconds.
|
String |
getDescription()
Returns a user-friendly description for the dataset.
|
String |
getEtag()
Returns the hash of the dataset resource.
|
String |
getFriendlyName()
Returns a user-friendly name for the dataset.
|
String |
getGeneratedId()
Returns the service-generated id for the dataset.
|
Long |
getLastModified()
Returns the time when this dataset or any of its tables was last modified, in milliseconds
since the epoch.
|
String |
getLocation()
Returns the geographic location where the dataset should reside.
|
String |
getSelfLink()
Returns an URL that can be used to access the resource again.
|
int |
hashCode() |
Long |
lastModified()
Deprecated.
|
String |
location()
Deprecated.
|
static DatasetInfo.Builder |
newBuilder(DatasetId datasetId)
Returns a builder for a
DatasetInfo object given it's identity. |
static DatasetInfo.Builder |
newBuilder(String datasetId)
Returns a builder for a
DatasetInfo object given it's user-defined id. |
static DatasetInfo.Builder |
newBuilder(String projectId,
String datasetId)
Returns a builder for the DatasetInfo object given it's user-defined project and dataset ids.
|
static DatasetInfo |
of(DatasetId datasetId)
Returns a
DatasetInfo object given it's identity. |
static DatasetInfo |
of(String datasetId)
Returns a
DatasetInfo object given it's user-defined id. |
String |
selfLink()
Deprecated.
|
DatasetInfo.Builder |
toBuilder()
Returns a builder for the dataset object.
|
String |
toString() |
@Deprecated public DatasetId datasetId()
public DatasetId getDatasetId()
@Deprecated public List<Acl> acl()
public List<Acl> getAcl()
@Deprecated public Long creationTime()
public Long getCreationTime()
@Deprecated public Long defaultTableLifetime()
public Long getDefaultTableLifetime()
@Deprecated public String description()
public String getDescription()
@Deprecated public String etag()
public String getEtag()
@Deprecated public String friendlyName()
public String getFriendlyName()
@Deprecated public String generatedId()
public String getGeneratedId()
@Deprecated public Long lastModified()
public Long getLastModified()
@Deprecated public String location()
public String getLocation()
@Deprecated public String selfLink()
public String getSelfLink()
public DatasetInfo.Builder toBuilder()
@Deprecated public static DatasetInfo.Builder builder(DatasetId datasetId)
DatasetInfo
object given it's identity.public static DatasetInfo.Builder newBuilder(DatasetId datasetId)
DatasetInfo
object given it's identity.@Deprecated public static DatasetInfo.Builder builder(String datasetId)
DatasetInfo
object given it's user-defined id.public static DatasetInfo.Builder newBuilder(String datasetId)
DatasetInfo
object given it's user-defined id.@Deprecated public static DatasetInfo.Builder builder(String projectId, String datasetId)
public static DatasetInfo.Builder newBuilder(String projectId, String datasetId)
public static DatasetInfo of(DatasetId datasetId)
DatasetInfo
object given it's identity.public static DatasetInfo of(String datasetId)
DatasetInfo
object given it's user-defined id.Copyright © 2016 Google. All rights reserved.