- 0.175.0 (latest)
- 0.174.0
- 0.173.0
- 0.172.0
- 0.171.0
- 0.169.0
- 0.168.0
- 0.167.0
- 0.166.0
- 0.165.0
- 0.164.0
- 0.163.0
- 0.162.0
- 0.161.0
- 0.160.0
- 0.159.0
- 0.157.0
- 0.156.0
- 0.155.0
- 0.154.0
- 0.153.0
- 0.152.0
- 0.151.0
- 0.150.0
- 0.149.0
- 0.148.0
- 0.147.0
- 0.144.0
- 0.143.0
- 0.142.0
- 0.141.0
- 0.140.0
- 0.139.0
- 0.138.0
- 0.137.0
- 0.136.0
- 0.135.0
- 0.134.0
- 0.133.0
- 0.132.0
- 0.131.0
- 0.129.0
- 0.128.0
- 0.127.0
- 0.126.0
- 0.125.0
- 0.124.0
- 0.123.7
- 0.122.11
public static final class Dataset.Builder extends GeneratedMessageV3.Builder<Dataset.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Dataset.BuilderImplements
DatasetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllBlockingResources(Iterable<String> values)
public Dataset.Builder addAllBlockingResources(Iterable<String> values)
Output only. The names of any related resources that are blocking changes to the dataset.
repeated string blocking_resources = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The blockingResources to add. |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
This builder for chaining. |
addAllInputConfigs(Iterable<? extends InputConfig> values)
public Dataset.Builder addAllInputConfigs(Iterable<? extends InputConfig> values)
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 |
values |
Iterable<? extends com.google.cloud.datalabeling.v1beta1.InputConfig> |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
addBlockingResources(String value)
public Dataset.Builder addBlockingResources(String value)
Output only. The names of any related resources that are blocking changes to the dataset.
repeated string blocking_resources = 6;
Parameter | |
---|---|
Name | Description |
value |
String The blockingResources to add. |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
This builder for chaining. |
addBlockingResourcesBytes(ByteString value)
public Dataset.Builder addBlockingResourcesBytes(ByteString value)
Output only. The names of any related resources that are blocking changes to the dataset.
repeated string blocking_resources = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the blockingResources to add. |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
This builder for chaining. |
addInputConfigs(InputConfig value)
public Dataset.Builder addInputConfigs(InputConfig value)
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 |
value |
InputConfig |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
addInputConfigs(InputConfig.Builder builderForValue)
public Dataset.Builder addInputConfigs(InputConfig.Builder builderForValue)
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 |
builderForValue |
InputConfig.Builder |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
addInputConfigs(int index, InputConfig value)
public Dataset.Builder addInputConfigs(int index, InputConfig value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
InputConfig |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
addInputConfigs(int index, InputConfig.Builder builderForValue)
public Dataset.Builder addInputConfigs(int index, InputConfig.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
InputConfig.Builder |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
addInputConfigsBuilder()
public InputConfig.Builder addInputConfigsBuilder()
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 |
InputConfig.Builder |
addInputConfigsBuilder(int index)
public InputConfig.Builder addInputConfigsBuilder(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 |
Returns | |
---|---|
Type | Description |
InputConfig.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Dataset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
build()
public Dataset build()
Returns | |
---|---|
Type | Description |
Dataset |
buildPartial()
public Dataset buildPartial()
Returns | |
---|---|
Type | Description |
Dataset |
clear()
public Dataset.Builder clear()
Returns | |
---|---|
Type | Description |
Dataset.Builder |
clearBlockingResources()
public Dataset.Builder clearBlockingResources()
Output only. The names of any related resources that are blocking changes to the dataset.
repeated string blocking_resources = 6;
Returns | |
---|---|
Type | Description |
Dataset.Builder |
This builder for chaining. |
clearCreateTime()
public Dataset.Builder clearCreateTime()
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
Dataset.Builder |
clearDataItemCount()
public Dataset.Builder clearDataItemCount()
Output only. The number of data items in the dataset.
int64 data_item_count = 7;
Returns | |
---|---|
Type | Description |
Dataset.Builder |
This builder for chaining. |
clearDescription()
public Dataset.Builder clearDescription()
Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
string description = 3;
Returns | |
---|---|
Type | Description |
Dataset.Builder |
This builder for chaining. |
clearDisplayName()
public Dataset.Builder clearDisplayName()
Required. The display name of the dataset. Maximum of 64 characters.
string display_name = 2;
Returns | |
---|---|
Type | Description |
Dataset.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Dataset.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
clearInputConfigs()
public Dataset.Builder clearInputConfigs()
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 |
Dataset.Builder |
clearName()
public Dataset.Builder clearName()
Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
string name = 1;
Returns | |
---|---|
Type | Description |
Dataset.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Dataset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
clone()
public Dataset.Builder clone()
Returns | |
---|---|
Type | Description |
Dataset.Builder |
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;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the blockingResources. |
getCreateTime()
public Timestamp getCreateTime()
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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()
Returns | |
---|---|
Type | Description |
Dataset |
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
getInputConfigs(int index)
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 |
Returns | |
---|---|
Type | Description |
InputConfig |
getInputConfigsBuilder(int index)
public InputConfig.Builder getInputConfigsBuilder(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 |
Returns | |
---|---|
Type | Description |
InputConfig.Builder |
getInputConfigsBuilderList()
public List<InputConfig.Builder> getInputConfigsBuilderList()
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<Builder> |
getInputConfigsCount()
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 |
getInputConfigsList()
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;
Returns | |
---|---|
Type | Description |
List<InputConfig> |
getInputConfigsOrBuilder(int index)
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 |
Returns | |
---|---|
Type | Description |
InputConfigOrBuilder |
getInputConfigsOrBuilderList()
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()
public String 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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Dataset.Builder mergeCreateTime(Timestamp value)
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
mergeFrom(Dataset other)
public Dataset.Builder mergeFrom(Dataset other)
Parameter | |
---|---|
Name | Description |
other |
Dataset |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Dataset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Dataset.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Dataset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
removeInputConfigs(int index)
public Dataset.Builder removeInputConfigs(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 |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
setBlockingResources(int index, String value)
public Dataset.Builder setBlockingResources(int index, String value)
Output only. The names of any related resources that are blocking changes to the dataset.
repeated string blocking_resources = 6;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The blockingResources to set. |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public Dataset.Builder setCreateTime(Timestamp value)
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Dataset.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
setDataItemCount(long value)
public Dataset.Builder setDataItemCount(long value)
Output only. The number of data items in the dataset.
int64 data_item_count = 7;
Parameter | |
---|---|
Name | Description |
value |
long The dataItemCount to set. |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
This builder for chaining. |
setDescription(String value)
public Dataset.Builder setDescription(String value)
Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
string description = 3;
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Dataset.Builder setDescriptionBytes(ByteString value)
Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
string description = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
This builder for chaining. |
setDisplayName(String value)
public Dataset.Builder setDisplayName(String value)
Required. The display name of the dataset. Maximum of 64 characters.
string display_name = 2;
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Dataset.Builder setDisplayNameBytes(ByteString value)
Required. The display name of the dataset. Maximum of 64 characters.
string display_name = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Dataset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
setInputConfigs(int index, InputConfig value)
public Dataset.Builder setInputConfigs(int index, InputConfig value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
InputConfig |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
setInputConfigs(int index, InputConfig.Builder builderForValue)
public Dataset.Builder setInputConfigs(int index, InputConfig.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
InputConfig.Builder |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
setName(String value)
public Dataset.Builder setName(String value)
Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Dataset.Builder setNameBytes(ByteString value)
Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Dataset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Dataset.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Dataset.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Dataset.Builder |