1.0.0 (latest) 1.0.0-beta01

    public sealed class FacetProperty.Types.FixedRangeBucketSpec : IMessage<FacetProperty.Types.FixedRangeBucketSpec>, IEquatable<FacetProperty.Types.FixedRangeBucketSpec>, IDeepCloneable<FacetProperty.Types.FixedRangeBucketSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Vision AI v1 API class FacetProperty.Types.FixedRangeBucketSpec.

If bucket type is FIXED_RANGE, specify how values are bucketized. Use FixedRangeBucketSpec when you want to create multiple buckets with equal granularities. Using integer bucket value as an example, when bucket_start = 0, bucket_granularity = 10, bucket_count = 5, this facet will be aggregated via the following buckets: \[-inf, 0), \[0, 10), \[10, 20), \[20, 30), \[30, inf). Notably, bucket_count \<= 1 is an invalid spec.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> FacetProperty.Types.FixedRangeBucketSpec

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FacetProperty](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetProperty)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetProperty.Types)[FixedRangeBucketSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetProperty.Types.FixedRangeBucketSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FacetProperty](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetProperty)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetProperty.Types)[FixedRangeBucketSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetProperty.Types.FixedRangeBucketSpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FacetProperty](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetProperty)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetProperty.Types)[FixedRangeBucketSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetProperty.Types.FixedRangeBucketSpec), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.VisionAI.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1)

## Assembly

Google.Cloud.VisionAI.V1.dll

## Constructors

### FixedRangeBucketSpec()

    public FixedRangeBucketSpec()

### FixedRangeBucketSpec(FixedRangeBucketSpec)

    public FixedRangeBucketSpec(FacetProperty.Types.FixedRangeBucketSpec other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetPropertyhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetProperty.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetProperty.Types.FixedRangeBucketSpec` |

## Properties

### BucketCount

    public int BucketCount { get; set; }

Total number of buckets.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### BucketGranularity

    public FacetValue BucketGranularity { get; set; }

Bucket granularity. NOTE: Only integer type is currently supported for this field.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetValue` |   |

### BucketStart

    public FacetValue BucketStart { get; set; }

Lower bound of the bucket. NOTE: Only integer type is currently supported for this field.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.FacetValue` |   |