Class UsageVectorStoresResponse.Builder
-
- All Implemented Interfaces:
public final class UsageVectorStoresResponse.BuilderA builder for UsageVectorStoresResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final UsageVectorStoresResponse.Builder data(List<UsageVectorStoresResponse.Data> data)
-
data
final UsageVectorStoresResponse.Builder data(JsonField<List<UsageVectorStoresResponse.Data>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<Data>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addData
final UsageVectorStoresResponse.Builder addData(UsageVectorStoresResponse.Data data)
Adds a single Data to Builder.data.
-
hasMore
final UsageVectorStoresResponse.Builder hasMore(Boolean hasMore)
-
hasMore
final UsageVectorStoresResponse.Builder hasMore(JsonField<Boolean> hasMore)
Sets Builder.hasMore to an arbitrary JSON value.
You should usually call Builder.hasMore with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nextPage
final UsageVectorStoresResponse.Builder nextPage(String nextPage)
-
nextPage
final UsageVectorStoresResponse.Builder nextPage(Optional<String> nextPage)
Alias for calling Builder.nextPage with
nextPage.orElse(null).
-
nextPage
final UsageVectorStoresResponse.Builder nextPage(JsonField<String> nextPage)
Sets Builder.nextPage to an arbitrary JSON value.
You should usually call Builder.nextPage with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final UsageVectorStoresResponse.Builder object_(JsonValue object_)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("page")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final UsageVectorStoresResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UsageVectorStoresResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UsageVectorStoresResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UsageVectorStoresResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UsageVectorStoresResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UsageVectorStoresResponse build()
Returns an immutable instance of UsageVectorStoresResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .hasMore() .nextPage()
-
-
-
-