public final class AnnotatedDataset extends com.google.protobuf.GeneratedMessageV3 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| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotatedDataset.Builder
AnnotatedDataset is a set holding annotations for data in a Dataset.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATION_SOURCE_FIELD_NUMBER |
static int |
ANNOTATION_TYPE_FIELD_NUMBER |
static int |
BLOCKING_RESOURCES_FIELD_NUMBER |
static int |
COMPLETED_EXAMPLE_COUNT_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
EXAMPLE_COUNT_FIELD_NUMBER |
static int |
LABEL_STATS_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AnnotationSource |
getAnnotationSource()
Output only.
|
int |
getAnnotationSourceValue()
Output only.
|
AnnotationType |
getAnnotationType()
Output only.
|
int |
getAnnotationTypeValue()
Output only.
|
String |
getBlockingResources(int index)
Output only.
|
com.google.protobuf.ByteString |
getBlockingResourcesBytes(int index)
Output only.
|
int |
getBlockingResourcesCount()
Output only.
|
com.google.protobuf.ProtocolStringList |
getBlockingResourcesList()
Output only.
|
long |
getCompletedExampleCount()
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static AnnotatedDataset |
getDefaultInstance() |
AnnotatedDataset |
getDefaultInstanceForType() |
String |
getDescription()
Output only.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Output only.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Output only.
|
long |
getExampleCount()
Output only.
|
LabelStats |
getLabelStats()
Output only.
|
LabelStatsOrBuilder |
getLabelStatsOrBuilder()
Output only.
|
AnnotatedDatasetMetadata |
getMetadata()
Output only.
|
AnnotatedDatasetMetadataOrBuilder |
getMetadataOrBuilder()
Output only.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<AnnotatedDataset> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasLabelStats()
Output only.
|
boolean |
hasMetadata()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AnnotatedDataset.Builder |
newBuilder() |
static AnnotatedDataset.Builder |
newBuilder(AnnotatedDataset prototype) |
AnnotatedDataset.Builder |
newBuilderForType() |
protected AnnotatedDataset.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static AnnotatedDataset |
parseDelimitedFrom(InputStream input) |
static AnnotatedDataset |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotatedDataset |
parseFrom(byte[] data) |
static AnnotatedDataset |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotatedDataset |
parseFrom(ByteBuffer data) |
static AnnotatedDataset |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotatedDataset |
parseFrom(com.google.protobuf.ByteString data) |
static AnnotatedDataset |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotatedDataset |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AnnotatedDataset |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotatedDataset |
parseFrom(InputStream input) |
static AnnotatedDataset |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AnnotatedDataset> |
parser() |
AnnotatedDataset.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int ANNOTATION_SOURCE_FIELD_NUMBER
public static final int ANNOTATION_TYPE_FIELD_NUMBER
public static final int EXAMPLE_COUNT_FIELD_NUMBER
public static final int COMPLETED_EXAMPLE_COUNT_FIELD_NUMBER
public static final int LABEL_STATS_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int BLOCKING_RESOURCES_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 int getAnnotationSourceValue()
Output only. Source of the annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSource annotation_source = 3;getAnnotationSourceValue in interface AnnotatedDatasetOrBuilderpublic AnnotationSource getAnnotationSource()
Output only. Source of the annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSource annotation_source = 3;getAnnotationSource in interface AnnotatedDatasetOrBuilderpublic 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 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 long getExampleCount()
Output only. Number of examples in the annotated dataset.
int64 example_count = 4;getExampleCount in interface AnnotatedDatasetOrBuilderpublic long getCompletedExampleCount()
Output only. Number of examples that have annotation in the annotated dataset.
int64 completed_example_count = 5;getCompletedExampleCount in interface AnnotatedDatasetOrBuilderpublic 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 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 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 AnnotatedDatasetMetadataOrBuilder getMetadataOrBuilder()
Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;getMetadataOrBuilder in interface AnnotatedDatasetOrBuilderpublic com.google.protobuf.ProtocolStringList getBlockingResourcesList()
Output only. The names of any related resources that are blocking changes to the annotated dataset.
repeated string blocking_resources = 11;getBlockingResourcesList in interface AnnotatedDatasetOrBuilderpublic int getBlockingResourcesCount()
Output only. The names of any related resources that are blocking changes to the annotated dataset.
repeated string blocking_resources = 11;getBlockingResourcesCount in interface AnnotatedDatasetOrBuilderpublic 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;getBlockingResources in interface AnnotatedDatasetOrBuilderpublic com.google.protobuf.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;getBlockingResourcesBytes in interface AnnotatedDatasetOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AnnotatedDataset parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotatedDataset parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotatedDataset parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotatedDataset parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotatedDataset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotatedDataset parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotatedDataset parseFrom(InputStream input) throws IOException
IOExceptionpublic static AnnotatedDataset parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AnnotatedDataset parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AnnotatedDataset parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AnnotatedDataset parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AnnotatedDataset parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AnnotatedDataset.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AnnotatedDataset.Builder newBuilder()
public static AnnotatedDataset.Builder newBuilder(AnnotatedDataset prototype)
public AnnotatedDataset.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AnnotatedDataset.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AnnotatedDataset getDefaultInstance()
public static com.google.protobuf.Parser<AnnotatedDataset> parser()
public com.google.protobuf.Parser<AnnotatedDataset> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AnnotatedDataset getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.