Interface AnnotationSpecOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    int
    Output only.
    Output only.
    com.google.protobuf.ByteString
    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 Details

    • 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.