Interface AnnotationSpecSetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnnotationSpecSet,AnnotationSpecSet.Builder
@Generated
public interface AnnotationSpecSetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAnnotationSpecs(int index) Required.intRequired.Required.getAnnotationSpecsOrBuilder(int index) Required.List<? extends AnnotationSpecOrBuilder>Required.getBlockingResources(int index) Output only.com.google.protobuf.ByteStringgetBlockingResourcesBytes(int index) Output only.intOutput only.Output only.Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.getName()Output only.com.google.protobuf.ByteStringOutput 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. The AnnotationSpecSet resource name in the following format: "projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. The AnnotationSpecSet resource name in the following format: "projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"string name = 1;- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
string display_name = 2;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
string display_name = 2;- Returns:
- The bytes for displayName.
-
getDescription
String getDescription()Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
string description = 3;- Returns:
- The bytes for description.
-
getAnnotationSpecsList
List<AnnotationSpec> getAnnotationSpecsList()Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4; -
getAnnotationSpecs
Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4; -
getAnnotationSpecsCount
int getAnnotationSpecsCount()Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4; -
getAnnotationSpecsOrBuilderList
List<? extends AnnotationSpecOrBuilder> getAnnotationSpecsOrBuilderList()Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4; -
getAnnotationSpecsOrBuilder
Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
repeated .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_specs = 4; -
getBlockingResourcesList
Output only. The names of any related resources that are blocking changes to the annotation spec set.
repeated string blocking_resources = 5;- Returns:
- A list containing the blockingResources.
-
getBlockingResourcesCount
int getBlockingResourcesCount()Output only. The names of any related resources that are blocking changes to the annotation spec set.
repeated string blocking_resources = 5;- Returns:
- The count of blockingResources.
-
getBlockingResources
Output only. The names of any related resources that are blocking changes to the annotation spec set.
repeated string blocking_resources = 5;- 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 annotation spec set.
repeated string blocking_resources = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the blockingResources at the given index.
-