public static final class AnnotatedDataset.Builder extends com.google.protobuf.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.AnnotatedDatasetgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotatedDataset.Builder>public AnnotatedDataset.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotatedDataset.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotatedDataset.Builder>public AnnotatedDataset getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AnnotatedDataset build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AnnotatedDataset buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AnnotatedDataset.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotatedDataset.Builder>public AnnotatedDataset.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotatedDataset.Builder>public AnnotatedDataset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotatedDataset.Builder>public AnnotatedDataset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotatedDataset.Builder>public AnnotatedDataset.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotatedDataset.Builder>public AnnotatedDataset.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotatedDataset.Builder>public AnnotatedDataset.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AnnotatedDataset.Builder>public AnnotatedDataset.Builder mergeFrom(AnnotatedDataset other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotatedDataset.Builder>public AnnotatedDataset.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AnnotatedDataset.Builder>IOExceptionpublic String getName()
Output only.
AnnotatedDataset resource name in format of:
projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
{annotated_dataset_id}
string name = 1;getName in interface AnnotatedDatasetOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only.
AnnotatedDataset resource name in format of:
projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
{annotated_dataset_id}
string name = 1;getNameBytes in interface AnnotatedDatasetOrBuilderpublic 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;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;public AnnotatedDataset.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only.
AnnotatedDataset resource name in format of:
projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
{annotated_dataset_id}
string name = 1;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;getDisplayName in interface AnnotatedDatasetOrBuilderpublic com.google.protobuf.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;getDisplayNameBytes in interface AnnotatedDatasetOrBuilderpublic 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;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;public AnnotatedDataset.Builder setDisplayNameBytes(com.google.protobuf.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;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;getDescription in interface AnnotatedDatasetOrBuilderpublic com.google.protobuf.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;getDescriptionBytes in interface AnnotatedDatasetOrBuilderpublic 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;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;public AnnotatedDataset.Builder setDescriptionBytes(com.google.protobuf.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;public int getAnnotationSourceValue()
Output only. Source of the annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSource annotation_source = 3;getAnnotationSourceValue in interface AnnotatedDatasetOrBuilderpublic AnnotatedDataset.Builder setAnnotationSourceValue(int value)
Output only. Source of the annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSource annotation_source = 3;public AnnotationSource getAnnotationSource()
Output only. Source of the annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSource annotation_source = 3;getAnnotationSource in interface AnnotatedDatasetOrBuilderpublic AnnotatedDataset.Builder setAnnotationSource(AnnotationSource value)
Output only. Source of the annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSource annotation_source = 3;public AnnotatedDataset.Builder clearAnnotationSource()
Output only. Source of the annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSource annotation_source = 3;public int getAnnotationTypeValue()
Output only. Type of the annotation. It is specified when starting labeling task.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 8;getAnnotationTypeValue in interface AnnotatedDatasetOrBuilderpublic 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;public AnnotationType getAnnotationType()
Output only. Type of the annotation. It is specified when starting labeling task.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 8;getAnnotationType in interface AnnotatedDatasetOrBuilderpublic 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;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;public long getExampleCount()
Output only. Number of examples in the annotated dataset.
int64 example_count = 4;getExampleCount in interface AnnotatedDatasetOrBuilderpublic AnnotatedDataset.Builder setExampleCount(long value)
Output only. Number of examples in the annotated dataset.
int64 example_count = 4;public AnnotatedDataset.Builder clearExampleCount()
Output only. Number of examples in the annotated dataset.
int64 example_count = 4;public long getCompletedExampleCount()
Output only. Number of examples that have annotation in the annotated dataset.
int64 completed_example_count = 5;getCompletedExampleCount in interface AnnotatedDatasetOrBuilderpublic AnnotatedDataset.Builder setCompletedExampleCount(long value)
Output only. Number of examples that have annotation in the annotated dataset.
int64 completed_example_count = 5;public AnnotatedDataset.Builder clearCompletedExampleCount()
Output only. Number of examples that have annotation in the annotated dataset.
int64 completed_example_count = 5;public boolean hasLabelStats()
Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;hasLabelStats in interface AnnotatedDatasetOrBuilderpublic LabelStats getLabelStats()
Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;getLabelStats in interface AnnotatedDatasetOrBuilderpublic AnnotatedDataset.Builder setLabelStats(LabelStats value)
Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;public AnnotatedDataset.Builder setLabelStats(LabelStats.Builder builderForValue)
Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;public AnnotatedDataset.Builder mergeLabelStats(LabelStats value)
Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;public AnnotatedDataset.Builder clearLabelStats()
Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;public LabelStats.Builder getLabelStatsBuilder()
Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;public LabelStatsOrBuilder getLabelStatsOrBuilder()
Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;getLabelStatsOrBuilder in interface AnnotatedDatasetOrBuilderpublic boolean hasCreateTime()
Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;hasCreateTime in interface AnnotatedDatasetOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;getCreateTime in interface AnnotatedDatasetOrBuilderpublic AnnotatedDataset.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;public AnnotatedDataset.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;public AnnotatedDataset.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;public AnnotatedDataset.Builder clearCreateTime()
Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;getCreateTimeOrBuilder in interface AnnotatedDatasetOrBuilderpublic boolean hasMetadata()
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;hasMetadata in interface AnnotatedDatasetOrBuilderpublic AnnotatedDatasetMetadata getMetadata()
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;getMetadata in interface AnnotatedDatasetOrBuilderpublic AnnotatedDataset.Builder setMetadata(AnnotatedDatasetMetadata value)
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;public AnnotatedDataset.Builder setMetadata(AnnotatedDatasetMetadata.Builder builderForValue)
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;public AnnotatedDataset.Builder mergeMetadata(AnnotatedDatasetMetadata value)
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;public AnnotatedDataset.Builder clearMetadata()
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;public AnnotatedDatasetMetadata.Builder getMetadataBuilder()
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;public AnnotatedDatasetMetadataOrBuilder getMetadataOrBuilder()
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;getMetadataOrBuilder in interface AnnotatedDatasetOrBuilderpublic final AnnotatedDataset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotatedDataset.Builder>public final AnnotatedDataset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotatedDataset.Builder>Copyright © 2019 Google LLC. All rights reserved.