Class BetaManagedAgentsSearchResultBlock.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSearchResultBlock.BuilderA builder for BetaManagedAgentsSearchResultBlock.
-
-
Method Summary
-
-
Method Detail
-
citations
final BetaManagedAgentsSearchResultBlock.Builder citations(BetaManagedAgentsSearchResultCitations citations)
Citation settings for a search result.
-
citations
final BetaManagedAgentsSearchResultBlock.Builder citations(JsonField<BetaManagedAgentsSearchResultCitations> citations)
Sets Builder.citations to an arbitrary JSON value.
You should usually call Builder.citations with a well-typed BetaManagedAgentsSearchResultCitations value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
content
final BetaManagedAgentsSearchResultBlock.Builder content(List<BetaManagedAgentsSearchResultContent> content)
Array of text content blocks from the search result.
-
content
final BetaManagedAgentsSearchResultBlock.Builder content(JsonField<List<BetaManagedAgentsSearchResultContent>> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed
List<BetaManagedAgentsSearchResultContent>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addContent
final BetaManagedAgentsSearchResultBlock.Builder addContent(BetaManagedAgentsSearchResultContent content)
Adds a single BetaManagedAgentsSearchResultContent to Builder.content.
-
source
final BetaManagedAgentsSearchResultBlock.Builder source(String source)
The URL source of the search result.
-
source
final BetaManagedAgentsSearchResultBlock.Builder source(JsonField<String> source)
Sets Builder.source to an arbitrary JSON value.
You should usually call Builder.source with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
title
final BetaManagedAgentsSearchResultBlock.Builder title(String title)
The title of the search result.
-
title
final BetaManagedAgentsSearchResultBlock.Builder title(JsonField<String> title)
Sets Builder.title to an arbitrary JSON value.
You should usually call Builder.title with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaManagedAgentsSearchResultBlock.Builder type(BetaManagedAgentsSearchResultBlock.Type type)
-
type
final BetaManagedAgentsSearchResultBlock.Builder type(JsonField<BetaManagedAgentsSearchResultBlock.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsSearchResultBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsSearchResultBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsSearchResultBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsSearchResultBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsSearchResultBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsSearchResultBlock build()
Returns an immutable instance of BetaManagedAgentsSearchResultBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.citations() .content() .source() .title() .type()
-
-
-
-