Class UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult
-
- All Implemented Interfaces:
public final class UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResultThe aggregated vector stores usage details of the specific time bucket.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.BuilderA builder for OrganizationUsageVectorStoresResult.
-
Method Summary
Modifier and Type Method Description final JsonValue_object_()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("organization.usage.vector_stores.result")final LongusageBytes()The vector stores usage in bytes. final Optional<String>projectId()When group_by=project_id, this field provides the project ID of the grouped usage result.final JsonField<Long>_usageBytes()Returns the raw JSON value of usageBytes. final JsonField<String>_projectId()Returns the raw JSON value of projectId. final Map<String, JsonValue>_additionalProperties()final UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.BuildertoBuilder()final UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResultvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.Builderbuilder()Returns a mutable builder for constructing an instance of OrganizationUsageVectorStoresResult. -
-
Method Detail
-
_object_
final JsonValue _object_()
Expected to always return the following:
JsonValue.from("organization.usage.vector_stores.result")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
usageBytes
final Long usageBytes()
The vector stores usage in bytes.
-
projectId
final Optional<String> projectId()
When
group_by=project_id, this field provides the project ID of the grouped usage result.
-
_usageBytes
final JsonField<Long> _usageBytes()
Returns the raw JSON value of usageBytes.
Unlike usageBytes, this method doesn't throw if the JSON field has an unexpected type.
-
_projectId
final JsonField<String> _projectId()
Returns the raw JSON value of projectId.
Unlike projectId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.Builder toBuilder()
-
validate
final UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static UsageEmbeddingsResponse.Data.Result.OrganizationUsageVectorStoresResult.Builder builder()
Returns a mutable builder for constructing an instance of OrganizationUsageVectorStoresResult.
The following fields are required:
.usageBytes()
-
-
-
-