Class URLCitation
java.lang.Object
com.google.genai.gaos.models.interactions.URLCitation
- All Implemented Interfaces:
Annotation
URLCitation
A URL citation annotation.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic URLCitation.Builderbuilder()endIndex()End of the attributed segment, exclusive.booleaninthashCode()Start of segment of the response that is attributed to this source.title()The title of the URL.toString()type()url()The URL.withEndIndex(Integer endIndex) End of the attributed segment, exclusive.withStartIndex(Integer startIndex) Start of segment of the response that is attributed to this source.The title of the URL.The URL.
-
Constructor Details
-
URLCitation
-
URLCitation
public URLCitation()
-
-
Method Details
-
endIndex
End of the attributed segment, exclusive. -
startIndex
Start of segment of the response that is attributed to this source.Index indicates the start of the segment, measured in bytes.
-
title
The title of the URL. -
type
- Specified by:
typein interfaceAnnotation
-
url
The URL. -
builder
-
withEndIndex
End of the attributed segment, exclusive. -
withStartIndex
Start of segment of the response that is attributed to this source.Index indicates the start of the segment, measured in bytes.
-
withTitle
The title of the URL. -
withUrl
The URL. -
equals
-
hashCode
public int hashCode() -
toString
-