- 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 AnnotatedDataset.Builder extends GeneratedMessageV3.Builder<AnnotatedDataset.Builder> implements AnnotatedDatasetOrBuilder
AnnotatedDataset is a set holding annotations for data in a Dataset. Each labeling task will generate an AnnotatedDataset under the Dataset that the task is requested for.
Protobuf type google.cloud.datalabeling.v1beta1.AnnotatedDataset
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnnotatedDataset.BuilderImplements
AnnotatedDatasetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllBlockingResources(Iterable<String> values)
public AnnotatedDataset.Builder addAllBlockingResources(Iterable<String> values)
Output only. The names of any related resources that are blocking changes to the annotated dataset.
repeated string blocking_resources = 11;
Name | Description |
values | Iterable<String> The blockingResources to add. |
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
addBlockingResources(String value)
public AnnotatedDataset.Builder addBlockingResources(String value)
Output only. The names of any related resources that are blocking changes to the annotated dataset.
repeated string blocking_resources = 11;
Name | Description |
value | String The blockingResources to add. |
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
addBlockingResourcesBytes(ByteString value)
public AnnotatedDataset.Builder addBlockingResourcesBytes(ByteString value)
Output only. The names of any related resources that are blocking changes to the annotated dataset.
repeated string blocking_resources = 11;
Name | Description |
value | ByteString The bytes of the blockingResources to add. |
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnnotatedDataset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AnnotatedDataset.Builder |
build()
public AnnotatedDataset build()
Type | Description |
AnnotatedDataset |
buildPartial()
public AnnotatedDataset buildPartial()
Type | Description |
AnnotatedDataset |
clear()
public AnnotatedDataset.Builder clear()
Type | Description |
AnnotatedDataset.Builder |
clearAnnotationSource()
public AnnotatedDataset.Builder clearAnnotationSource()
Output only. Source of the annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSource annotation_source = 3;
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
clearAnnotationType()
public AnnotatedDataset.Builder clearAnnotationType()
Output only. Type of the annotation. It is specified when starting labeling task.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 8;
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
clearBlockingResources()
public AnnotatedDataset.Builder clearBlockingResources()
Output only. The names of any related resources that are blocking changes to the annotated dataset.
repeated string blocking_resources = 11;
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
clearCompletedExampleCount()
public AnnotatedDataset.Builder clearCompletedExampleCount()
Output only. Number of examples that have annotation in the annotated dataset.
int64 completed_example_count = 5;
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
clearCreateTime()
public AnnotatedDataset.Builder clearCreateTime()
Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
AnnotatedDataset.Builder |
clearDescription()
public AnnotatedDataset.Builder clearDescription()
Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters.
string description = 9;
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
clearDisplayName()
public AnnotatedDataset.Builder clearDisplayName()
Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters.
string display_name = 2;
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
clearExampleCount()
public AnnotatedDataset.Builder clearExampleCount()
Output only. Number of examples in the annotated dataset.
int64 example_count = 4;
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AnnotatedDataset.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AnnotatedDataset.Builder |
clearLabelStats()
public AnnotatedDataset.Builder clearLabelStats()
Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;
Type | Description |
AnnotatedDataset.Builder |
clearMetadata()
public AnnotatedDataset.Builder clearMetadata()
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;
Type | Description |
AnnotatedDataset.Builder |
clearName()
public AnnotatedDataset.Builder clearName()
Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}
string name = 1;
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnnotatedDataset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AnnotatedDataset.Builder |
clone()
public AnnotatedDataset.Builder clone()
Type | Description |
AnnotatedDataset.Builder |
getAnnotationSource()
public AnnotationSource getAnnotationSource()
Output only. Source of the annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSource annotation_source = 3;
Type | Description |
AnnotationSource | The annotationSource. |
getAnnotationSourceValue()
public int getAnnotationSourceValue()
Output only. Source of the annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSource annotation_source = 3;
Type | Description |
int | The enum numeric value on the wire for annotationSource. |
getAnnotationType()
public AnnotationType getAnnotationType()
Output only. Type of the annotation. It is specified when starting labeling task.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 8;
Type | Description |
AnnotationType | The annotationType. |
getAnnotationTypeValue()
public int getAnnotationTypeValue()
Output only. Type of the annotation. It is specified when starting labeling task.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 8;
Type | Description |
int | The enum numeric value on the wire for annotationType. |
getBlockingResources(int index)
public String getBlockingResources(int index)
Output only. The names of any related resources that are blocking changes to the annotated dataset.
repeated string blocking_resources = 11;
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 annotated dataset.
repeated string blocking_resources = 11;
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 annotated dataset.
repeated string blocking_resources = 11;
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 annotated dataset.
repeated string blocking_resources = 11;
Type | Description |
ProtocolStringList | A list containing the blockingResources. |
getCompletedExampleCount()
public long getCompletedExampleCount()
Output only. Number of examples that have annotation in the annotated dataset.
int64 completed_example_count = 5;
Type | Description |
long | The completedExampleCount. |
getCreateTime()
public Timestamp getCreateTime()
Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public AnnotatedDataset getDefaultInstanceForType()
Type | Description |
AnnotatedDataset |
getDescription()
public String getDescription()
Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters.
string description = 9;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters.
string description = 9;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters.
string display_name = 2;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters.
string display_name = 2;
Type | Description |
ByteString | The bytes for displayName. |
getExampleCount()
public long getExampleCount()
Output only. Number of examples in the annotated dataset.
int64 example_count = 4;
Type | Description |
long | The exampleCount. |
getLabelStats()
public LabelStats getLabelStats()
Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;
Type | Description |
LabelStats | The labelStats. |
getLabelStatsBuilder()
public LabelStats.Builder getLabelStatsBuilder()
Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;
Type | Description |
LabelStats.Builder |
getLabelStatsOrBuilder()
public LabelStatsOrBuilder getLabelStatsOrBuilder()
Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;
Type | Description |
LabelStatsOrBuilder |
getMetadata()
public AnnotatedDatasetMetadata getMetadata()
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;
Type | Description |
AnnotatedDatasetMetadata | The metadata. |
getMetadataBuilder()
public AnnotatedDatasetMetadata.Builder getMetadataBuilder()
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;
Type | Description |
AnnotatedDatasetMetadata.Builder |
getMetadataOrBuilder()
public AnnotatedDatasetMetadataOrBuilder getMetadataOrBuilder()
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;
Type | Description |
AnnotatedDatasetMetadataOrBuilder |
getName()
public String getName()
Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}
string name = 1;
Type | Description |
ByteString | The bytes for name. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
boolean | Whether the createTime field is set. |
hasLabelStats()
public boolean hasLabelStats()
Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;
Type | Description |
boolean | Whether the labelStats field is set. |
hasMetadata()
public boolean hasMetadata()
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;
Type | Description |
boolean | Whether the metadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public AnnotatedDataset.Builder mergeCreateTime(Timestamp value)
Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;
Name | Description |
value | Timestamp |
Type | Description |
AnnotatedDataset.Builder |
mergeFrom(AnnotatedDataset other)
public AnnotatedDataset.Builder mergeFrom(AnnotatedDataset other)
Name | Description |
other | AnnotatedDataset |
Type | Description |
AnnotatedDataset.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnnotatedDataset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AnnotatedDataset.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AnnotatedDataset.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AnnotatedDataset.Builder |
mergeLabelStats(LabelStats value)
public AnnotatedDataset.Builder mergeLabelStats(LabelStats value)
Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;
Name | Description |
value | LabelStats |
Type | Description |
AnnotatedDataset.Builder |
mergeMetadata(AnnotatedDatasetMetadata value)
public AnnotatedDataset.Builder mergeMetadata(AnnotatedDatasetMetadata value)
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;
Name | Description |
value | AnnotatedDatasetMetadata |
Type | Description |
AnnotatedDataset.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnnotatedDataset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AnnotatedDataset.Builder |
setAnnotationSource(AnnotationSource value)
public AnnotatedDataset.Builder setAnnotationSource(AnnotationSource value)
Output only. Source of the annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSource annotation_source = 3;
Name | Description |
value | AnnotationSource The annotationSource to set. |
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
setAnnotationSourceValue(int value)
public AnnotatedDataset.Builder setAnnotationSourceValue(int value)
Output only. Source of the annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSource annotation_source = 3;
Name | Description |
value | int The enum numeric value on the wire for annotationSource to set. |
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
setAnnotationType(AnnotationType value)
public AnnotatedDataset.Builder setAnnotationType(AnnotationType value)
Output only. Type of the annotation. It is specified when starting labeling task.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 8;
Name | Description |
value | AnnotationType The annotationType to set. |
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
setAnnotationTypeValue(int value)
public AnnotatedDataset.Builder setAnnotationTypeValue(int value)
Output only. Type of the annotation. It is specified when starting labeling task.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 8;
Name | Description |
value | int The enum numeric value on the wire for annotationType to set. |
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
setBlockingResources(int index, String value)
public AnnotatedDataset.Builder setBlockingResources(int index, String value)
Output only. The names of any related resources that are blocking changes to the annotated dataset.
repeated string blocking_resources = 11;
Name | Description |
index | int The index to set the value at. |
value | String The blockingResources to set. |
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
setCompletedExampleCount(long value)
public AnnotatedDataset.Builder setCompletedExampleCount(long value)
Output only. Number of examples that have annotation in the annotated dataset.
int64 completed_example_count = 5;
Name | Description |
value | long The completedExampleCount to set. |
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
setCreateTime(Timestamp value)
public AnnotatedDataset.Builder setCreateTime(Timestamp value)
Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;
Name | Description |
value | Timestamp |
Type | Description |
AnnotatedDataset.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public AnnotatedDataset.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;
Name | Description |
builderForValue | Builder |
Type | Description |
AnnotatedDataset.Builder |
setDescription(String value)
public AnnotatedDataset.Builder setDescription(String value)
Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters.
string description = 9;
Name | Description |
value | String The description to set. |
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public AnnotatedDataset.Builder setDescriptionBytes(ByteString value)
Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters.
string description = 9;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
setDisplayName(String value)
public AnnotatedDataset.Builder setDisplayName(String value)
Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters.
string display_name = 2;
Name | Description |
value | String The displayName to set. |
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public AnnotatedDataset.Builder setDisplayNameBytes(ByteString value)
Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters.
string display_name = 2;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
setExampleCount(long value)
public AnnotatedDataset.Builder setExampleCount(long value)
Output only. Number of examples in the annotated dataset.
int64 example_count = 4;
Name | Description |
value | long The exampleCount to set. |
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AnnotatedDataset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AnnotatedDataset.Builder |
setLabelStats(LabelStats value)
public AnnotatedDataset.Builder setLabelStats(LabelStats value)
Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;
Name | Description |
value | LabelStats |
Type | Description |
AnnotatedDataset.Builder |
setLabelStats(LabelStats.Builder builderForValue)
public AnnotatedDataset.Builder setLabelStats(LabelStats.Builder builderForValue)
Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;
Name | Description |
builderForValue | LabelStats.Builder |
Type | Description |
AnnotatedDataset.Builder |
setMetadata(AnnotatedDatasetMetadata value)
public AnnotatedDataset.Builder setMetadata(AnnotatedDatasetMetadata value)
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;
Name | Description |
value | AnnotatedDatasetMetadata |
Type | Description |
AnnotatedDataset.Builder |
setMetadata(AnnotatedDatasetMetadata.Builder builderForValue)
public AnnotatedDataset.Builder setMetadata(AnnotatedDatasetMetadata.Builder builderForValue)
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;
Name | Description |
builderForValue | AnnotatedDatasetMetadata.Builder |
Type | Description |
AnnotatedDataset.Builder |
setName(String value)
public AnnotatedDataset.Builder setName(String value)
Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public AnnotatedDataset.Builder setNameBytes(ByteString value)
Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
AnnotatedDataset.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnnotatedDataset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AnnotatedDataset.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnnotatedDataset.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AnnotatedDataset.Builder |