Class Distribution.Types.BucketOptions.Types.Explicit
Specifies a set of buckets with arbitrary widths.
There are size(bounds) + 1
(= N) buckets. Bucket i
has the following
boundaries:
Upper bound (0 <= i < N-1): bounds[i] Lower bound (1 <= i < N); bounds[i - 1]
The bounds
field must contain at least one element. If bounds
has
only one element, then there are no finite buckets, and that single
element is the common boundary of the overflow and underflow buckets.
Inheritance
System.Object
Distribution.Types.BucketOptions.Types.Explicit
Implements
System.IEquatable<Distribution.Types.BucketOptions.Types.Explicit>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Api
Assembly: Google.Api.CommonProtos.dll
Syntax
public sealed class Explicit : IMessage<Distribution.Types.BucketOptions.Types.Explicit>, IMessage, IEquatable<Distribution.Types.BucketOptions.Types.Explicit>, IDeepCloneable<Distribution.Types.BucketOptions.Types.Explicit>
Constructors
Explicit()
Declaration
public Explicit()
Explicit(Distribution.Types.BucketOptions.Types.Explicit)
Declaration
public Explicit(Distribution.Types.BucketOptions.Types.Explicit other)
Parameters
Type | Name | Description |
---|---|---|
Distribution.Types.BucketOptions.Types.Explicit | other |
Fields
BoundsFieldNumber
Field number for the "bounds" field.
Declaration
public const int BoundsFieldNumber = 1
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
Bounds
The values must be monotonically increasing.
Declaration
public RepeatedField<double> Bounds { get; }
Property Value
Type | Description |
---|---|
RepeatedField<System.Double> |
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
MessageDescriptor |
Parser
Declaration
public static MessageParser<Distribution.Types.BucketOptions.Types.Explicit> Parser { get; }
Property Value
Type | Description |
---|---|
MessageParser<Distribution.Types.BucketOptions.Types.Explicit> |
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type | Description |
---|---|
System.Int32 |
Implements
Clone()
Declaration
public Distribution.Types.BucketOptions.Types.Explicit Clone()
Returns
Type | Description |
---|---|
Distribution.Types.BucketOptions.Types.Explicit |
Implements
Equals(Distribution.Types.BucketOptions.Types.Explicit)
Declaration
public bool Equals(Distribution.Types.BucketOptions.Types.Explicit other)
Parameters
Type | Name | Description |
---|---|---|
Distribution.Types.BucketOptions.Types.Explicit | other |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.IEquatable<T>.Equals(T)
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System.Object | other |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
MergeFrom(Distribution.Types.BucketOptions.Types.Explicit)
Declaration
public void MergeFrom(Distribution.Types.BucketOptions.Types.Explicit other)
Parameters
Type | Name | Description |
---|---|---|
Distribution.Types.BucketOptions.Types.Explicit | other |
Implements
MergeFrom(CodedInputStream)
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type | Name | Description |
---|---|---|
CodedInputStream | input |
Implements
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type | Name | Description |
---|---|---|
CodedOutputStream | output |
Implements
Explicit Interface Implementations
IMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Type | Description |
---|---|
MessageDescriptor |