Retail v2 API - Class Interval (2.8.0)

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

Reference documentation and code samples for the Retail v2 API class Interval.

A floating point interval.

Inheritance

object > Interval

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

Interval()

public Interval()

Interval(Interval)

public Interval(Interval other)
Parameter
NameDescription
otherInterval

Properties

ExclusiveMaximum

public double ExclusiveMaximum { get; set; }

Exclusive upper bound.

Property Value
TypeDescription
double

ExclusiveMinimum

public double ExclusiveMinimum { get; set; }

Exclusive lower bound.

Property Value
TypeDescription
double

HasExclusiveMaximum

public bool HasExclusiveMaximum { get; }

Gets whether the "exclusive_maximum" field is set

Property Value
TypeDescription
bool

HasExclusiveMinimum

public bool HasExclusiveMinimum { get; }

Gets whether the "exclusive_minimum" field is set

Property Value
TypeDescription
bool

HasMaximum

public bool HasMaximum { get; }

Gets whether the "maximum" field is set

Property Value
TypeDescription
bool

HasMinimum

public bool HasMinimum { get; }

Gets whether the "minimum" field is set

Property Value
TypeDescription
bool

MaxCase

public Interval.MaxOneofCase MaxCase { get; }
Property Value
TypeDescription
IntervalMaxOneofCase

Maximum

public double Maximum { get; set; }

Inclusive upper bound.

Property Value
TypeDescription
double

MinCase

public Interval.MinOneofCase MinCase { get; }
Property Value
TypeDescription
IntervalMinOneofCase

Minimum

public double Minimum { get; set; }

Inclusive lower bound.

Property Value
TypeDescription
double