Interface AnnotationSpecOrBuilder

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

    public interface AnnotationSpecOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getDisplayName()
      Required.
      com.google.protobuf.ByteString getDisplayNameBytes()
      Required.
      int getExampleCount()
      Output only.
      String getName()
      Output only.
      com.google.protobuf.ByteString getNameBytes()
      Output only.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getName

        String getName()
         Output only. Resource name of the annotation spec.
         Form:
         'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Output only. Resource name of the annotation spec.
         Form:
         'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'
         
        string name = 1;
        Returns:
        The bytes for name.
      • getDisplayName

        String getDisplayName()
         Required. The name of the annotation spec to show in the interface. The name can be
         up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`.
         
        string display_name = 2;
        Returns:
        The displayName.
      • getDisplayNameBytes

        com.google.protobuf.ByteString getDisplayNameBytes()
         Required. The name of the annotation spec to show in the interface. The name can be
         up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`.
         
        string display_name = 2;
        Returns:
        The bytes for displayName.
      • getExampleCount

        int getExampleCount()
         Output only. The number of examples in the parent dataset
         labeled by the annotation spec.
         
        int32 example_count = 9;
        Returns:
        The exampleCount.