Discovery Engine v1 API - Class Interval (1.6.0)

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

Reference documentation and code samples for the Discovery Engine v1 API class Interval.

A floating point interval.

Inheritance

object > Interval

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

Interval()

public Interval()

Interval(Interval)

public Interval(Interval other)
Parameter
Name Description
other Interval

Properties

ExclusiveMaximum

public double ExclusiveMaximum { get; set; }

Exclusive upper bound.

Property Value
Type Description
double

ExclusiveMinimum

public double ExclusiveMinimum { get; set; }

Exclusive lower bound.

Property Value
Type Description
double

HasExclusiveMaximum

public bool HasExclusiveMaximum { get; }

Gets whether the "exclusive_maximum" field is set

Property Value
Type Description
bool

HasExclusiveMinimum

public bool HasExclusiveMinimum { get; }

Gets whether the "exclusive_minimum" field is set

Property Value
Type Description
bool

HasMaximum

public bool HasMaximum { get; }

Gets whether the "maximum" field is set

Property Value
Type Description
bool

HasMinimum

public bool HasMinimum { get; }

Gets whether the "minimum" field is set

Property Value
Type Description
bool

MaxCase

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

Maximum

public double Maximum { get; set; }

Inclusive upper bound.

Property Value
Type Description
double

MinCase

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

Minimum

public double Minimum { get; set; }

Inclusive lower bound.

Property Value
Type Description
double