Send feedback
Class Dataset (0.171.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.171.0 keyboard_arrow_down
public final class Dataset extends GeneratedMessageV3 implements DatasetOrBuilder
Dataset is the resource to hold your data. You can request multiple labeling
tasks for a dataset while each one will generate an AnnotatedDataset.
Protobuf type google.cloud.datalabeling.v1beta1.Dataset
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BLOCKING_RESOURCES_FIELD_NUMBER
public static final int BLOCKING_RESOURCES_FIELD_NUMBER
Field Value
Type
Description
int
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
DATA_ITEM_COUNT_FIELD_NUMBER
public static final int DATA_ITEM_COUNT_FIELD_NUMBER
Field Value
Type
Description
int
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type
Description
int
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int INPUT_CONFIGS_FIELD_NUMBER
Field Value
Type
Description
int
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Dataset getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Dataset . Builder newBuilder ()
newBuilder(Dataset prototype)
public static Dataset . Builder newBuilder ( Dataset prototype )
Parameter
Name
Description
prototype
Dataset
public static Dataset parseDelimitedFrom ( InputStream input )
public static Dataset parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Dataset parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Dataset parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Dataset parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Dataset parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Dataset parseFrom ( CodedInputStream input )
public static Dataset parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Dataset parseFrom ( InputStream input )
public static Dataset parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Dataset parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Dataset parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Dataset> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getBlockingResources(int index)
public String getBlockingResources ( int index )
Output only. The names of any related resources that are blocking changes
to the dataset.
repeated string blocking_resources = 6;
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The blockingResources at the given index.
getBlockingResourcesBytes(int index)
public ByteString getBlockingResourcesBytes ( int index )
Output only. The names of any related resources that are blocking changes
to the dataset.
repeated string blocking_resources = 6;
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the blockingResources at the given index.
getBlockingResourcesCount()
public int getBlockingResourcesCount ()
Output only. The names of any related resources that are blocking changes
to the dataset.
repeated string blocking_resources = 6;
Returns
Type
Description
int
The count of blockingResources.
getBlockingResourcesList()
public ProtocolStringList getBlockingResourcesList ()
Output only. The names of any related resources that are blocking changes
to the dataset.
repeated string blocking_resources = 6;
getCreateTime()
public Timestamp getCreateTime ()
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
Returns
Type
Description
Timestamp
The createTime.
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder ()
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
getDataItemCount()
public long getDataItemCount ()
Output only. The number of data items in the dataset.
int64 data_item_count = 7;
Returns
Type
Description
long
The dataItemCount.
getDefaultInstanceForType()
public Dataset getDefaultInstanceForType ()
getDescription()
public String getDescription ()
Optional. User-provided description of the annotation specification set.
The description can be up to 10000 characters long.
string description = 3;
Returns
Type
Description
String
The description.
getDescriptionBytes()
public ByteString getDescriptionBytes ()
Optional. User-provided description of the annotation specification set.
The description can be up to 10000 characters long.
string description = 3;
Returns
Type
Description
ByteString
The bytes for description.
getDisplayName()
public String getDisplayName ()
Required. The display name of the dataset. Maximum of 64 characters.
string display_name = 2;
Returns
Type
Description
String
The displayName.
getDisplayNameBytes()
public ByteString getDisplayNameBytes ()
Required. The display name of the dataset. Maximum of 64 characters.
string display_name = 2;
Returns
Type
Description
ByteString
The bytes for displayName.
public InputConfig getInputConfigs ( int index )
Output only. This is populated with the original input configs
where ImportData is called. It is available only after the clients
import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
Parameter
Name
Description
index
int
public int getInputConfigsCount ()
Output only. This is populated with the original input configs
where ImportData is called. It is available only after the clients
import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
Returns
Type
Description
int
public List<InputConfig> getInputConfigsList ()
Output only. This is populated with the original input configs
where ImportData is called. It is available only after the clients
import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
public InputConfigOrBuilder getInputConfigsOrBuilder ( int index )
Output only. This is populated with the original input configs
where ImportData is called. It is available only after the clients
import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
Parameter
Name
Description
index
int
public List <? extends InputConfigOrBuilder > getInputConfigsOrBuilderList ()
Output only. This is populated with the original input configs
where ImportData is called. It is available only after the clients
import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
Returns
Type
Description
List <? extends com.google.cloud.datalabeling.v1beta1.InputConfigOrBuilder >
getName()
Output only. Dataset resource name, format is:
projects/{project_id}/datasets/{dataset_id}
string name = 1;
Returns
Type
Description
String
The name.
getNameBytes()
public ByteString getNameBytes ()
Output only. Dataset resource name, format is:
projects/{project_id}/datasets/{dataset_id}
string name = 1;
Returns
Type
Description
ByteString
The bytes for name.
getParserForType()
public Parser<Dataset> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasCreateTime()
public boolean hasCreateTime ()
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
Returns
Type
Description
boolean
Whether the createTime field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Dataset . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Dataset . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Dataset . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]