Package ai.pipestream.data.v1
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 TypeMethodDescriptionbooleanWhether the link points to a different host than source_uri.getRel()rel attribute if present (e.g., "nofollow", "canonical").com.google.protobuf.ByteStringrel attribute if present (e.g., "nofollow", "canonical").getText()Anchor text or link label.com.google.protobuf.ByteStringAnchor text or link label.getType()MIME type attribute or inferred type.com.google.protobuf.ByteStringMIME type attribute or inferred type.getUrl()Href or absolute URL when resolvable.com.google.protobuf.ByteStringHref or absolute URL when resolvable.booleanWhether the link points to a different host than source_uri.booleanhasRel()rel attribute if present (e.g., "nofollow", "canonical").booleanhasText()Anchor text or link label.booleanhasType()MIME type attribute or inferred type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-