Interface AnnotationOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Resource name of the annotation.
    com.google.protobuf.ByteString
    Resource name of the annotation.
    User provided annotation.
    User provided annotation.
    boolean
    User provided annotation.

    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()
       Resource name of the annotation.
       Format:
       `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}`
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Resource name of the annotation.
       Format:
       `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}`
       
      string name = 1;
      Returns:
      The bytes for name.
    • hasUserSpecifiedAnnotation

      boolean hasUserSpecifiedAnnotation()
       User provided annotation.
       
      .google.cloud.visionai.v1.UserSpecifiedAnnotation user_specified_annotation = 2;
      Returns:
      Whether the userSpecifiedAnnotation field is set.
    • getUserSpecifiedAnnotation

      UserSpecifiedAnnotation getUserSpecifiedAnnotation()
       User provided annotation.
       
      .google.cloud.visionai.v1.UserSpecifiedAnnotation user_specified_annotation = 2;
      Returns:
      The userSpecifiedAnnotation.
    • getUserSpecifiedAnnotationOrBuilder

      UserSpecifiedAnnotationOrBuilder getUserSpecifiedAnnotationOrBuilder()
       User provided annotation.
       
      .google.cloud.visionai.v1.UserSpecifiedAnnotation user_specified_annotation = 2;