All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.topicus.jdbc.shaded.com.google.api.Distribution Maven / Gradle / Ivy

There is a newer version: 1.1.6
Show newest version
// Generated by the protocol buffer nl.topicus.jdbc.shaded.com.iler.  DO NOT EDIT!
// source: google/api/distribution.proto

package nl.topicus.jdbc.shaded.com.google.api;

/**
 * 
 * Distribution contains summary statistics for a population of values and,
 * optionally, a histogram representing the distribution of those values across
 * a specified set of histogram buckets.
 * The summary statistics are the count, mean, sum of the squared deviation from
 * the mean, the minimum, and the maximum of the set of population of values.
 * The histogram is based on a sequence of buckets and gives a count of values
 * that fall into each bucket.  The boundaries of the buckets are given either
 * explicitly or by specifying parameters for a method of nl.topicus.jdbc.shaded.com.uting them
 * (buckets of fixed width or buckets of exponentially increasing width).
 * Although it is not forbidden, it is generally a bad idea to include
 * non-finite values (infinities or NaNs) in the population of values, as this
 * will render the `mean` and `sum_of_squared_deviation` fields meaningless.
 * 
* * Protobuf type {@code google.api.Distribution} */ public final class Distribution extends nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.Distribution) DistributionOrBuilder { // Use Distribution.newBuilder() to construct. private Distribution(nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Distribution() { count_ = 0L; mean_ = 0D; sumOfSquaredDeviation_ = 0D; bucketCounts_ = java.util.Collections.emptyList(); } @java.lang.Override public final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private Distribution( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 8: { count_ = input.readInt64(); break; } case 17: { mean_ = input.readDouble(); break; } case 25: { sumOfSquaredDeviation_ = input.readDouble(); break; } case 34: { nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.Builder subBuilder = null; if (range_ != null) { subBuilder = range_.toBuilder(); } range_ = input.readMessage(nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(range_); range_ = subBuilder.buildPartial(); } break; } case 50: { nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Builder subBuilder = null; if (bucketOptions_ != null) { subBuilder = bucketOptions_.toBuilder(); } bucketOptions_ = input.readMessage(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(bucketOptions_); bucketOptions_ = subBuilder.buildPartial(); } break; } case 56: { if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { bucketCounts_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } bucketCounts_.add(input.readInt64()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000020) == 0x00000020) && input.getBytesUntilLimit() > 0) { bucketCounts_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { bucketCounts_.add(input.readInt64()); } input.popLimit(limit); break; } } } } catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.nl.topicus.jdbc.shaded.io.IOException e) { throw new nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { bucketCounts_ = java.util.Collections.unmodifiableList(bucketCounts_); } makeExtensionsImmutable(); } } public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_descriptor; } protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_fieldAccessorTable .ensureFieldAccessorsInitialized( nl.topicus.jdbc.shaded.com.google.api.Distribution.class, nl.topicus.jdbc.shaded.com.google.api.Distribution.Builder.class); } public interface RangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.Distribution.Range) nl.topicus.jdbc.shaded.com.google.protobuf.MessageOrBuilder { /** *
     * The minimum of the population values.
     * 
* * double min = 1; */ double getMin(); /** *
     * The maximum of the population values.
     * 
* * double max = 2; */ double getMax(); } /** *
   * The range of the population values.
   * 
* * Protobuf type {@code google.api.Distribution.Range} */ public static final class Range extends nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.Distribution.Range) RangeOrBuilder { // Use Range.newBuilder() to construct. private Range(nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Range() { min_ = 0D; max_ = 0D; } @java.lang.Override public final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private Range( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 9: { min_ = input.readDouble(); break; } case 17: { max_ = input.readDouble(); break; } } } } catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.nl.topicus.jdbc.shaded.io.IOException e) { throw new nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { makeExtensionsImmutable(); } } public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_Range_descriptor; } protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_Range_fieldAccessorTable .ensureFieldAccessorsInitialized( nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.class, nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.Builder.class); } public static final int MIN_FIELD_NUMBER = 1; private double min_; /** *
     * The minimum of the population values.
     * 
* * double min = 1; */ public double getMin() { return min_; } public static final int MAX_FIELD_NUMBER = 2; private double max_; /** *
     * The maximum of the population values.
     * 
* * double max = 2; */ public double getMax() { return max_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream output) throws java.nl.topicus.jdbc.shaded.io.IOException { if (min_ != 0D) { output.writeDouble(1, min_); } if (max_ != 0D) { output.writeDouble(2, max_); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (min_ != 0D) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteDoubleSize(1, min_); } if (max_ != 0D) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteDoubleSize(2, max_); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof nl.topicus.jdbc.shaded.com.google.api.Distribution.Range)) { return super.equals(obj); } nl.topicus.jdbc.shaded.com.google.api.Distribution.Range other = (nl.topicus.jdbc.shaded.com.google.api.Distribution.Range) obj; boolean result = true; result = result && ( java.lang.Double.doubleToLongBits(getMin()) == java.lang.Double.doubleToLongBits( other.getMin())); result = result && ( java.lang.Double.doubleToLongBits(getMax()) == java.lang.Double.doubleToLongBits( other.getMax())); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MIN_FIELD_NUMBER; hash = (53 * hash) + nl.topicus.jdbc.shaded.com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMin())); hash = (37 * hash) + MAX_FIELD_NUMBER; hash = (53 * hash) + nl.topicus.jdbc.shaded.com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMax())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.Range parseFrom( java.nio.ByteBuffer data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.Range parseFrom( java.nio.ByteBuffer data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.Range parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.Range parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.Range parseFrom(byte[] data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.Range parseFrom( byte[] data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.Range parseFrom(java.nl.topicus.jdbc.shaded.io.InputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.Range parseFrom( java.nl.topicus.jdbc.shaded.io.InputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.Range parseDelimitedFrom(java.nl.topicus.jdbc.shaded.io.InputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.Range parseDelimitedFrom( java.nl.topicus.jdbc.shaded.io.InputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.Range parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.Range parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(nl.topicus.jdbc.shaded.com.google.api.Distribution.Range prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * The range of the population values.
     * 
* * Protobuf type {@code google.api.Distribution.Range} */ public static final class Builder extends nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Distribution.Range) nl.topicus.jdbc.shaded.com.google.api.Distribution.RangeOrBuilder { public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_Range_descriptor; } protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_Range_fieldAccessorTable .ensureFieldAccessorsInitialized( nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.class, nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.Builder.class); } // Construct using nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); min_ = 0D; max_ = 0D; return this; } public nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_Range_descriptor; } public nl.topicus.jdbc.shaded.com.google.api.Distribution.Range getDefaultInstanceForType() { return nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.getDefaultInstance(); } public nl.topicus.jdbc.shaded.com.google.api.Distribution.Range build() { nl.topicus.jdbc.shaded.com.google.api.Distribution.Range result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public nl.topicus.jdbc.shaded.com.google.api.Distribution.Range buildPartial() { nl.topicus.jdbc.shaded.com.google.api.Distribution.Range result = new nl.topicus.jdbc.shaded.com.google.api.Distribution.Range(this); result.min_ = min_; result.max_ = max_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.protobuf.Message other) { if (other instanceof nl.topicus.jdbc.shaded.com.google.api.Distribution.Range) { return mergeFrom((nl.topicus.jdbc.shaded.com.google.api.Distribution.Range)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.api.Distribution.Range other) { if (other == nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.getDefaultInstance()) return this; if (other.getMin() != 0D) { setMin(other.getMin()); } if (other.getMax() != 0D) { setMax(other.getMax()); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { nl.topicus.jdbc.shaded.com.google.api.Distribution.Range parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (nl.topicus.jdbc.shaded.com.google.api.Distribution.Range) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private double min_ ; /** *
       * The minimum of the population values.
       * 
* * double min = 1; */ public double getMin() { return min_; } /** *
       * The minimum of the population values.
       * 
* * double min = 1; */ public Builder setMin(double value) { min_ = value; onChanged(); return this; } /** *
       * The minimum of the population values.
       * 
* * double min = 1; */ public Builder clearMin() { min_ = 0D; onChanged(); return this; } private double max_ ; /** *
       * The maximum of the population values.
       * 
* * double max = 2; */ public double getMax() { return max_; } /** *
       * The maximum of the population values.
       * 
* * double max = 2; */ public Builder setMax(double value) { max_ = value; onChanged(); return this; } /** *
       * The maximum of the population values.
       * 
* * double max = 2; */ public Builder clearMax() { max_ = 0D; onChanged(); return this; } public final Builder setUnknownFields( final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:google.api.Distribution.Range) } // @@protoc_insertion_point(class_scope:google.api.Distribution.Range) private static final nl.topicus.jdbc.shaded.com.google.api.Distribution.Range DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new nl.topicus.jdbc.shaded.com.google.api.Distribution.Range(); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.Range getDefaultInstance() { return DEFAULT_INSTANCE; } private static final nl.topicus.jdbc.shaded.com.google.protobuf.Parser PARSER = new nl.topicus.jdbc.shaded.com.google.protobuf.AbstractParser() { public Range parsePartialFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return new Range(input, extensionRegistry); } }; public static nl.topicus.jdbc.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public nl.topicus.jdbc.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public nl.topicus.jdbc.shaded.com.google.api.Distribution.Range getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BucketOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.Distribution.BucketOptions) nl.topicus.jdbc.shaded.com.google.protobuf.MessageOrBuilder { /** *
     * The linear bucket.
     * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; */ nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear getLinearBuckets(); /** *
     * The linear bucket.
     * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; */ nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.LinearOrBuilder getLinearBucketsOrBuilder(); /** *
     * The exponential buckets.
     * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential getExponentialBuckets(); /** *
     * The exponential buckets.
     * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.ExponentialOrBuilder getExponentialBucketsOrBuilder(); /** *
     * The explicit buckets.
     * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit getExplicitBuckets(); /** *
     * The explicit buckets.
     * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.ExplicitOrBuilder getExplicitBucketsOrBuilder(); public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.OptionsCase getOptionsCase(); } /** *
   * A Distribution may optionally contain a histogram of the values in the
   * population.  The histogram is given in `bucket_counts` as counts of values
   * that fall into one of a sequence of non-overlapping buckets.  The sequence
   * of buckets is described by `bucket_options`.
   * A bucket specifies an inclusive lower bound and exclusive upper bound for
   * the values that are counted for that bucket.  The upper bound of a bucket
   * is 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.
   * `BucketOptions` describes bucket boundaries in one of three ways.  Two
   * describe the boundaries by giving parameters for a formula to generate
   * boundaries and one gives the bucket boundaries explicitly.
   * If `bucket_boundaries` is not given, then no `bucket_counts` may be given.
   * 
* * Protobuf type {@code google.api.Distribution.BucketOptions} */ public static final class BucketOptions extends nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.Distribution.BucketOptions) BucketOptionsOrBuilder { // Use BucketOptions.newBuilder() to construct. private BucketOptions(nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BucketOptions() { } @java.lang.Override public final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private BucketOptions( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.Builder subBuilder = null; if (optionsCase_ == 1) { subBuilder = ((nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear) options_).toBuilder(); } options_ = input.readMessage(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear) options_); options_ = subBuilder.buildPartial(); } optionsCase_ = 1; break; } case 18: { nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.Builder subBuilder = null; if (optionsCase_ == 2) { subBuilder = ((nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential) options_).toBuilder(); } options_ = input.readMessage(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential) options_); options_ = subBuilder.buildPartial(); } optionsCase_ = 2; break; } case 26: { nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.Builder subBuilder = null; if (optionsCase_ == 3) { subBuilder = ((nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit) options_).toBuilder(); } options_ = input.readMessage(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit) options_); options_ = subBuilder.buildPartial(); } optionsCase_ = 3; break; } } } } catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.nl.topicus.jdbc.shaded.io.IOException e) { throw new nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { makeExtensionsImmutable(); } } public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_descriptor; } protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.class, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Builder.class); } public interface LinearOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.Distribution.BucketOptions.Linear) nl.topicus.jdbc.shaded.com.google.protobuf.MessageOrBuilder { /** *
       * Must be greater than 0.
       * 
* * int32 num_finite_buckets = 1; */ int getNumFiniteBuckets(); /** *
       * Must be greater than 0.
       * 
* * double width = 2; */ double getWidth(); /** *
       * Lower bound of the first bucket.
       * 
* * double offset = 3; */ double getOffset(); } /** *
     * Specify a sequence of buckets that all have the same width (except
     * overflow and underflow).  Each bucket represents a constant absolute
     * uncertainty on the specific value in the bucket.
     * Defines `num_finite_buckets + 2` (= N) buckets with these boundaries for
     * bucket `i`:
     *    Upper bound (0 <= i < N-1):     offset + (width * i).
     *    Lower bound (1 <= i < N):       offset + (width * (i - 1)).
     * 
* * Protobuf type {@code google.api.Distribution.BucketOptions.Linear} */ public static final class Linear extends nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.Distribution.BucketOptions.Linear) LinearOrBuilder { // Use Linear.newBuilder() to construct. private Linear(nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Linear() { numFiniteBuckets_ = 0; width_ = 0D; offset_ = 0D; } @java.lang.Override public final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private Linear( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 8: { numFiniteBuckets_ = input.readInt32(); break; } case 17: { width_ = input.readDouble(); break; } case 25: { offset_ = input.readDouble(); break; } } } } catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.nl.topicus.jdbc.shaded.io.IOException e) { throw new nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { makeExtensionsImmutable(); } } public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Linear_descriptor; } protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Linear_fieldAccessorTable .ensureFieldAccessorsInitialized( nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.class, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.Builder.class); } public static final int NUM_FINITE_BUCKETS_FIELD_NUMBER = 1; private int numFiniteBuckets_; /** *
       * Must be greater than 0.
       * 
* * int32 num_finite_buckets = 1; */ public int getNumFiniteBuckets() { return numFiniteBuckets_; } public static final int WIDTH_FIELD_NUMBER = 2; private double width_; /** *
       * Must be greater than 0.
       * 
* * double width = 2; */ public double getWidth() { return width_; } public static final int OFFSET_FIELD_NUMBER = 3; private double offset_; /** *
       * Lower bound of the first bucket.
       * 
* * double offset = 3; */ public double getOffset() { return offset_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream output) throws java.nl.topicus.jdbc.shaded.io.IOException { if (numFiniteBuckets_ != 0) { output.writeInt32(1, numFiniteBuckets_); } if (width_ != 0D) { output.writeDouble(2, width_); } if (offset_ != 0D) { output.writeDouble(3, offset_); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (numFiniteBuckets_ != 0) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteInt32Size(1, numFiniteBuckets_); } if (width_ != 0D) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteDoubleSize(2, width_); } if (offset_ != 0D) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteDoubleSize(3, offset_); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear)) { return super.equals(obj); } nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear other = (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear) obj; boolean result = true; result = result && (getNumFiniteBuckets() == other.getNumFiniteBuckets()); result = result && ( java.lang.Double.doubleToLongBits(getWidth()) == java.lang.Double.doubleToLongBits( other.getWidth())); result = result && ( java.lang.Double.doubleToLongBits(getOffset()) == java.lang.Double.doubleToLongBits( other.getOffset())); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NUM_FINITE_BUCKETS_FIELD_NUMBER; hash = (53 * hash) + getNumFiniteBuckets(); hash = (37 * hash) + WIDTH_FIELD_NUMBER; hash = (53 * hash) + nl.topicus.jdbc.shaded.com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getWidth())); hash = (37 * hash) + OFFSET_FIELD_NUMBER; hash = (53 * hash) + nl.topicus.jdbc.shaded.com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getOffset())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear parseFrom( java.nio.ByteBuffer data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear parseFrom( java.nio.ByteBuffer data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear parseFrom(byte[] data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear parseFrom( byte[] data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear parseFrom(java.nl.topicus.jdbc.shaded.io.InputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear parseFrom( java.nl.topicus.jdbc.shaded.io.InputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear parseDelimitedFrom(java.nl.topicus.jdbc.shaded.io.InputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear parseDelimitedFrom( java.nl.topicus.jdbc.shaded.io.InputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
       * Specify a sequence of buckets that all have the same width (except
       * overflow and underflow).  Each bucket represents a constant absolute
       * uncertainty on the specific value in the bucket.
       * Defines `num_finite_buckets + 2` (= N) buckets with these boundaries for
       * bucket `i`:
       *    Upper bound (0 <= i < N-1):     offset + (width * i).
       *    Lower bound (1 <= i < N):       offset + (width * (i - 1)).
       * 
* * Protobuf type {@code google.api.Distribution.BucketOptions.Linear} */ public static final class Builder extends nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Distribution.BucketOptions.Linear) nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.LinearOrBuilder { public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Linear_descriptor; } protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Linear_fieldAccessorTable .ensureFieldAccessorsInitialized( nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.class, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.Builder.class); } // Construct using nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); numFiniteBuckets_ = 0; width_ = 0D; offset_ = 0D; return this; } public nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Linear_descriptor; } public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear getDefaultInstanceForType() { return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance(); } public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear build() { nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear buildPartial() { nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear result = new nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear(this); result.numFiniteBuckets_ = numFiniteBuckets_; result.width_ = width_; result.offset_ = offset_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.protobuf.Message other) { if (other instanceof nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear) { return mergeFrom((nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear other) { if (other == nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance()) return this; if (other.getNumFiniteBuckets() != 0) { setNumFiniteBuckets(other.getNumFiniteBuckets()); } if (other.getWidth() != 0D) { setWidth(other.getWidth()); } if (other.getOffset() != 0D) { setOffset(other.getOffset()); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int numFiniteBuckets_ ; /** *
         * Must be greater than 0.
         * 
* * int32 num_finite_buckets = 1; */ public int getNumFiniteBuckets() { return numFiniteBuckets_; } /** *
         * Must be greater than 0.
         * 
* * int32 num_finite_buckets = 1; */ public Builder setNumFiniteBuckets(int value) { numFiniteBuckets_ = value; onChanged(); return this; } /** *
         * Must be greater than 0.
         * 
* * int32 num_finite_buckets = 1; */ public Builder clearNumFiniteBuckets() { numFiniteBuckets_ = 0; onChanged(); return this; } private double width_ ; /** *
         * Must be greater than 0.
         * 
* * double width = 2; */ public double getWidth() { return width_; } /** *
         * Must be greater than 0.
         * 
* * double width = 2; */ public Builder setWidth(double value) { width_ = value; onChanged(); return this; } /** *
         * Must be greater than 0.
         * 
* * double width = 2; */ public Builder clearWidth() { width_ = 0D; onChanged(); return this; } private double offset_ ; /** *
         * Lower bound of the first bucket.
         * 
* * double offset = 3; */ public double getOffset() { return offset_; } /** *
         * Lower bound of the first bucket.
         * 
* * double offset = 3; */ public Builder setOffset(double value) { offset_ = value; onChanged(); return this; } /** *
         * Lower bound of the first bucket.
         * 
* * double offset = 3; */ public Builder clearOffset() { offset_ = 0D; onChanged(); return this; } public final Builder setUnknownFields( final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:google.api.Distribution.BucketOptions.Linear) } // @@protoc_insertion_point(class_scope:google.api.Distribution.BucketOptions.Linear) private static final nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear(); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear getDefaultInstance() { return DEFAULT_INSTANCE; } private static final nl.topicus.jdbc.shaded.com.google.protobuf.Parser PARSER = new nl.topicus.jdbc.shaded.com.google.protobuf.AbstractParser() { public Linear parsePartialFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return new Linear(input, extensionRegistry); } }; public static nl.topicus.jdbc.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public nl.topicus.jdbc.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExponentialOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.Distribution.BucketOptions.Exponential) nl.topicus.jdbc.shaded.com.google.protobuf.MessageOrBuilder { /** *
       * Must be greater than 0.
       * 
* * int32 num_finite_buckets = 1; */ int getNumFiniteBuckets(); /** *
       * Must be greater than 1.
       * 
* * double growth_factor = 2; */ double getGrowthFactor(); /** *
       * Must be greater than 0.
       * 
* * double scale = 3; */ double getScale(); } /** *
     * Specify a sequence of buckets that have a width that is proportional to
     * the value of the lower bound.  Each bucket represents a constant relative
     * uncertainty on a specific value in the bucket.
     * Defines `num_finite_buckets + 2` (= N) buckets with these boundaries for
     * bucket i:
     *    Upper bound (0 <= i < N-1):     scale * (growth_factor ^ i).
     *    Lower bound (1 <= i < N):       scale * (growth_factor ^ (i - 1)).
     * 
* * Protobuf type {@code google.api.Distribution.BucketOptions.Exponential} */ public static final class Exponential extends nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.Distribution.BucketOptions.Exponential) ExponentialOrBuilder { // Use Exponential.newBuilder() to construct. private Exponential(nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Exponential() { numFiniteBuckets_ = 0; growthFactor_ = 0D; scale_ = 0D; } @java.lang.Override public final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private Exponential( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 8: { numFiniteBuckets_ = input.readInt32(); break; } case 17: { growthFactor_ = input.readDouble(); break; } case 25: { scale_ = input.readDouble(); break; } } } } catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.nl.topicus.jdbc.shaded.io.IOException e) { throw new nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { makeExtensionsImmutable(); } } public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor; } protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Exponential_fieldAccessorTable .ensureFieldAccessorsInitialized( nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.class, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.Builder.class); } public static final int NUM_FINITE_BUCKETS_FIELD_NUMBER = 1; private int numFiniteBuckets_; /** *
       * Must be greater than 0.
       * 
* * int32 num_finite_buckets = 1; */ public int getNumFiniteBuckets() { return numFiniteBuckets_; } public static final int GROWTH_FACTOR_FIELD_NUMBER = 2; private double growthFactor_; /** *
       * Must be greater than 1.
       * 
* * double growth_factor = 2; */ public double getGrowthFactor() { return growthFactor_; } public static final int SCALE_FIELD_NUMBER = 3; private double scale_; /** *
       * Must be greater than 0.
       * 
* * double scale = 3; */ public double getScale() { return scale_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream output) throws java.nl.topicus.jdbc.shaded.io.IOException { if (numFiniteBuckets_ != 0) { output.writeInt32(1, numFiniteBuckets_); } if (growthFactor_ != 0D) { output.writeDouble(2, growthFactor_); } if (scale_ != 0D) { output.writeDouble(3, scale_); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (numFiniteBuckets_ != 0) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteInt32Size(1, numFiniteBuckets_); } if (growthFactor_ != 0D) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteDoubleSize(2, growthFactor_); } if (scale_ != 0D) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteDoubleSize(3, scale_); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential)) { return super.equals(obj); } nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential other = (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential) obj; boolean result = true; result = result && (getNumFiniteBuckets() == other.getNumFiniteBuckets()); result = result && ( java.lang.Double.doubleToLongBits(getGrowthFactor()) == java.lang.Double.doubleToLongBits( other.getGrowthFactor())); result = result && ( java.lang.Double.doubleToLongBits(getScale()) == java.lang.Double.doubleToLongBits( other.getScale())); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NUM_FINITE_BUCKETS_FIELD_NUMBER; hash = (53 * hash) + getNumFiniteBuckets(); hash = (37 * hash) + GROWTH_FACTOR_FIELD_NUMBER; hash = (53 * hash) + nl.topicus.jdbc.shaded.com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getGrowthFactor())); hash = (37 * hash) + SCALE_FIELD_NUMBER; hash = (53 * hash) + nl.topicus.jdbc.shaded.com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getScale())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential parseFrom( java.nio.ByteBuffer data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential parseFrom( java.nio.ByteBuffer data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential parseFrom(byte[] data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential parseFrom( byte[] data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential parseFrom(java.nl.topicus.jdbc.shaded.io.InputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential parseFrom( java.nl.topicus.jdbc.shaded.io.InputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential parseDelimitedFrom(java.nl.topicus.jdbc.shaded.io.InputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential parseDelimitedFrom( java.nl.topicus.jdbc.shaded.io.InputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
       * Specify a sequence of buckets that have a width that is proportional to
       * the value of the lower bound.  Each bucket represents a constant relative
       * uncertainty on a specific value in the bucket.
       * Defines `num_finite_buckets + 2` (= N) buckets with these boundaries for
       * bucket i:
       *    Upper bound (0 <= i < N-1):     scale * (growth_factor ^ i).
       *    Lower bound (1 <= i < N):       scale * (growth_factor ^ (i - 1)).
       * 
* * Protobuf type {@code google.api.Distribution.BucketOptions.Exponential} */ public static final class Builder extends nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Distribution.BucketOptions.Exponential) nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.ExponentialOrBuilder { public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor; } protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Exponential_fieldAccessorTable .ensureFieldAccessorsInitialized( nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.class, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.Builder.class); } // Construct using nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); numFiniteBuckets_ = 0; growthFactor_ = 0D; scale_ = 0D; return this; } public nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor; } public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential getDefaultInstanceForType() { return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance(); } public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential build() { nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential buildPartial() { nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential result = new nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential(this); result.numFiniteBuckets_ = numFiniteBuckets_; result.growthFactor_ = growthFactor_; result.scale_ = scale_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.protobuf.Message other) { if (other instanceof nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential) { return mergeFrom((nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential other) { if (other == nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance()) return this; if (other.getNumFiniteBuckets() != 0) { setNumFiniteBuckets(other.getNumFiniteBuckets()); } if (other.getGrowthFactor() != 0D) { setGrowthFactor(other.getGrowthFactor()); } if (other.getScale() != 0D) { setScale(other.getScale()); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int numFiniteBuckets_ ; /** *
         * Must be greater than 0.
         * 
* * int32 num_finite_buckets = 1; */ public int getNumFiniteBuckets() { return numFiniteBuckets_; } /** *
         * Must be greater than 0.
         * 
* * int32 num_finite_buckets = 1; */ public Builder setNumFiniteBuckets(int value) { numFiniteBuckets_ = value; onChanged(); return this; } /** *
         * Must be greater than 0.
         * 
* * int32 num_finite_buckets = 1; */ public Builder clearNumFiniteBuckets() { numFiniteBuckets_ = 0; onChanged(); return this; } private double growthFactor_ ; /** *
         * Must be greater than 1.
         * 
* * double growth_factor = 2; */ public double getGrowthFactor() { return growthFactor_; } /** *
         * Must be greater than 1.
         * 
* * double growth_factor = 2; */ public Builder setGrowthFactor(double value) { growthFactor_ = value; onChanged(); return this; } /** *
         * Must be greater than 1.
         * 
* * double growth_factor = 2; */ public Builder clearGrowthFactor() { growthFactor_ = 0D; onChanged(); return this; } private double scale_ ; /** *
         * Must be greater than 0.
         * 
* * double scale = 3; */ public double getScale() { return scale_; } /** *
         * Must be greater than 0.
         * 
* * double scale = 3; */ public Builder setScale(double value) { scale_ = value; onChanged(); return this; } /** *
         * Must be greater than 0.
         * 
* * double scale = 3; */ public Builder clearScale() { scale_ = 0D; onChanged(); return this; } public final Builder setUnknownFields( final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:google.api.Distribution.BucketOptions.Exponential) } // @@protoc_insertion_point(class_scope:google.api.Distribution.BucketOptions.Exponential) private static final nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential(); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential getDefaultInstance() { return DEFAULT_INSTANCE; } private static final nl.topicus.jdbc.shaded.com.google.protobuf.Parser PARSER = new nl.topicus.jdbc.shaded.com.google.protobuf.AbstractParser() { public Exponential parsePartialFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return new Exponential(input, extensionRegistry); } }; public static nl.topicus.jdbc.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public nl.topicus.jdbc.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExplicitOrBuilder extends // @@protoc_insertion_point(interface_extends:google.api.Distribution.BucketOptions.Explicit) nl.topicus.jdbc.shaded.com.google.protobuf.MessageOrBuilder { /** *
       * The values must be monotonically increasing.
       * 
* * repeated double bounds = 1; */ java.util.List getBoundsList(); /** *
       * The values must be monotonically increasing.
       * 
* * repeated double bounds = 1; */ int getBoundsCount(); /** *
       * The values must be monotonically increasing.
       * 
* * repeated double bounds = 1; */ double getBounds(int index); } /** *
     * A set of buckets with arbitrary widths.
     * Defines `size(bounds) + 1` (= N) buckets with these boundaries for
     * bucket i:
     *    Upper bound (0 <= i < N-1):     bounds[i]
     *    Lower bound (1 <= i < N);       bounds[i - 1]
     * There must be at least one element in `bounds`.  If `bounds` has only one
     * element, there are no finite buckets, and that single element is the
     * nl.topicus.jdbc.shaded.com.on boundary of the overflow and underflow buckets.
     * 
* * Protobuf type {@code google.api.Distribution.BucketOptions.Explicit} */ public static final class Explicit extends nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.api.Distribution.BucketOptions.Explicit) ExplicitOrBuilder { // Use Explicit.newBuilder() to construct. private Explicit(nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Explicit() { bounds_ = java.util.Collections.emptyList(); } @java.lang.Override public final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private Explicit( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 9: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { bounds_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } bounds_.add(input.readDouble()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { bounds_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { bounds_.add(input.readDouble()); } input.popLimit(limit); break; } } } } catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.nl.topicus.jdbc.shaded.io.IOException e) { throw new nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { bounds_ = java.util.Collections.unmodifiableList(bounds_); } makeExtensionsImmutable(); } } public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor; } protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Explicit_fieldAccessorTable .ensureFieldAccessorsInitialized( nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.class, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.Builder.class); } public static final int BOUNDS_FIELD_NUMBER = 1; private java.util.List bounds_; /** *
       * The values must be monotonically increasing.
       * 
* * repeated double bounds = 1; */ public java.util.List getBoundsList() { return bounds_; } /** *
       * The values must be monotonically increasing.
       * 
* * repeated double bounds = 1; */ public int getBoundsCount() { return bounds_.size(); } /** *
       * The values must be monotonically increasing.
       * 
* * repeated double bounds = 1; */ public double getBounds(int index) { return bounds_.get(index); } private int boundsMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream output) throws java.nl.topicus.jdbc.shaded.io.IOException { getSerializedSize(); if (getBoundsList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(boundsMemoizedSerializedSize); } for (int i = 0; i < bounds_.size(); i++) { output.writeDoubleNoTag(bounds_.get(i)); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; dataSize = 8 * getBoundsList().size(); size += dataSize; if (!getBoundsList().isEmpty()) { size += 1; size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteInt32SizeNoTag(dataSize); } boundsMemoizedSerializedSize = dataSize; } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit)) { return super.equals(obj); } nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit other = (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit) obj; boolean result = true; result = result && getBoundsList() .equals(other.getBoundsList()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getBoundsCount() > 0) { hash = (37 * hash) + BOUNDS_FIELD_NUMBER; hash = (53 * hash) + getBoundsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit parseFrom( java.nio.ByteBuffer data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit parseFrom( java.nio.ByteBuffer data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit parseFrom(byte[] data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit parseFrom( byte[] data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit parseFrom(java.nl.topicus.jdbc.shaded.io.InputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit parseFrom( java.nl.topicus.jdbc.shaded.io.InputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit parseDelimitedFrom(java.nl.topicus.jdbc.shaded.io.InputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit parseDelimitedFrom( java.nl.topicus.jdbc.shaded.io.InputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
       * A set of buckets with arbitrary widths.
       * Defines `size(bounds) + 1` (= N) buckets with these boundaries for
       * bucket i:
       *    Upper bound (0 <= i < N-1):     bounds[i]
       *    Lower bound (1 <= i < N);       bounds[i - 1]
       * There must be at least one element in `bounds`.  If `bounds` has only one
       * element, there are no finite buckets, and that single element is the
       * nl.topicus.jdbc.shaded.com.on boundary of the overflow and underflow buckets.
       * 
* * Protobuf type {@code google.api.Distribution.BucketOptions.Explicit} */ public static final class Builder extends nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Distribution.BucketOptions.Explicit) nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.ExplicitOrBuilder { public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor; } protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Explicit_fieldAccessorTable .ensureFieldAccessorsInitialized( nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.class, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.Builder.class); } // Construct using nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); bounds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } public nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor; } public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit getDefaultInstanceForType() { return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance(); } public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit build() { nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit buildPartial() { nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit result = new nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { bounds_ = java.util.Collections.unmodifiableList(bounds_); bitField0_ = (bitField0_ & ~0x00000001); } result.bounds_ = bounds_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.protobuf.Message other) { if (other instanceof nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit) { return mergeFrom((nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit other) { if (other == nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance()) return this; if (!other.bounds_.isEmpty()) { if (bounds_.isEmpty()) { bounds_ = other.bounds_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureBoundsIsMutable(); bounds_.addAll(other.bounds_); } onChanged(); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List bounds_ = java.util.Collections.emptyList(); private void ensureBoundsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { bounds_ = new java.util.ArrayList(bounds_); bitField0_ |= 0x00000001; } } /** *
         * The values must be monotonically increasing.
         * 
* * repeated double bounds = 1; */ public java.util.List getBoundsList() { return java.util.Collections.unmodifiableList(bounds_); } /** *
         * The values must be monotonically increasing.
         * 
* * repeated double bounds = 1; */ public int getBoundsCount() { return bounds_.size(); } /** *
         * The values must be monotonically increasing.
         * 
* * repeated double bounds = 1; */ public double getBounds(int index) { return bounds_.get(index); } /** *
         * The values must be monotonically increasing.
         * 
* * repeated double bounds = 1; */ public Builder setBounds( int index, double value) { ensureBoundsIsMutable(); bounds_.set(index, value); onChanged(); return this; } /** *
         * The values must be monotonically increasing.
         * 
* * repeated double bounds = 1; */ public Builder addBounds(double value) { ensureBoundsIsMutable(); bounds_.add(value); onChanged(); return this; } /** *
         * The values must be monotonically increasing.
         * 
* * repeated double bounds = 1; */ public Builder addAllBounds( java.lang.Iterable values) { ensureBoundsIsMutable(); nl.topicus.jdbc.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, bounds_); onChanged(); return this; } /** *
         * The values must be monotonically increasing.
         * 
* * repeated double bounds = 1; */ public Builder clearBounds() { bounds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } public final Builder setUnknownFields( final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:google.api.Distribution.BucketOptions.Explicit) } // @@protoc_insertion_point(class_scope:google.api.Distribution.BucketOptions.Explicit) private static final nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit(); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit getDefaultInstance() { return DEFAULT_INSTANCE; } private static final nl.topicus.jdbc.shaded.com.google.protobuf.Parser PARSER = new nl.topicus.jdbc.shaded.com.google.protobuf.AbstractParser() { public Explicit parsePartialFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return new Explicit(input, extensionRegistry); } }; public static nl.topicus.jdbc.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public nl.topicus.jdbc.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int optionsCase_ = 0; private java.lang.Object options_; public enum OptionsCase implements nl.topicus.jdbc.shaded.com.google.protobuf.Internal.EnumLite { LINEAR_BUCKETS(1), EXPONENTIAL_BUCKETS(2), EXPLICIT_BUCKETS(3), OPTIONS_NOT_SET(0); private final int value; private OptionsCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static OptionsCase valueOf(int value) { return forNumber(value); } public static OptionsCase forNumber(int value) { switch (value) { case 1: return LINEAR_BUCKETS; case 2: return EXPONENTIAL_BUCKETS; case 3: return EXPLICIT_BUCKETS; case 0: return OPTIONS_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public OptionsCase getOptionsCase() { return OptionsCase.forNumber( optionsCase_); } public static final int LINEAR_BUCKETS_FIELD_NUMBER = 1; /** *
     * The linear bucket.
     * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear getLinearBuckets() { if (optionsCase_ == 1) { return (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear) options_; } return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance(); } /** *
     * The linear bucket.
     * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.LinearOrBuilder getLinearBucketsOrBuilder() { if (optionsCase_ == 1) { return (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear) options_; } return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance(); } public static final int EXPONENTIAL_BUCKETS_FIELD_NUMBER = 2; /** *
     * The exponential buckets.
     * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential getExponentialBuckets() { if (optionsCase_ == 2) { return (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential) options_; } return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance(); } /** *
     * The exponential buckets.
     * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.ExponentialOrBuilder getExponentialBucketsOrBuilder() { if (optionsCase_ == 2) { return (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential) options_; } return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance(); } public static final int EXPLICIT_BUCKETS_FIELD_NUMBER = 3; /** *
     * The explicit buckets.
     * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit getExplicitBuckets() { if (optionsCase_ == 3) { return (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit) options_; } return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance(); } /** *
     * The explicit buckets.
     * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.ExplicitOrBuilder getExplicitBucketsOrBuilder() { if (optionsCase_ == 3) { return (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit) options_; } return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream output) throws java.nl.topicus.jdbc.shaded.io.IOException { if (optionsCase_ == 1) { output.writeMessage(1, (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear) options_); } if (optionsCase_ == 2) { output.writeMessage(2, (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential) options_); } if (optionsCase_ == 3) { output.writeMessage(3, (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit) options_); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (optionsCase_ == 1) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteMessageSize(1, (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear) options_); } if (optionsCase_ == 2) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteMessageSize(2, (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential) options_); } if (optionsCase_ == 3) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteMessageSize(3, (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit) options_); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions)) { return super.equals(obj); } nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions other = (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions) obj; boolean result = true; result = result && getOptionsCase().equals( other.getOptionsCase()); if (!result) return false; switch (optionsCase_) { case 1: result = result && getLinearBuckets() .equals(other.getLinearBuckets()); break; case 2: result = result && getExponentialBuckets() .equals(other.getExponentialBuckets()); break; case 3: result = result && getExplicitBuckets() .equals(other.getExplicitBuckets()); break; case 0: default: } return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (optionsCase_) { case 1: hash = (37 * hash) + LINEAR_BUCKETS_FIELD_NUMBER; hash = (53 * hash) + getLinearBuckets().hashCode(); break; case 2: hash = (37 * hash) + EXPONENTIAL_BUCKETS_FIELD_NUMBER; hash = (53 * hash) + getExponentialBuckets().hashCode(); break; case 3: hash = (37 * hash) + EXPLICIT_BUCKETS_FIELD_NUMBER; hash = (53 * hash) + getExplicitBuckets().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions parseFrom( java.nio.ByteBuffer data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions parseFrom( java.nio.ByteBuffer data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions parseFrom(byte[] data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions parseFrom( byte[] data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions parseFrom(java.nl.topicus.jdbc.shaded.io.InputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions parseFrom( java.nl.topicus.jdbc.shaded.io.InputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions parseDelimitedFrom(java.nl.topicus.jdbc.shaded.io.InputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions parseDelimitedFrom( java.nl.topicus.jdbc.shaded.io.InputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * A Distribution may optionally contain a histogram of the values in the
     * population.  The histogram is given in `bucket_counts` as counts of values
     * that fall into one of a sequence of non-overlapping buckets.  The sequence
     * of buckets is described by `bucket_options`.
     * A bucket specifies an inclusive lower bound and exclusive upper bound for
     * the values that are counted for that bucket.  The upper bound of a bucket
     * is 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.
     * `BucketOptions` describes bucket boundaries in one of three ways.  Two
     * describe the boundaries by giving parameters for a formula to generate
     * boundaries and one gives the bucket boundaries explicitly.
     * If `bucket_boundaries` is not given, then no `bucket_counts` may be given.
     * 
* * Protobuf type {@code google.api.Distribution.BucketOptions} */ public static final class Builder extends nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Distribution.BucketOptions) nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptionsOrBuilder { public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_descriptor; } protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.class, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Builder.class); } // Construct using nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); optionsCase_ = 0; options_ = null; return this; } public nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_BucketOptions_descriptor; } public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions getDefaultInstanceForType() { return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.getDefaultInstance(); } public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions build() { nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions buildPartial() { nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions result = new nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions(this); if (optionsCase_ == 1) { if (linearBucketsBuilder_ == null) { result.options_ = options_; } else { result.options_ = linearBucketsBuilder_.build(); } } if (optionsCase_ == 2) { if (exponentialBucketsBuilder_ == null) { result.options_ = options_; } else { result.options_ = exponentialBucketsBuilder_.build(); } } if (optionsCase_ == 3) { if (explicitBucketsBuilder_ == null) { result.options_ = options_; } else { result.options_ = explicitBucketsBuilder_.build(); } } result.optionsCase_ = optionsCase_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.protobuf.Message other) { if (other instanceof nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions) { return mergeFrom((nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions other) { if (other == nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.getDefaultInstance()) return this; switch (other.getOptionsCase()) { case LINEAR_BUCKETS: { mergeLinearBuckets(other.getLinearBuckets()); break; } case EXPONENTIAL_BUCKETS: { mergeExponentialBuckets(other.getExponentialBuckets()); break; } case EXPLICIT_BUCKETS: { mergeExplicitBuckets(other.getExplicitBuckets()); break; } case OPTIONS_NOT_SET: { break; } } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int optionsCase_ = 0; private java.lang.Object options_; public OptionsCase getOptionsCase() { return OptionsCase.forNumber( optionsCase_); } public Builder clearOptions() { optionsCase_ = 0; options_ = null; onChanged(); return this; } private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3< nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.Builder, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.LinearOrBuilder> linearBucketsBuilder_; /** *
       * The linear bucket.
       * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear getLinearBuckets() { if (linearBucketsBuilder_ == null) { if (optionsCase_ == 1) { return (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear) options_; } return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance(); } else { if (optionsCase_ == 1) { return linearBucketsBuilder_.getMessage(); } return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance(); } } /** *
       * The linear bucket.
       * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; */ public Builder setLinearBuckets(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear value) { if (linearBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } options_ = value; onChanged(); } else { linearBucketsBuilder_.setMessage(value); } optionsCase_ = 1; return this; } /** *
       * The linear bucket.
       * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; */ public Builder setLinearBuckets( nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.Builder builderForValue) { if (linearBucketsBuilder_ == null) { options_ = builderForValue.build(); onChanged(); } else { linearBucketsBuilder_.setMessage(builderForValue.build()); } optionsCase_ = 1; return this; } /** *
       * The linear bucket.
       * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; */ public Builder mergeLinearBuckets(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear value) { if (linearBucketsBuilder_ == null) { if (optionsCase_ == 1 && options_ != nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance()) { options_ = nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.newBuilder((nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear) options_) .mergeFrom(value).buildPartial(); } else { options_ = value; } onChanged(); } else { if (optionsCase_ == 1) { linearBucketsBuilder_.mergeFrom(value); } linearBucketsBuilder_.setMessage(value); } optionsCase_ = 1; return this; } /** *
       * The linear bucket.
       * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; */ public Builder clearLinearBuckets() { if (linearBucketsBuilder_ == null) { if (optionsCase_ == 1) { optionsCase_ = 0; options_ = null; onChanged(); } } else { if (optionsCase_ == 1) { optionsCase_ = 0; options_ = null; } linearBucketsBuilder_.clear(); } return this; } /** *
       * The linear bucket.
       * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.Builder getLinearBucketsBuilder() { return getLinearBucketsFieldBuilder().getBuilder(); } /** *
       * The linear bucket.
       * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.LinearOrBuilder getLinearBucketsOrBuilder() { if ((optionsCase_ == 1) && (linearBucketsBuilder_ != null)) { return linearBucketsBuilder_.getMessageOrBuilder(); } else { if (optionsCase_ == 1) { return (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear) options_; } return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance(); } } /** *
       * The linear bucket.
       * 
* * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; */ private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3< nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.Builder, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.LinearOrBuilder> getLinearBucketsFieldBuilder() { if (linearBucketsBuilder_ == null) { if (!(optionsCase_ == 1)) { options_ = nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance(); } linearBucketsBuilder_ = new nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3< nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear.Builder, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.LinearOrBuilder>( (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Linear) options_, getParentForChildren(), isClean()); options_ = null; } optionsCase_ = 1; onChanged();; return linearBucketsBuilder_; } private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3< nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.Builder, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.ExponentialOrBuilder> exponentialBucketsBuilder_; /** *
       * The exponential buckets.
       * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential getExponentialBuckets() { if (exponentialBucketsBuilder_ == null) { if (optionsCase_ == 2) { return (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential) options_; } return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance(); } else { if (optionsCase_ == 2) { return exponentialBucketsBuilder_.getMessage(); } return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance(); } } /** *
       * The exponential buckets.
       * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ public Builder setExponentialBuckets(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential value) { if (exponentialBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } options_ = value; onChanged(); } else { exponentialBucketsBuilder_.setMessage(value); } optionsCase_ = 2; return this; } /** *
       * The exponential buckets.
       * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ public Builder setExponentialBuckets( nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.Builder builderForValue) { if (exponentialBucketsBuilder_ == null) { options_ = builderForValue.build(); onChanged(); } else { exponentialBucketsBuilder_.setMessage(builderForValue.build()); } optionsCase_ = 2; return this; } /** *
       * The exponential buckets.
       * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ public Builder mergeExponentialBuckets(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential value) { if (exponentialBucketsBuilder_ == null) { if (optionsCase_ == 2 && options_ != nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance()) { options_ = nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.newBuilder((nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential) options_) .mergeFrom(value).buildPartial(); } else { options_ = value; } onChanged(); } else { if (optionsCase_ == 2) { exponentialBucketsBuilder_.mergeFrom(value); } exponentialBucketsBuilder_.setMessage(value); } optionsCase_ = 2; return this; } /** *
       * The exponential buckets.
       * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ public Builder clearExponentialBuckets() { if (exponentialBucketsBuilder_ == null) { if (optionsCase_ == 2) { optionsCase_ = 0; options_ = null; onChanged(); } } else { if (optionsCase_ == 2) { optionsCase_ = 0; options_ = null; } exponentialBucketsBuilder_.clear(); } return this; } /** *
       * The exponential buckets.
       * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.Builder getExponentialBucketsBuilder() { return getExponentialBucketsFieldBuilder().getBuilder(); } /** *
       * The exponential buckets.
       * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.ExponentialOrBuilder getExponentialBucketsOrBuilder() { if ((optionsCase_ == 2) && (exponentialBucketsBuilder_ != null)) { return exponentialBucketsBuilder_.getMessageOrBuilder(); } else { if (optionsCase_ == 2) { return (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential) options_; } return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance(); } } /** *
       * The exponential buckets.
       * 
* * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3< nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.Builder, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.ExponentialOrBuilder> getExponentialBucketsFieldBuilder() { if (exponentialBucketsBuilder_ == null) { if (!(optionsCase_ == 2)) { options_ = nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance(); } exponentialBucketsBuilder_ = new nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3< nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential.Builder, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.ExponentialOrBuilder>( (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Exponential) options_, getParentForChildren(), isClean()); options_ = null; } optionsCase_ = 2; onChanged();; return exponentialBucketsBuilder_; } private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3< nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.Builder, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.ExplicitOrBuilder> explicitBucketsBuilder_; /** *
       * The explicit buckets.
       * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit getExplicitBuckets() { if (explicitBucketsBuilder_ == null) { if (optionsCase_ == 3) { return (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit) options_; } return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance(); } else { if (optionsCase_ == 3) { return explicitBucketsBuilder_.getMessage(); } return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance(); } } /** *
       * The explicit buckets.
       * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ public Builder setExplicitBuckets(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit value) { if (explicitBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } options_ = value; onChanged(); } else { explicitBucketsBuilder_.setMessage(value); } optionsCase_ = 3; return this; } /** *
       * The explicit buckets.
       * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ public Builder setExplicitBuckets( nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.Builder builderForValue) { if (explicitBucketsBuilder_ == null) { options_ = builderForValue.build(); onChanged(); } else { explicitBucketsBuilder_.setMessage(builderForValue.build()); } optionsCase_ = 3; return this; } /** *
       * The explicit buckets.
       * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ public Builder mergeExplicitBuckets(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit value) { if (explicitBucketsBuilder_ == null) { if (optionsCase_ == 3 && options_ != nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance()) { options_ = nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.newBuilder((nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit) options_) .mergeFrom(value).buildPartial(); } else { options_ = value; } onChanged(); } else { if (optionsCase_ == 3) { explicitBucketsBuilder_.mergeFrom(value); } explicitBucketsBuilder_.setMessage(value); } optionsCase_ = 3; return this; } /** *
       * The explicit buckets.
       * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ public Builder clearExplicitBuckets() { if (explicitBucketsBuilder_ == null) { if (optionsCase_ == 3) { optionsCase_ = 0; options_ = null; onChanged(); } } else { if (optionsCase_ == 3) { optionsCase_ = 0; options_ = null; } explicitBucketsBuilder_.clear(); } return this; } /** *
       * The explicit buckets.
       * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.Builder getExplicitBucketsBuilder() { return getExplicitBucketsFieldBuilder().getBuilder(); } /** *
       * The explicit buckets.
       * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.ExplicitOrBuilder getExplicitBucketsOrBuilder() { if ((optionsCase_ == 3) && (explicitBucketsBuilder_ != null)) { return explicitBucketsBuilder_.getMessageOrBuilder(); } else { if (optionsCase_ == 3) { return (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit) options_; } return nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance(); } } /** *
       * The explicit buckets.
       * 
* * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3< nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.Builder, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.ExplicitOrBuilder> getExplicitBucketsFieldBuilder() { if (explicitBucketsBuilder_ == null) { if (!(optionsCase_ == 3)) { options_ = nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance(); } explicitBucketsBuilder_ = new nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3< nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit.Builder, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.ExplicitOrBuilder>( (nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Explicit) options_, getParentForChildren(), isClean()); options_ = null; } optionsCase_ = 3; onChanged();; return explicitBucketsBuilder_; } public final Builder setUnknownFields( final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:google.api.Distribution.BucketOptions) } // @@protoc_insertion_point(class_scope:google.api.Distribution.BucketOptions) private static final nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions(); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions getDefaultInstance() { return DEFAULT_INSTANCE; } private static final nl.topicus.jdbc.shaded.com.google.protobuf.Parser PARSER = new nl.topicus.jdbc.shaded.com.google.protobuf.AbstractParser() { public BucketOptions parsePartialFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return new BucketOptions(input, extensionRegistry); } }; public static nl.topicus.jdbc.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public nl.topicus.jdbc.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int COUNT_FIELD_NUMBER = 1; private long count_; /** *
   * The number of values in the population. Must be non-negative.
   * 
* * int64 count = 1; */ public long getCount() { return count_; } public static final int MEAN_FIELD_NUMBER = 2; private double mean_; /** *
   * The arithmetic mean of the values in the population. If `count` is zero
   * then this field must be zero.
   * 
* * double mean = 2; */ public double getMean() { return mean_; } public static final int SUM_OF_SQUARED_DEVIATION_FIELD_NUMBER = 3; private double sumOfSquaredDeviation_; /** *
   * The sum of squared deviations from the mean of the values in the
   * population.  For values x_i this is:
   *     Sum[i=1..n]((x_i - mean)^2)
   * Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
   * describes Welford's method for accumulating this sum in one pass.
   * If `count` is zero then this field must be zero.
   * 
* * double sum_of_squared_deviation = 3; */ public double getSumOfSquaredDeviation() { return sumOfSquaredDeviation_; } public static final int RANGE_FIELD_NUMBER = 4; private nl.topicus.jdbc.shaded.com.google.api.Distribution.Range range_; /** *
   * If specified, contains the range of the population values. The field
   * must not be present if the `count` is zero.
   * 
* * .google.api.Distribution.Range range = 4; */ public boolean hasRange() { return range_ != null; } /** *
   * If specified, contains the range of the population values. The field
   * must not be present if the `count` is zero.
   * 
* * .google.api.Distribution.Range range = 4; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.Range getRange() { return range_ == null ? nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.getDefaultInstance() : range_; } /** *
   * If specified, contains the range of the population values. The field
   * must not be present if the `count` is zero.
   * 
* * .google.api.Distribution.Range range = 4; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.RangeOrBuilder getRangeOrBuilder() { return getRange(); } public static final int BUCKET_OPTIONS_FIELD_NUMBER = 6; private nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions bucketOptions_; /** *
   * Defines the histogram bucket boundaries.
   * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; */ public boolean hasBucketOptions() { return bucketOptions_ != null; } /** *
   * Defines the histogram bucket boundaries.
   * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions getBucketOptions() { return bucketOptions_ == null ? nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.getDefaultInstance() : bucketOptions_; } /** *
   * Defines the histogram bucket boundaries.
   * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuilder() { return getBucketOptions(); } public static final int BUCKET_COUNTS_FIELD_NUMBER = 7; private java.util.List bucketCounts_; /** *
   * If `bucket_options` is given, then the sum of the values in `bucket_counts`
   * must equal the value in `count`.  If `bucket_options` is not given, no
   * `bucket_counts` fields may be given.
   * Bucket counts are given in order under the numbering scheme described
   * above (the underflow bucket has number 0; the finite buckets, if any,
   * have numbers 1 through N-2; the overflow bucket has number N-1).
   * The size of `bucket_counts` must be no greater than N as defined in
   * `bucket_options`.
   * Any suffix of trailing zero bucket_count fields may be omitted.
   * 
* * repeated int64 bucket_counts = 7; */ public java.util.List getBucketCountsList() { return bucketCounts_; } /** *
   * If `bucket_options` is given, then the sum of the values in `bucket_counts`
   * must equal the value in `count`.  If `bucket_options` is not given, no
   * `bucket_counts` fields may be given.
   * Bucket counts are given in order under the numbering scheme described
   * above (the underflow bucket has number 0; the finite buckets, if any,
   * have numbers 1 through N-2; the overflow bucket has number N-1).
   * The size of `bucket_counts` must be no greater than N as defined in
   * `bucket_options`.
   * Any suffix of trailing zero bucket_count fields may be omitted.
   * 
* * repeated int64 bucket_counts = 7; */ public int getBucketCountsCount() { return bucketCounts_.size(); } /** *
   * If `bucket_options` is given, then the sum of the values in `bucket_counts`
   * must equal the value in `count`.  If `bucket_options` is not given, no
   * `bucket_counts` fields may be given.
   * Bucket counts are given in order under the numbering scheme described
   * above (the underflow bucket has number 0; the finite buckets, if any,
   * have numbers 1 through N-2; the overflow bucket has number N-1).
   * The size of `bucket_counts` must be no greater than N as defined in
   * `bucket_options`.
   * Any suffix of trailing zero bucket_count fields may be omitted.
   * 
* * repeated int64 bucket_counts = 7; */ public long getBucketCounts(int index) { return bucketCounts_.get(index); } private int bucketCountsMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream output) throws java.nl.topicus.jdbc.shaded.io.IOException { getSerializedSize(); if (count_ != 0L) { output.writeInt64(1, count_); } if (mean_ != 0D) { output.writeDouble(2, mean_); } if (sumOfSquaredDeviation_ != 0D) { output.writeDouble(3, sumOfSquaredDeviation_); } if (range_ != null) { output.writeMessage(4, getRange()); } if (bucketOptions_ != null) { output.writeMessage(6, getBucketOptions()); } if (getBucketCountsList().size() > 0) { output.writeUInt32NoTag(58); output.writeUInt32NoTag(bucketCountsMemoizedSerializedSize); } for (int i = 0; i < bucketCounts_.size(); i++) { output.writeInt64NoTag(bucketCounts_.get(i)); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (count_ != 0L) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteInt64Size(1, count_); } if (mean_ != 0D) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteDoubleSize(2, mean_); } if (sumOfSquaredDeviation_ != 0D) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteDoubleSize(3, sumOfSquaredDeviation_); } if (range_ != null) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteMessageSize(4, getRange()); } if (bucketOptions_ != null) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteMessageSize(6, getBucketOptions()); } { int dataSize = 0; for (int i = 0; i < bucketCounts_.size(); i++) { dataSize += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteInt64SizeNoTag(bucketCounts_.get(i)); } size += dataSize; if (!getBucketCountsList().isEmpty()) { size += 1; size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .nl.topicus.jdbc.shaded.com.uteInt32SizeNoTag(dataSize); } bucketCountsMemoizedSerializedSize = dataSize; } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof nl.topicus.jdbc.shaded.com.google.api.Distribution)) { return super.equals(obj); } nl.topicus.jdbc.shaded.com.google.api.Distribution other = (nl.topicus.jdbc.shaded.com.google.api.Distribution) obj; boolean result = true; result = result && (getCount() == other.getCount()); result = result && ( java.lang.Double.doubleToLongBits(getMean()) == java.lang.Double.doubleToLongBits( other.getMean())); result = result && ( java.lang.Double.doubleToLongBits(getSumOfSquaredDeviation()) == java.lang.Double.doubleToLongBits( other.getSumOfSquaredDeviation())); result = result && (hasRange() == other.hasRange()); if (hasRange()) { result = result && getRange() .equals(other.getRange()); } result = result && (hasBucketOptions() == other.hasBucketOptions()); if (hasBucketOptions()) { result = result && getBucketOptions() .equals(other.getBucketOptions()); } result = result && getBucketCountsList() .equals(other.getBucketCountsList()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + nl.topicus.jdbc.shaded.com.google.protobuf.Internal.hashLong( getCount()); hash = (37 * hash) + MEAN_FIELD_NUMBER; hash = (53 * hash) + nl.topicus.jdbc.shaded.com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMean())); hash = (37 * hash) + SUM_OF_SQUARED_DEVIATION_FIELD_NUMBER; hash = (53 * hash) + nl.topicus.jdbc.shaded.com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getSumOfSquaredDeviation())); if (hasRange()) { hash = (37 * hash) + RANGE_FIELD_NUMBER; hash = (53 * hash) + getRange().hashCode(); } if (hasBucketOptions()) { hash = (37 * hash) + BUCKET_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getBucketOptions().hashCode(); } if (getBucketCountsCount() > 0) { hash = (37 * hash) + BUCKET_COUNTS_FIELD_NUMBER; hash = (53 * hash) + getBucketCountsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static nl.topicus.jdbc.shaded.com.google.api.Distribution parseFrom( java.nio.ByteBuffer data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution parseFrom( java.nio.ByteBuffer data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution parseFrom(byte[] data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution parseFrom( byte[] data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution parseFrom(java.nl.topicus.jdbc.shaded.io.InputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution parseFrom( java.nl.topicus.jdbc.shaded.io.InputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution parseDelimitedFrom(java.nl.topicus.jdbc.shaded.io.InputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution parseDelimitedFrom( java.nl.topicus.jdbc.shaded.io.InputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(nl.topicus.jdbc.shaded.com.google.api.Distribution prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Distribution contains summary statistics for a population of values and,
   * optionally, a histogram representing the distribution of those values across
   * a specified set of histogram buckets.
   * The summary statistics are the count, mean, sum of the squared deviation from
   * the mean, the minimum, and the maximum of the set of population of values.
   * The histogram is based on a sequence of buckets and gives a count of values
   * that fall into each bucket.  The boundaries of the buckets are given either
   * explicitly or by specifying parameters for a method of nl.topicus.jdbc.shaded.com.uting them
   * (buckets of fixed width or buckets of exponentially increasing width).
   * Although it is not forbidden, it is generally a bad idea to include
   * non-finite values (infinities or NaNs) in the population of values, as this
   * will render the `mean` and `sum_of_squared_deviation` fields meaningless.
   * 
* * Protobuf type {@code google.api.Distribution} */ public static final class Builder extends nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Distribution) nl.topicus.jdbc.shaded.com.google.api.DistributionOrBuilder { public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_descriptor; } protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_fieldAccessorTable .ensureFieldAccessorsInitialized( nl.topicus.jdbc.shaded.com.google.api.Distribution.class, nl.topicus.jdbc.shaded.com.google.api.Distribution.Builder.class); } // Construct using nl.topicus.jdbc.shaded.com.google.api.Distribution.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); count_ = 0L; mean_ = 0D; sumOfSquaredDeviation_ = 0D; if (rangeBuilder_ == null) { range_ = null; } else { range_ = null; rangeBuilder_ = null; } if (bucketOptionsBuilder_ == null) { bucketOptions_ = null; } else { bucketOptions_ = null; bucketOptionsBuilder_ = null; } bucketCounts_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); return this; } public nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return nl.topicus.jdbc.shaded.com.google.api.DistributionProto.internal_static_google_api_Distribution_descriptor; } public nl.topicus.jdbc.shaded.com.google.api.Distribution getDefaultInstanceForType() { return nl.topicus.jdbc.shaded.com.google.api.Distribution.getDefaultInstance(); } public nl.topicus.jdbc.shaded.com.google.api.Distribution build() { nl.topicus.jdbc.shaded.com.google.api.Distribution result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public nl.topicus.jdbc.shaded.com.google.api.Distribution buildPartial() { nl.topicus.jdbc.shaded.com.google.api.Distribution result = new nl.topicus.jdbc.shaded.com.google.api.Distribution(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.count_ = count_; result.mean_ = mean_; result.sumOfSquaredDeviation_ = sumOfSquaredDeviation_; if (rangeBuilder_ == null) { result.range_ = range_; } else { result.range_ = rangeBuilder_.build(); } if (bucketOptionsBuilder_ == null) { result.bucketOptions_ = bucketOptions_; } else { result.bucketOptions_ = bucketOptionsBuilder_.build(); } if (((bitField0_ & 0x00000020) == 0x00000020)) { bucketCounts_ = java.util.Collections.unmodifiableList(bucketCounts_); bitField0_ = (bitField0_ & ~0x00000020); } result.bucketCounts_ = bucketCounts_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.protobuf.Message other) { if (other instanceof nl.topicus.jdbc.shaded.com.google.api.Distribution) { return mergeFrom((nl.topicus.jdbc.shaded.com.google.api.Distribution)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.api.Distribution other) { if (other == nl.topicus.jdbc.shaded.com.google.api.Distribution.getDefaultInstance()) return this; if (other.getCount() != 0L) { setCount(other.getCount()); } if (other.getMean() != 0D) { setMean(other.getMean()); } if (other.getSumOfSquaredDeviation() != 0D) { setSumOfSquaredDeviation(other.getSumOfSquaredDeviation()); } if (other.hasRange()) { mergeRange(other.getRange()); } if (other.hasBucketOptions()) { mergeBucketOptions(other.getBucketOptions()); } if (!other.bucketCounts_.isEmpty()) { if (bucketCounts_.isEmpty()) { bucketCounts_ = other.bucketCounts_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureBucketCountsIsMutable(); bucketCounts_.addAll(other.bucketCounts_); } onChanged(); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.nl.topicus.jdbc.shaded.io.IOException { nl.topicus.jdbc.shaded.com.google.api.Distribution parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (nl.topicus.jdbc.shaded.com.google.api.Distribution) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long count_ ; /** *
     * The number of values in the population. Must be non-negative.
     * 
* * int64 count = 1; */ public long getCount() { return count_; } /** *
     * The number of values in the population. Must be non-negative.
     * 
* * int64 count = 1; */ public Builder setCount(long value) { count_ = value; onChanged(); return this; } /** *
     * The number of values in the population. Must be non-negative.
     * 
* * int64 count = 1; */ public Builder clearCount() { count_ = 0L; onChanged(); return this; } private double mean_ ; /** *
     * The arithmetic mean of the values in the population. If `count` is zero
     * then this field must be zero.
     * 
* * double mean = 2; */ public double getMean() { return mean_; } /** *
     * The arithmetic mean of the values in the population. If `count` is zero
     * then this field must be zero.
     * 
* * double mean = 2; */ public Builder setMean(double value) { mean_ = value; onChanged(); return this; } /** *
     * The arithmetic mean of the values in the population. If `count` is zero
     * then this field must be zero.
     * 
* * double mean = 2; */ public Builder clearMean() { mean_ = 0D; onChanged(); return this; } private double sumOfSquaredDeviation_ ; /** *
     * The sum of squared deviations from the mean of the values in the
     * population.  For values x_i this is:
     *     Sum[i=1..n]((x_i - mean)^2)
     * Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
     * describes Welford's method for accumulating this sum in one pass.
     * If `count` is zero then this field must be zero.
     * 
* * double sum_of_squared_deviation = 3; */ public double getSumOfSquaredDeviation() { return sumOfSquaredDeviation_; } /** *
     * The sum of squared deviations from the mean of the values in the
     * population.  For values x_i this is:
     *     Sum[i=1..n]((x_i - mean)^2)
     * Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
     * describes Welford's method for accumulating this sum in one pass.
     * If `count` is zero then this field must be zero.
     * 
* * double sum_of_squared_deviation = 3; */ public Builder setSumOfSquaredDeviation(double value) { sumOfSquaredDeviation_ = value; onChanged(); return this; } /** *
     * The sum of squared deviations from the mean of the values in the
     * population.  For values x_i this is:
     *     Sum[i=1..n]((x_i - mean)^2)
     * Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
     * describes Welford's method for accumulating this sum in one pass.
     * If `count` is zero then this field must be zero.
     * 
* * double sum_of_squared_deviation = 3; */ public Builder clearSumOfSquaredDeviation() { sumOfSquaredDeviation_ = 0D; onChanged(); return this; } private nl.topicus.jdbc.shaded.com.google.api.Distribution.Range range_ = null; private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3< nl.topicus.jdbc.shaded.com.google.api.Distribution.Range, nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.Builder, nl.topicus.jdbc.shaded.com.google.api.Distribution.RangeOrBuilder> rangeBuilder_; /** *
     * If specified, contains the range of the population values. The field
     * must not be present if the `count` is zero.
     * 
* * .google.api.Distribution.Range range = 4; */ public boolean hasRange() { return rangeBuilder_ != null || range_ != null; } /** *
     * If specified, contains the range of the population values. The field
     * must not be present if the `count` is zero.
     * 
* * .google.api.Distribution.Range range = 4; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.Range getRange() { if (rangeBuilder_ == null) { return range_ == null ? nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.getDefaultInstance() : range_; } else { return rangeBuilder_.getMessage(); } } /** *
     * If specified, contains the range of the population values. The field
     * must not be present if the `count` is zero.
     * 
* * .google.api.Distribution.Range range = 4; */ public Builder setRange(nl.topicus.jdbc.shaded.com.google.api.Distribution.Range value) { if (rangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } range_ = value; onChanged(); } else { rangeBuilder_.setMessage(value); } return this; } /** *
     * If specified, contains the range of the population values. The field
     * must not be present if the `count` is zero.
     * 
* * .google.api.Distribution.Range range = 4; */ public Builder setRange( nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.Builder builderForValue) { if (rangeBuilder_ == null) { range_ = builderForValue.build(); onChanged(); } else { rangeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * If specified, contains the range of the population values. The field
     * must not be present if the `count` is zero.
     * 
* * .google.api.Distribution.Range range = 4; */ public Builder mergeRange(nl.topicus.jdbc.shaded.com.google.api.Distribution.Range value) { if (rangeBuilder_ == null) { if (range_ != null) { range_ = nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.newBuilder(range_).mergeFrom(value).buildPartial(); } else { range_ = value; } onChanged(); } else { rangeBuilder_.mergeFrom(value); } return this; } /** *
     * If specified, contains the range of the population values. The field
     * must not be present if the `count` is zero.
     * 
* * .google.api.Distribution.Range range = 4; */ public Builder clearRange() { if (rangeBuilder_ == null) { range_ = null; onChanged(); } else { range_ = null; rangeBuilder_ = null; } return this; } /** *
     * If specified, contains the range of the population values. The field
     * must not be present if the `count` is zero.
     * 
* * .google.api.Distribution.Range range = 4; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.Builder getRangeBuilder() { onChanged(); return getRangeFieldBuilder().getBuilder(); } /** *
     * If specified, contains the range of the population values. The field
     * must not be present if the `count` is zero.
     * 
* * .google.api.Distribution.Range range = 4; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.RangeOrBuilder getRangeOrBuilder() { if (rangeBuilder_ != null) { return rangeBuilder_.getMessageOrBuilder(); } else { return range_ == null ? nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.getDefaultInstance() : range_; } } /** *
     * If specified, contains the range of the population values. The field
     * must not be present if the `count` is zero.
     * 
* * .google.api.Distribution.Range range = 4; */ private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3< nl.topicus.jdbc.shaded.com.google.api.Distribution.Range, nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.Builder, nl.topicus.jdbc.shaded.com.google.api.Distribution.RangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { rangeBuilder_ = new nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3< nl.topicus.jdbc.shaded.com.google.api.Distribution.Range, nl.topicus.jdbc.shaded.com.google.api.Distribution.Range.Builder, nl.topicus.jdbc.shaded.com.google.api.Distribution.RangeOrBuilder>( getRange(), getParentForChildren(), isClean()); range_ = null; } return rangeBuilder_; } private nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions bucketOptions_ = null; private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3< nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Builder, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptionsOrBuilder> bucketOptionsBuilder_; /** *
     * Defines the histogram bucket boundaries.
     * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; */ public boolean hasBucketOptions() { return bucketOptionsBuilder_ != null || bucketOptions_ != null; } /** *
     * Defines the histogram bucket boundaries.
     * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions getBucketOptions() { if (bucketOptionsBuilder_ == null) { return bucketOptions_ == null ? nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.getDefaultInstance() : bucketOptions_; } else { return bucketOptionsBuilder_.getMessage(); } } /** *
     * Defines the histogram bucket boundaries.
     * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; */ public Builder setBucketOptions(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions value) { if (bucketOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } bucketOptions_ = value; onChanged(); } else { bucketOptionsBuilder_.setMessage(value); } return this; } /** *
     * Defines the histogram bucket boundaries.
     * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; */ public Builder setBucketOptions( nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Builder builderForValue) { if (bucketOptionsBuilder_ == null) { bucketOptions_ = builderForValue.build(); onChanged(); } else { bucketOptionsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Defines the histogram bucket boundaries.
     * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; */ public Builder mergeBucketOptions(nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions value) { if (bucketOptionsBuilder_ == null) { if (bucketOptions_ != null) { bucketOptions_ = nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.newBuilder(bucketOptions_).mergeFrom(value).buildPartial(); } else { bucketOptions_ = value; } onChanged(); } else { bucketOptionsBuilder_.mergeFrom(value); } return this; } /** *
     * Defines the histogram bucket boundaries.
     * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; */ public Builder clearBucketOptions() { if (bucketOptionsBuilder_ == null) { bucketOptions_ = null; onChanged(); } else { bucketOptions_ = null; bucketOptionsBuilder_ = null; } return this; } /** *
     * Defines the histogram bucket boundaries.
     * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Builder getBucketOptionsBuilder() { onChanged(); return getBucketOptionsFieldBuilder().getBuilder(); } /** *
     * Defines the histogram bucket boundaries.
     * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; */ public nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuilder() { if (bucketOptionsBuilder_ != null) { return bucketOptionsBuilder_.getMessageOrBuilder(); } else { return bucketOptions_ == null ? nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.getDefaultInstance() : bucketOptions_; } } /** *
     * Defines the histogram bucket boundaries.
     * 
* * .google.api.Distribution.BucketOptions bucket_options = 6; */ private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3< nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Builder, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptionsOrBuilder> getBucketOptionsFieldBuilder() { if (bucketOptionsBuilder_ == null) { bucketOptionsBuilder_ = new nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3< nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptions.Builder, nl.topicus.jdbc.shaded.com.google.api.Distribution.BucketOptionsOrBuilder>( getBucketOptions(), getParentForChildren(), isClean()); bucketOptions_ = null; } return bucketOptionsBuilder_; } private java.util.List bucketCounts_ = java.util.Collections.emptyList(); private void ensureBucketCountsIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { bucketCounts_ = new java.util.ArrayList(bucketCounts_); bitField0_ |= 0x00000020; } } /** *
     * If `bucket_options` is given, then the sum of the values in `bucket_counts`
     * must equal the value in `count`.  If `bucket_options` is not given, no
     * `bucket_counts` fields may be given.
     * Bucket counts are given in order under the numbering scheme described
     * above (the underflow bucket has number 0; the finite buckets, if any,
     * have numbers 1 through N-2; the overflow bucket has number N-1).
     * The size of `bucket_counts` must be no greater than N as defined in
     * `bucket_options`.
     * Any suffix of trailing zero bucket_count fields may be omitted.
     * 
* * repeated int64 bucket_counts = 7; */ public java.util.List getBucketCountsList() { return java.util.Collections.unmodifiableList(bucketCounts_); } /** *
     * If `bucket_options` is given, then the sum of the values in `bucket_counts`
     * must equal the value in `count`.  If `bucket_options` is not given, no
     * `bucket_counts` fields may be given.
     * Bucket counts are given in order under the numbering scheme described
     * above (the underflow bucket has number 0; the finite buckets, if any,
     * have numbers 1 through N-2; the overflow bucket has number N-1).
     * The size of `bucket_counts` must be no greater than N as defined in
     * `bucket_options`.
     * Any suffix of trailing zero bucket_count fields may be omitted.
     * 
* * repeated int64 bucket_counts = 7; */ public int getBucketCountsCount() { return bucketCounts_.size(); } /** *
     * If `bucket_options` is given, then the sum of the values in `bucket_counts`
     * must equal the value in `count`.  If `bucket_options` is not given, no
     * `bucket_counts` fields may be given.
     * Bucket counts are given in order under the numbering scheme described
     * above (the underflow bucket has number 0; the finite buckets, if any,
     * have numbers 1 through N-2; the overflow bucket has number N-1).
     * The size of `bucket_counts` must be no greater than N as defined in
     * `bucket_options`.
     * Any suffix of trailing zero bucket_count fields may be omitted.
     * 
* * repeated int64 bucket_counts = 7; */ public long getBucketCounts(int index) { return bucketCounts_.get(index); } /** *
     * If `bucket_options` is given, then the sum of the values in `bucket_counts`
     * must equal the value in `count`.  If `bucket_options` is not given, no
     * `bucket_counts` fields may be given.
     * Bucket counts are given in order under the numbering scheme described
     * above (the underflow bucket has number 0; the finite buckets, if any,
     * have numbers 1 through N-2; the overflow bucket has number N-1).
     * The size of `bucket_counts` must be no greater than N as defined in
     * `bucket_options`.
     * Any suffix of trailing zero bucket_count fields may be omitted.
     * 
* * repeated int64 bucket_counts = 7; */ public Builder setBucketCounts( int index, long value) { ensureBucketCountsIsMutable(); bucketCounts_.set(index, value); onChanged(); return this; } /** *
     * If `bucket_options` is given, then the sum of the values in `bucket_counts`
     * must equal the value in `count`.  If `bucket_options` is not given, no
     * `bucket_counts` fields may be given.
     * Bucket counts are given in order under the numbering scheme described
     * above (the underflow bucket has number 0; the finite buckets, if any,
     * have numbers 1 through N-2; the overflow bucket has number N-1).
     * The size of `bucket_counts` must be no greater than N as defined in
     * `bucket_options`.
     * Any suffix of trailing zero bucket_count fields may be omitted.
     * 
* * repeated int64 bucket_counts = 7; */ public Builder addBucketCounts(long value) { ensureBucketCountsIsMutable(); bucketCounts_.add(value); onChanged(); return this; } /** *
     * If `bucket_options` is given, then the sum of the values in `bucket_counts`
     * must equal the value in `count`.  If `bucket_options` is not given, no
     * `bucket_counts` fields may be given.
     * Bucket counts are given in order under the numbering scheme described
     * above (the underflow bucket has number 0; the finite buckets, if any,
     * have numbers 1 through N-2; the overflow bucket has number N-1).
     * The size of `bucket_counts` must be no greater than N as defined in
     * `bucket_options`.
     * Any suffix of trailing zero bucket_count fields may be omitted.
     * 
* * repeated int64 bucket_counts = 7; */ public Builder addAllBucketCounts( java.lang.Iterable values) { ensureBucketCountsIsMutable(); nl.topicus.jdbc.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, bucketCounts_); onChanged(); return this; } /** *
     * If `bucket_options` is given, then the sum of the values in `bucket_counts`
     * must equal the value in `count`.  If `bucket_options` is not given, no
     * `bucket_counts` fields may be given.
     * Bucket counts are given in order under the numbering scheme described
     * above (the underflow bucket has number 0; the finite buckets, if any,
     * have numbers 1 through N-2; the overflow bucket has number N-1).
     * The size of `bucket_counts` must be no greater than N as defined in
     * `bucket_options`.
     * Any suffix of trailing zero bucket_count fields may be omitted.
     * 
* * repeated int64 bucket_counts = 7; */ public Builder clearBucketCounts() { bucketCounts_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } public final Builder setUnknownFields( final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:google.api.Distribution) } // @@protoc_insertion_point(class_scope:google.api.Distribution) private static final nl.topicus.jdbc.shaded.com.google.api.Distribution DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new nl.topicus.jdbc.shaded.com.google.api.Distribution(); } public static nl.topicus.jdbc.shaded.com.google.api.Distribution getDefaultInstance() { return DEFAULT_INSTANCE; } private static final nl.topicus.jdbc.shaded.com.google.protobuf.Parser PARSER = new nl.topicus.jdbc.shaded.com.google.protobuf.AbstractParser() { public Distribution parsePartialFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return new Distribution(input, extensionRegistry); } }; public static nl.topicus.jdbc.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public nl.topicus.jdbc.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public nl.topicus.jdbc.shaded.com.google.api.Distribution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy