Send feedback
Class Distribution.Types.BucketOptions.Types.Explicit (2.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
public sealed class Explicit : Protobuf.IMessage<Distribution.Types.BucketOptions.Types.Explicit>, Protobuf.IBufferMessage
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
Object >
Distribution.Types.BucketOptions.Types.Explicit
Namespace
Google.Api
Assembly
Google.Api.CommonProtos.dll
Constructors
Explicit()
Explicit(Distribution.Types.BucketOptions.Types.Explicit)
public Explicit(Distribution.Types.BucketOptions.Types.Explicit other)
Parameter
Fields
BoundsFieldNumber
public const int BoundsFieldNumber = 1
Field number for the "bounds" field.
Field Value
Properties
Bounds
public Protobuf.Collections.RepeatedField<double> Bounds { get; }
The values must be monotonically increasing.
Property Value
Descriptor
public static Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Parser
public static Protobuf.MessageParser<Distribution.Types.BucketOptions.Types.Explicit> Parser { get; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
Clone()
public Distribution.Types.BucketOptions.Types.Explicit Clone()
Returns
Equals(Distribution.Types.BucketOptions.Types.Explicit)
public bool Equals(Distribution.Types.BucketOptions.Types.Explicit other)
Parameter
Returns
Equals(Object)
public override bool Equals(object other)
Parameter
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(Distribution.Types.BucketOptions.Types.Explicit)
public void MergeFrom(Distribution.Types.BucketOptions.Types.Explicit other)
Parameter
public void MergeFrom(Protobuf.CodedInputStream input)
Parameter
ToString()
public override string ToString()
Returns
WriteTo(Protobuf.CodedOutputStream)
public void WriteTo(Protobuf.CodedOutputStream output)
Parameter
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-10-24 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?