Class UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.Builder
-
- All Implemented Interfaces:
public final class UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.BuilderA builder for OrganizationUsageVectorStoresResult.
-
-
Method Summary
-
-
Method Detail
-
object_
final UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.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("organization.usage.vector_stores.result")This method is primarily for setting the field to an undocumented or not yet supported value.
-
usageBytes
final UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.Builder usageBytes(Long usageBytes)
The vector stores usage in bytes.
-
usageBytes
final UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.Builder usageBytes(JsonField<Long> usageBytes)
Sets Builder.usageBytes to an arbitrary JSON value.
You should usually call Builder.usageBytes with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
projectId
final UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.Builder projectId(String projectId)
When
group_by=project_id, this field provides the project ID of the grouped usage result.
-
projectId
final UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.Builder projectId(Optional<String> projectId)
Alias for calling Builder.projectId with
projectId.orElse(null).
-
projectId
final UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.Builder projectId(JsonField<String> projectId)
Sets Builder.projectId to an arbitrary JSON value.
You should usually call Builder.projectId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult build()
Returns an immutable instance of OrganizationUsageVectorStoresResult.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.usageBytes()
-
-
-
-