Interface LinkReferenceOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    Whether the link points to a different host than source_uri.
    rel attribute if present (e.g., "nofollow", "canonical").
    com.google.protobuf.ByteString
    rel attribute if present (e.g., "nofollow", "canonical").
    Anchor text or link label.
    com.google.protobuf.ByteString
    Anchor text or link label.
    MIME type attribute or inferred type.
    com.google.protobuf.ByteString
    MIME type attribute or inferred type.
    Href or absolute URL when resolvable.
    com.google.protobuf.ByteString
    Href or absolute URL when resolvable.
    boolean
    Whether the link points to a different host than source_uri.
    boolean
    rel attribute if present (e.g., "nofollow", "canonical").
    boolean
    Anchor text or link label.
    boolean
    MIME type attribute or inferred type.

    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

    • getUrl

      String getUrl()
       Href or absolute URL when resolvable.
       
      string url = 1;
      Returns:
      The url.
    • getUrlBytes

      com.google.protobuf.ByteString getUrlBytes()
       Href or absolute URL when resolvable.
       
      string url = 1;
      Returns:
      The bytes for url.
    • hasText

      boolean hasText()
       Anchor text or link label.
       
      optional string text = 2;
      Returns:
      Whether the text field is set.
    • getText

      String getText()
       Anchor text or link label.
       
      optional string text = 2;
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       Anchor text or link label.
       
      optional string text = 2;
      Returns:
      The bytes for text.
    • hasRel

      boolean hasRel()
       rel attribute if present (e.g., "nofollow", "canonical").
       
      optional string rel = 3;
      Returns:
      Whether the rel field is set.
    • getRel

      String getRel()
       rel attribute if present (e.g., "nofollow", "canonical").
       
      optional string rel = 3;
      Returns:
      The rel.
    • getRelBytes

      com.google.protobuf.ByteString getRelBytes()
       rel attribute if present (e.g., "nofollow", "canonical").
       
      optional string rel = 3;
      Returns:
      The bytes for rel.
    • hasType

      boolean hasType()
       MIME type attribute or inferred type.
       
      optional string type = 4;
      Returns:
      Whether the type field is set.
    • getType

      String getType()
       MIME type attribute or inferred type.
       
      optional string type = 4;
      Returns:
      The type.
    • getTypeBytes

      com.google.protobuf.ByteString getTypeBytes()
       MIME type attribute or inferred type.
       
      optional string type = 4;
      Returns:
      The bytes for type.
    • hasIsExternal

      boolean hasIsExternal()
       Whether the link points to a different host than source_uri.
       
      optional bool is_external = 5;
      Returns:
      Whether the isExternal field is set.
    • getIsExternal

      boolean getIsExternal()
       Whether the link points to a different host than source_uri.
       
      optional bool is_external = 5;
      Returns:
      The isExternal.