Package ai.pipestream.data.v1
Class LinkReference
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.data.v1.LinkReference
- All Implemented Interfaces:
LinkReferenceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class LinkReference
extends com.google.protobuf.GeneratedMessage
implements LinkReferenceOrBuilder
Reference to a link discovered within a document. Used for analyzing document relationships and external references.Protobuf type
ai.pipestream.data.v1.LinkReference- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classReference to a link discovered within a document.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LinkReferencestatic final com.google.protobuf.Descriptors.DescriptorbooleanWhether the link points to a different host than source_uri.com.google.protobuf.Parser<LinkReference> getRel()rel attribute if present (e.g., "nofollow", "canonical").com.google.protobuf.ByteStringrel attribute if present (e.g., "nofollow", "canonical").intgetText()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.inthashCode()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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic LinkReference.Builderstatic LinkReference.BuildernewBuilder(LinkReference prototype) protected LinkReference.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static LinkReferenceparseDelimitedFrom(InputStream input) static LinkReferenceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkReferenceparseFrom(byte[] data) static LinkReferenceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkReferenceparseFrom(com.google.protobuf.ByteString data) static LinkReferenceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkReferenceparseFrom(com.google.protobuf.CodedInputStream input) static LinkReferenceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkReferenceparseFrom(InputStream input) static LinkReferenceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LinkReferenceparseFrom(ByteBuffer data) static LinkReferenceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LinkReference> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
URL_FIELD_NUMBER
public static final int URL_FIELD_NUMBER- See Also:
-
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER- See Also:
-
REL_FIELD_NUMBER
public static final int REL_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
IS_EXTERNAL_FIELD_NUMBER
public static final int IS_EXTERNAL_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getUrl
Href or absolute URL when resolvable.
string url = 1;- Specified by:
getUrlin interfaceLinkReferenceOrBuilder- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()Href or absolute URL when resolvable.
string url = 1;- Specified by:
getUrlBytesin interfaceLinkReferenceOrBuilder- Returns:
- The bytes for url.
-
hasText
public boolean hasText()Anchor text or link label.
optional string text = 2;- Specified by:
hasTextin interfaceLinkReferenceOrBuilder- Returns:
- Whether the text field is set.
-
getText
Anchor text or link label.
optional string text = 2;- Specified by:
getTextin interfaceLinkReferenceOrBuilder- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()Anchor text or link label.
optional string text = 2;- Specified by:
getTextBytesin interfaceLinkReferenceOrBuilder- Returns:
- The bytes for text.
-
hasRel
public boolean hasRel()rel attribute if present (e.g., "nofollow", "canonical").
optional string rel = 3;- Specified by:
hasRelin interfaceLinkReferenceOrBuilder- Returns:
- Whether the rel field is set.
-
getRel
rel attribute if present (e.g., "nofollow", "canonical").
optional string rel = 3;- Specified by:
getRelin interfaceLinkReferenceOrBuilder- Returns:
- The rel.
-
getRelBytes
public com.google.protobuf.ByteString getRelBytes()rel attribute if present (e.g., "nofollow", "canonical").
optional string rel = 3;- Specified by:
getRelBytesin interfaceLinkReferenceOrBuilder- Returns:
- The bytes for rel.
-
hasType
public boolean hasType()MIME type attribute or inferred type.
optional string type = 4;- Specified by:
hasTypein interfaceLinkReferenceOrBuilder- Returns:
- Whether the type field is set.
-
getType
MIME type attribute or inferred type.
optional string type = 4;- Specified by:
getTypein interfaceLinkReferenceOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()MIME type attribute or inferred type.
optional string type = 4;- Specified by:
getTypeBytesin interfaceLinkReferenceOrBuilder- Returns:
- The bytes for type.
-
hasIsExternal
public boolean hasIsExternal()Whether the link points to a different host than source_uri.
optional bool is_external = 5;- Specified by:
hasIsExternalin interfaceLinkReferenceOrBuilder- Returns:
- Whether the isExternal field is set.
-
getIsExternal
public boolean getIsExternal()Whether the link points to a different host than source_uri.
optional bool is_external = 5;- Specified by:
getIsExternalin interfaceLinkReferenceOrBuilder- Returns:
- The isExternal.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LinkReference parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinkReference parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinkReference parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinkReference parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinkReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LinkReference parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LinkReference parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LinkReference parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static LinkReference parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static LinkReference parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LinkReference.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-