1.0.0 (latest) 1.0.0-beta07

    public sealed class RangeInfo : IMessage<RangeInfo>, IEquatable<RangeInfo>, IDeepCloneable<RangeInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the Model Armor v1 API class RangeInfo.

Half-open range interval \[start, end)

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RangeInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.RangeInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RangeInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.RangeInfo), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RangeInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.RangeInfo), [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.ModelArmor.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1)

## Assembly

Google.Cloud.ModelArmor.V1.dll

## Constructors

### RangeInfo()

    public RangeInfo()

### RangeInfo(RangeInfo)

    public RangeInfo(RangeInfo other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.RangeInfo` |

## Properties

### End

    public long End { get; set; }

Index of last character (exclusive).

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

### HasEnd

    public bool HasEnd { get; }

Gets whether the "end" field is set

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

### HasStart

    public bool HasStart { get; }

Gets whether the "start" field is set

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

### Start

    public long Start { get; set; }

For proto3, value cannot be set to 0 unless the field is optional. Ref: <https://protobuf.dev/programming-guides/proto3/#default> Index of first character (inclusive).

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