Send feedback
Class Distribution.Types.BucketOptions (2.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.10.0 keyboard_arrow_down
public sealed class Distribution.Types.BucketOptions : IMessage<Distribution.Types.BucketOptions>, IEquatable<Distribution.Types.BucketOptions>, IDeepCloneable<Distribution.Types.BucketOptions>, IBufferMessage, IMessage
BucketOptions
describes the bucket boundaries used to create a histogram
for the distribution. The buckets can be in a linear sequence, an
exponential sequence, or each bucket can be specified explicitly.
BucketOptions
does not include the number of values in each bucket.
A bucket has an inclusive lower bound and exclusive upper bound for the
values that are counted for that bucket. The upper bound of a bucket must
be strictly greater than the lower bound. The sequence of N buckets for a
distribution consists of an underflow bucket (number 0), zero or more
finite buckets (number 1 through N - 2) and an overflow bucket (number N -
1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the
same as the upper bound of bucket i - 1. The buckets span the whole range
of finite values: lower bound of the underflow bucket is -infinity and the
upper bound of the overflow bucket is +infinity. The finite buckets are
so-called because both bounds are finite.
Inheritance
object >
Distribution.Types.BucketOptions
Namespace
Google.Api
Assembly
Google.Api.CommonProtos.dll
Constructors
BucketOptions()
BucketOptions(BucketOptions)
public BucketOptions(Distribution.Types.BucketOptions other)
Fields
ExplicitBucketsFieldNumber
public const int ExplicitBucketsFieldNumber = 3
Field number for the "explicit_buckets" field.
Field Value
Type
Description
int
ExponentialBucketsFieldNumber
public const int ExponentialBucketsFieldNumber = 2
Field number for the "exponential_buckets" field.
Field Value
Type
Description
int
LinearBucketsFieldNumber
public const int LinearBucketsFieldNumber = 1
Field number for the "linear_buckets" field.
Field Value
Type
Description
int
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
ExplicitBuckets
public Distribution.Types.BucketOptions.Types.Explicit ExplicitBuckets { get; set; }
ExponentialBuckets
public Distribution.Types.BucketOptions.Types.Exponential ExponentialBuckets { get; set; }
LinearBuckets
public Distribution.Types.BucketOptions.Types.Linear LinearBuckets { get; set; }
OptionsCase
public Distribution.Types.BucketOptions.OptionsOneofCase OptionsCase { get; }
Parser
public static MessageParser<Distribution.Types.BucketOptions> Parser { get; }
Methods
CalculateSize()
public int CalculateSize()
Returns
Type
Description
int
ClearOptions()
public void ClearOptions()
Clone()
public Distribution.Types.BucketOptions Clone()
Equals(BucketOptions)
public bool Equals(Distribution.Types.BucketOptions other)
Returns
Type
Description
bool
Equals(object)
public override bool Equals(object other)
Parameter
Name
Description
other
object
Returns
Type
Description
bool
Overrides
GetHashCode()
public override int GetHashCode()
Returns
Type
Description
int
Overrides
MergeFrom(BucketOptions)
public void MergeFrom(Distribution.Types.BucketOptions other)
public void MergeFrom(CodedInputStream input)
ToString()
public override string ToString()
Returns
Type
Description
string
Overrides
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
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 2024-10-01 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?
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]