Interface AnnotationOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getComment​(int index)
      Free-text comments.
      com.google.protobuf.ByteString getCommentBytes​(int index)
      Free-text comments.
      int getCommentCount()
      Free-text comments.
      List<String> getCommentList()
      Free-text comments.
      com.google.protobuf.Any getExtraMetadata​(int index)
      Application-specific metadata may be attached here.
      int getExtraMetadataCount()
      Application-specific metadata may be attached here.
      List<com.google.protobuf.Any> getExtraMetadataList()
      Application-specific metadata may be attached here.
      com.google.protobuf.AnyOrBuilder getExtraMetadataOrBuilder​(int index)
      Application-specific metadata may be attached here.
      List<? extends com.google.protobuf.AnyOrBuilder> getExtraMetadataOrBuilderList()
      Application-specific metadata may be attached here.
      String getTag​(int index)
      Tags can be used to mark features.
      com.google.protobuf.ByteString getTagBytes​(int index)
      Tags can be used to mark features.
      int getTagCount()
      Tags can be used to mark features.
      List<String> getTagList()
      Tags can be used to mark features.
      • 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

      • getTagList

        List<String> getTagList()
         Tags can be used to mark features. For example, tag on user_age feature can
         be `user_feature`, tag on user_country feature can be `location_feature`,
         `user_feature`.
         
        repeated string tag = 1;
        Returns:
        A list containing the tag.
      • getTagCount

        int getTagCount()
         Tags can be used to mark features. For example, tag on user_age feature can
         be `user_feature`, tag on user_country feature can be `location_feature`,
         `user_feature`.
         
        repeated string tag = 1;
        Returns:
        The count of tag.
      • getTag

        String getTag​(int index)
         Tags can be used to mark features. For example, tag on user_age feature can
         be `user_feature`, tag on user_country feature can be `location_feature`,
         `user_feature`.
         
        repeated string tag = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The tag at the given index.
      • getTagBytes

        com.google.protobuf.ByteString getTagBytes​(int index)
         Tags can be used to mark features. For example, tag on user_age feature can
         be `user_feature`, tag on user_country feature can be `location_feature`,
         `user_feature`.
         
        repeated string tag = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tag at the given index.
      • getCommentList

        List<String> getCommentList()
         Free-text comments. This can be used as a description of the feature,
         developer notes etc.
         
        repeated string comment = 2;
        Returns:
        A list containing the comment.
      • getCommentCount

        int getCommentCount()
         Free-text comments. This can be used as a description of the feature,
         developer notes etc.
         
        repeated string comment = 2;
        Returns:
        The count of comment.
      • getComment

        String getComment​(int index)
         Free-text comments. This can be used as a description of the feature,
         developer notes etc.
         
        repeated string comment = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The comment at the given index.
      • getCommentBytes

        com.google.protobuf.ByteString getCommentBytes​(int index)
         Free-text comments. This can be used as a description of the feature,
         developer notes etc.
         
        repeated string comment = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the comment at the given index.
      • getExtraMetadataList

        List<com.google.protobuf.Any> getExtraMetadataList()
         Application-specific metadata may be attached here.
         
        repeated .google.protobuf.Any extra_metadata = 3;
      • getExtraMetadata

        com.google.protobuf.Any getExtraMetadata​(int index)
         Application-specific metadata may be attached here.
         
        repeated .google.protobuf.Any extra_metadata = 3;
      • getExtraMetadataCount

        int getExtraMetadataCount()
         Application-specific metadata may be attached here.
         
        repeated .google.protobuf.Any extra_metadata = 3;
      • getExtraMetadataOrBuilderList

        List<? extends com.google.protobuf.AnyOrBuilder> getExtraMetadataOrBuilderList()
         Application-specific metadata may be attached here.
         
        repeated .google.protobuf.Any extra_metadata = 3;
      • getExtraMetadataOrBuilder

        com.google.protobuf.AnyOrBuilder getExtraMetadataOrBuilder​(int index)
         Application-specific metadata may be attached here.
         
        repeated .google.protobuf.Any extra_metadata = 3;