Interface AnnotatedDatasetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnnotatedDataset,AnnotatedDataset.Builder
@Generated
public interface AnnotatedDatasetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.intOutput only.Output only.intOutput only.getBlockingResources(int index) Output only.com.google.protobuf.ByteStringgetBlockingResourcesBytes(int index) Output only.intOutput only.Output only.longOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.longOutput only.Output only.Output only.Output only.Output only.getName()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}string name = 1;- Returns:
- The name.
-
getNameBytes
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;- Returns:
- The bytes for name.
-
getDisplayName
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;- Returns:
- The displayName.
-
getDisplayNameBytes
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;- Returns:
- The bytes for displayName.
-
getDescription
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;- Returns:
- The description.
-
getDescriptionBytes
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;- Returns:
- The bytes for description.
-
getAnnotationSourceValue
int getAnnotationSourceValue()Output only. Source of the annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSource annotation_source = 3;- Returns:
- The enum numeric value on the wire for annotationSource.
-
getAnnotationSource
AnnotationSource getAnnotationSource()Output only. Source of the annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSource annotation_source = 3;- Returns:
- The annotationSource.
-
getAnnotationTypeValue
int getAnnotationTypeValue()Output only. Type of the annotation. It is specified when starting labeling task.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 8;- Returns:
- The enum numeric value on the wire for annotationType.
-
getAnnotationType
AnnotationType getAnnotationType()Output only. Type of the annotation. It is specified when starting labeling task.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 8;- Returns:
- The annotationType.
-
getExampleCount
long getExampleCount()Output only. Number of examples in the annotated dataset.
int64 example_count = 4;- Returns:
- The exampleCount.
-
getCompletedExampleCount
long getCompletedExampleCount()Output only. Number of examples that have annotation in the annotated dataset.
int64 completed_example_count = 5;- Returns:
- The completedExampleCount.
-
hasLabelStats
boolean hasLabelStats()Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;- Returns:
- Whether the labelStats field is set.
-
getLabelStats
LabelStats getLabelStats()Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6;- Returns:
- The labelStats.
-
getLabelStatsOrBuilder
LabelStatsOrBuilder getLabelStatsOrBuilder()Output only. Per label statistics.
.google.cloud.datalabeling.v1beta1.LabelStats label_stats = 6; -
hasCreateTime
boolean hasCreateTime()Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time the AnnotatedDataset was created.
.google.protobuf.Timestamp create_time = 7; -
hasMetadata
boolean hasMetadata()Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;- Returns:
- Whether the metadata field is set.
-
getMetadata
AnnotatedDatasetMetadata getMetadata()Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10;- Returns:
- The metadata.
-
getMetadataOrBuilder
AnnotatedDatasetMetadataOrBuilder getMetadataOrBuilder()Output only. Additional information about AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata metadata = 10; -
getBlockingResourcesList
Output only. The names of any related resources that are blocking changes to the annotated dataset.
repeated string blocking_resources = 11;- Returns:
- A list containing the blockingResources.
-
getBlockingResourcesCount
int getBlockingResourcesCount()Output only. The names of any related resources that are blocking changes to the annotated dataset.
repeated string blocking_resources = 11;- Returns:
- The count of blockingResources.
-
getBlockingResources
Output only. The names of any related resources that are blocking changes to the annotated dataset.
repeated string blocking_resources = 11;- Parameters:
index- The index of the element to return.- Returns:
- The blockingResources at the given index.
-
getBlockingResourcesBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the blockingResources at the given index.
-