Interface UserSpecifiedAnnotationOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Partition information in time and space for the sub-asset level annotation.
    Partition information in time and space for the sub-asset level annotation.
    Value of the annotation.
    Value of the annotation.
    boolean
    Partition information in time and space for the sub-asset level annotation.
    boolean
    Value of the 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

    • getKey

      String getKey()
       Required. Key of the annotation. The key must be set with type by
       CreateDataSchema.
       
      string key = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       Required. Key of the annotation. The key must be set with type by
       CreateDataSchema.
       
      string key = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for key.
    • hasValue

      boolean hasValue()
       Value of the annotation. The value must be able to convert
       to the type according to the data schema.
       
      .google.cloud.visionai.v1.AnnotationValue value = 2;
      Returns:
      Whether the value field is set.
    • getValue

      AnnotationValue getValue()
       Value of the annotation. The value must be able to convert
       to the type according to the data schema.
       
      .google.cloud.visionai.v1.AnnotationValue value = 2;
      Returns:
      The value.
    • getValueOrBuilder

      AnnotationValueOrBuilder getValueOrBuilder()
       Value of the annotation. The value must be able to convert
       to the type according to the data schema.
       
      .google.cloud.visionai.v1.AnnotationValue value = 2;
    • hasPartition

      boolean hasPartition()
       Partition information in time and space for the sub-asset level annotation.
       
      .google.cloud.visionai.v1.Partition partition = 3;
      Returns:
      Whether the partition field is set.
    • getPartition

      Partition getPartition()
       Partition information in time and space for the sub-asset level annotation.
       
      .google.cloud.visionai.v1.Partition partition = 3;
      Returns:
      The partition.
    • getPartitionOrBuilder

      PartitionOrBuilder getPartitionOrBuilder()
       Partition information in time and space for the sub-asset level annotation.
       
      .google.cloud.visionai.v1.Partition partition = 3;