Interface AnnotationSpecSetOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    AnnotationSpecSet, AnnotationSpecSet.Builder

    public interface AnnotationSpecSetOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • 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

        AnnotationSpec getAnnotationSpecs​(int index)
         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

        AnnotationSpecOrBuilder getAnnotationSpecsOrBuilder​(int index)
         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

        List<String> 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

        String getBlockingResources​(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 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.