- 0.173.0 (latest)
- 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()
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;
Name | Description |
values | Iterable<String> The blockingResources to add. |
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;
Name | Description |
values | Iterable<? extends com.google.cloud.datalabeling.v1beta1.InputConfig> |
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;
Name | Description |
value | String The blockingResources to add. |
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;
Name | Description |
value | ByteString The bytes of the blockingResources to add. |
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;
Name | Description |
value | InputConfig |
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;
Name | Description |
builderForValue | InputConfig.Builder |
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;
Name | Description |
index | int |
value | InputConfig |
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;
Name | Description |
index | int |
builderForValue | InputConfig.Builder |
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;
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;
Name | Description |
index | int |
Type | Description |
InputConfig.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Dataset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Dataset.Builder |
build()
public Dataset build()
Type | Description |
Dataset |
buildPartial()
public Dataset buildPartial()
Type | Description |
Dataset |
clear()
public Dataset.Builder clear()
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;
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;
Type | Description |
Dataset.Builder |
clearDataItemCount()
public Dataset.Builder clearDataItemCount()
Output only. The number of data items in the dataset.
int64 data_item_count = 7;
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;
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;
Type | Description |
Dataset.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Dataset.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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;
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;
Type | Description |
Dataset.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Dataset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Dataset.Builder |
clone()
public Dataset.Builder clone()
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
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;
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
TimestampOrBuilder |
getDataItemCount()
public long getDataItemCount()
Output only. The number of data items in the dataset.
int64 data_item_count = 7;
Type | Description |
long | The dataItemCount. |
getDefaultInstanceForType()
public Dataset getDefaultInstanceForType()
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;
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;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Required. The display name of the dataset. Maximum of 64 characters.
string display_name = 2;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. The display name of the dataset. Maximum of 64 characters.
string display_name = 2;
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;
Name | Description |
index | int |
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;
Name | Description |
index | int |
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;
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;
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;
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;
Name | Description |
index | int |
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;
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;
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;
Type | Description |
ByteString | The bytes for name. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
boolean | Whether the createTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
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;
Name | Description |
value | Timestamp |
Type | Description |
Dataset.Builder |
mergeFrom(Dataset other)
public Dataset.Builder mergeFrom(Dataset other)
Name | Description |
other | Dataset |
Type | Description |
Dataset.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Dataset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Dataset.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Dataset.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Dataset.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Dataset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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;
Name | Description |
index | int |
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;
Name | Description |
index | int The index to set the value at. |
value | String The blockingResources to set. |
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;
Name | Description |
value | Timestamp |
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;
Name | Description |
builderForValue | Builder |
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;
Name | Description |
value | long The dataItemCount to set. |
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;
Name | Description |
value | String The description to set. |
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;
Name | Description |
value | ByteString The bytes for description to set. |
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;
Name | Description |
value | String The displayName to set. |
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;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
Dataset.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Dataset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
index | int |
value | InputConfig |
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;
Name | Description |
index | int |
builderForValue | InputConfig.Builder |
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;
Name | Description |
value | String The name to set. |
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;
Name | Description |
value | ByteString The bytes for name to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Dataset.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Dataset.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Dataset.Builder |