Interface ReferenceOrBuilder

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

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

    Modifier and Type
    Method
    Description
    int
    Optional: Starting point of the atom's text within the resource's text.
    Optional: ID of the related resouce.
    com.google.protobuf.ByteString
    Optional: ID of the related resouce.
    Original text of the related resource used for the atom.
    com.google.protobuf.ByteString
    Original text of the related resource used for the atom.
    boolean
    Optional: Starting point of the atom's text within the resource's text.
    boolean
    Optional: ID of the related resouce.

    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

    • hasResource

      boolean hasResource()
       Optional: ID of the related resouce.
       
      optional string resource = 1 [json_name = "resource"];
      Returns:
      Whether the resource field is set.
    • getResource

      String getResource()
       Optional: ID of the related resouce.
       
      optional string resource = 1 [json_name = "resource"];
      Returns:
      The resource.
    • getResourceBytes

      com.google.protobuf.ByteString getResourceBytes()
       Optional: ID of the related resouce.
       
      optional string resource = 1 [json_name = "resource"];
      Returns:
      The bytes for resource.
    • hasOffset

      boolean hasOffset()
       Optional: Starting point of the atom's text within the resource's text.
       
      optional uint32 offset = 2 [json_name = "offset"];
      Returns:
      Whether the offset field is set.
    • getOffset

      int getOffset()
       Optional: Starting point of the atom's text within the resource's text.
       
      optional uint32 offset = 2 [json_name = "offset"];
      Returns:
      The offset.
    • getText

      String getText()
       Original text of the related resource used for the atom.
       
      string text = 3 [json_name = "text"];
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       Original text of the related resource used for the atom.
       
      string text = 3 [json_name = "text"];
      Returns:
      The bytes for text.