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

tech.ydb.proto.rate_limiter.HierarchicalDrrSettings Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: protos/ydb_rate_limiter.proto

package tech.ydb.proto.rate_limiter;

/**
 * 
 * Settings for hierarchical deficit round robin (HDRR) algorithm.
 * 
* * Protobuf type {@code Ydb.RateLimiter.HierarchicalDrrSettings} */ public final class HierarchicalDrrSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.RateLimiter.HierarchicalDrrSettings) HierarchicalDrrSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use HierarchicalDrrSettings.newBuilder() to construct. private HierarchicalDrrSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HierarchicalDrrSettings() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HierarchicalDrrSettings(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.rate_limiter.RateLimiterProtos.internal_static_Ydb_RateLimiter_HierarchicalDrrSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.rate_limiter.RateLimiterProtos.internal_static_Ydb_RateLimiter_HierarchicalDrrSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.rate_limiter.HierarchicalDrrSettings.class, tech.ydb.proto.rate_limiter.HierarchicalDrrSettings.Builder.class); } public static final int MAX_UNITS_PER_SECOND_FIELD_NUMBER = 1; private double maxUnitsPerSecond_ = 0D; /** *
   * Resource consumption speed limit.
   * Value is required for root resource.
   * 0 is equivalent to not set.
   * Must be nonnegative.
   * 
* * double max_units_per_second = 1; * @return The maxUnitsPerSecond. */ @java.lang.Override public double getMaxUnitsPerSecond() { return maxUnitsPerSecond_; } public static final int MAX_BURST_SIZE_COEFFICIENT_FIELD_NUMBER = 2; private double maxBurstSizeCoefficient_ = 0D; /** *
   * Maximum burst size of resource consumption across the whole cluster
   * divided by max_units_per_second.
   * Default value is 1.
   * This means that maximum burst size might be equal to max_units_per_second.
   * 0 is equivalent to not set.
   * Must be nonnegative.
   * 
* * double max_burst_size_coefficient = 2; * @return The maxBurstSizeCoefficient. */ @java.lang.Override public double getMaxBurstSizeCoefficient() { return maxBurstSizeCoefficient_; } public static final int PREFETCH_COEFFICIENT_FIELD_NUMBER = 3; private double prefetchCoefficient_ = 0D; /** *
   * Prefetch in local bucket up to prefetch_coefficient*max_units_per_second units (full size).
   * Default value is inherited from parent or 0.2 for root.
   * Disables prefetching if any negative value is set
   * (It is useful to avoid bursts in case of large number of local buckets).
   * 
* * double prefetch_coefficient = 3; * @return The prefetchCoefficient. */ @java.lang.Override public double getPrefetchCoefficient() { return prefetchCoefficient_; } public static final int PREFETCH_WATERMARK_FIELD_NUMBER = 4; private double prefetchWatermark_ = 0D; /** *
   * Prefetching starts if there is less than prefetch_watermark fraction of full local bucket left.
   * Default value is inherited from parent or 0.75 for root.
   * Must be nonnegative and less than or equal to 1.
   * 
* * double prefetch_watermark = 4; * @return The prefetchWatermark. */ @java.lang.Override public double getPrefetchWatermark() { return prefetchWatermark_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(maxUnitsPerSecond_) != 0) { output.writeDouble(1, maxUnitsPerSecond_); } if (java.lang.Double.doubleToRawLongBits(maxBurstSizeCoefficient_) != 0) { output.writeDouble(2, maxBurstSizeCoefficient_); } if (java.lang.Double.doubleToRawLongBits(prefetchCoefficient_) != 0) { output.writeDouble(3, prefetchCoefficient_); } if (java.lang.Double.doubleToRawLongBits(prefetchWatermark_) != 0) { output.writeDouble(4, prefetchWatermark_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (java.lang.Double.doubleToRawLongBits(maxUnitsPerSecond_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(1, maxUnitsPerSecond_); } if (java.lang.Double.doubleToRawLongBits(maxBurstSizeCoefficient_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, maxBurstSizeCoefficient_); } if (java.lang.Double.doubleToRawLongBits(prefetchCoefficient_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, prefetchCoefficient_); } if (java.lang.Double.doubleToRawLongBits(prefetchWatermark_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, prefetchWatermark_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tech.ydb.proto.rate_limiter.HierarchicalDrrSettings)) { return super.equals(obj); } tech.ydb.proto.rate_limiter.HierarchicalDrrSettings other = (tech.ydb.proto.rate_limiter.HierarchicalDrrSettings) obj; if (java.lang.Double.doubleToLongBits(getMaxUnitsPerSecond()) != java.lang.Double.doubleToLongBits( other.getMaxUnitsPerSecond())) return false; if (java.lang.Double.doubleToLongBits(getMaxBurstSizeCoefficient()) != java.lang.Double.doubleToLongBits( other.getMaxBurstSizeCoefficient())) return false; if (java.lang.Double.doubleToLongBits(getPrefetchCoefficient()) != java.lang.Double.doubleToLongBits( other.getPrefetchCoefficient())) return false; if (java.lang.Double.doubleToLongBits(getPrefetchWatermark()) != java.lang.Double.doubleToLongBits( other.getPrefetchWatermark())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_UNITS_PER_SECOND_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMaxUnitsPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_COEFFICIENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMaxBurstSizeCoefficient())); hash = (37 * hash) + PREFETCH_COEFFICIENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getPrefetchCoefficient())); hash = (37 * hash) + PREFETCH_WATERMARK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getPrefetchWatermark())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.rate_limiter.HierarchicalDrrSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.rate_limiter.HierarchicalDrrSettings parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.rate_limiter.HierarchicalDrrSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.rate_limiter.HierarchicalDrrSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.rate_limiter.HierarchicalDrrSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.rate_limiter.HierarchicalDrrSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.rate_limiter.HierarchicalDrrSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.rate_limiter.HierarchicalDrrSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static tech.ydb.proto.rate_limiter.HierarchicalDrrSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.rate_limiter.HierarchicalDrrSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static tech.ydb.proto.rate_limiter.HierarchicalDrrSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.rate_limiter.HierarchicalDrrSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(tech.ydb.proto.rate_limiter.HierarchicalDrrSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Settings for hierarchical deficit round robin (HDRR) algorithm.
   * 
* * Protobuf type {@code Ydb.RateLimiter.HierarchicalDrrSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.RateLimiter.HierarchicalDrrSettings) tech.ydb.proto.rate_limiter.HierarchicalDrrSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.rate_limiter.RateLimiterProtos.internal_static_Ydb_RateLimiter_HierarchicalDrrSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.rate_limiter.RateLimiterProtos.internal_static_Ydb_RateLimiter_HierarchicalDrrSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.rate_limiter.HierarchicalDrrSettings.class, tech.ydb.proto.rate_limiter.HierarchicalDrrSettings.Builder.class); } // Construct using tech.ydb.proto.rate_limiter.HierarchicalDrrSettings.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; maxUnitsPerSecond_ = 0D; maxBurstSizeCoefficient_ = 0D; prefetchCoefficient_ = 0D; prefetchWatermark_ = 0D; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.rate_limiter.RateLimiterProtos.internal_static_Ydb_RateLimiter_HierarchicalDrrSettings_descriptor; } @java.lang.Override public tech.ydb.proto.rate_limiter.HierarchicalDrrSettings getDefaultInstanceForType() { return tech.ydb.proto.rate_limiter.HierarchicalDrrSettings.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.rate_limiter.HierarchicalDrrSettings build() { tech.ydb.proto.rate_limiter.HierarchicalDrrSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.rate_limiter.HierarchicalDrrSettings buildPartial() { tech.ydb.proto.rate_limiter.HierarchicalDrrSettings result = new tech.ydb.proto.rate_limiter.HierarchicalDrrSettings(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.rate_limiter.HierarchicalDrrSettings result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.maxUnitsPerSecond_ = maxUnitsPerSecond_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.maxBurstSizeCoefficient_ = maxBurstSizeCoefficient_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.prefetchCoefficient_ = prefetchCoefficient_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.prefetchWatermark_ = prefetchWatermark_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tech.ydb.proto.rate_limiter.HierarchicalDrrSettings) { return mergeFrom((tech.ydb.proto.rate_limiter.HierarchicalDrrSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.rate_limiter.HierarchicalDrrSettings other) { if (other == tech.ydb.proto.rate_limiter.HierarchicalDrrSettings.getDefaultInstance()) return this; if (other.getMaxUnitsPerSecond() != 0D) { setMaxUnitsPerSecond(other.getMaxUnitsPerSecond()); } if (other.getMaxBurstSizeCoefficient() != 0D) { setMaxBurstSizeCoefficient(other.getMaxBurstSizeCoefficient()); } if (other.getPrefetchCoefficient() != 0D) { setPrefetchCoefficient(other.getPrefetchCoefficient()); } if (other.getPrefetchWatermark() != 0D) { setPrefetchWatermark(other.getPrefetchWatermark()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 9: { maxUnitsPerSecond_ = input.readDouble(); bitField0_ |= 0x00000001; break; } // case 9 case 17: { maxBurstSizeCoefficient_ = input.readDouble(); bitField0_ |= 0x00000002; break; } // case 17 case 25: { prefetchCoefficient_ = input.readDouble(); bitField0_ |= 0x00000004; break; } // case 25 case 33: { prefetchWatermark_ = input.readDouble(); bitField0_ |= 0x00000008; break; } // case 33 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private double maxUnitsPerSecond_ ; /** *
     * Resource consumption speed limit.
     * Value is required for root resource.
     * 0 is equivalent to not set.
     * Must be nonnegative.
     * 
* * double max_units_per_second = 1; * @return The maxUnitsPerSecond. */ @java.lang.Override public double getMaxUnitsPerSecond() { return maxUnitsPerSecond_; } /** *
     * Resource consumption speed limit.
     * Value is required for root resource.
     * 0 is equivalent to not set.
     * Must be nonnegative.
     * 
* * double max_units_per_second = 1; * @param value The maxUnitsPerSecond to set. * @return This builder for chaining. */ public Builder setMaxUnitsPerSecond(double value) { maxUnitsPerSecond_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Resource consumption speed limit.
     * Value is required for root resource.
     * 0 is equivalent to not set.
     * Must be nonnegative.
     * 
* * double max_units_per_second = 1; * @return This builder for chaining. */ public Builder clearMaxUnitsPerSecond() { bitField0_ = (bitField0_ & ~0x00000001); maxUnitsPerSecond_ = 0D; onChanged(); return this; } private double maxBurstSizeCoefficient_ ; /** *
     * Maximum burst size of resource consumption across the whole cluster
     * divided by max_units_per_second.
     * Default value is 1.
     * This means that maximum burst size might be equal to max_units_per_second.
     * 0 is equivalent to not set.
     * Must be nonnegative.
     * 
* * double max_burst_size_coefficient = 2; * @return The maxBurstSizeCoefficient. */ @java.lang.Override public double getMaxBurstSizeCoefficient() { return maxBurstSizeCoefficient_; } /** *
     * Maximum burst size of resource consumption across the whole cluster
     * divided by max_units_per_second.
     * Default value is 1.
     * This means that maximum burst size might be equal to max_units_per_second.
     * 0 is equivalent to not set.
     * Must be nonnegative.
     * 
* * double max_burst_size_coefficient = 2; * @param value The maxBurstSizeCoefficient to set. * @return This builder for chaining. */ public Builder setMaxBurstSizeCoefficient(double value) { maxBurstSizeCoefficient_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Maximum burst size of resource consumption across the whole cluster
     * divided by max_units_per_second.
     * Default value is 1.
     * This means that maximum burst size might be equal to max_units_per_second.
     * 0 is equivalent to not set.
     * Must be nonnegative.
     * 
* * double max_burst_size_coefficient = 2; * @return This builder for chaining. */ public Builder clearMaxBurstSizeCoefficient() { bitField0_ = (bitField0_ & ~0x00000002); maxBurstSizeCoefficient_ = 0D; onChanged(); return this; } private double prefetchCoefficient_ ; /** *
     * Prefetch in local bucket up to prefetch_coefficient*max_units_per_second units (full size).
     * Default value is inherited from parent or 0.2 for root.
     * Disables prefetching if any negative value is set
     * (It is useful to avoid bursts in case of large number of local buckets).
     * 
* * double prefetch_coefficient = 3; * @return The prefetchCoefficient. */ @java.lang.Override public double getPrefetchCoefficient() { return prefetchCoefficient_; } /** *
     * Prefetch in local bucket up to prefetch_coefficient*max_units_per_second units (full size).
     * Default value is inherited from parent or 0.2 for root.
     * Disables prefetching if any negative value is set
     * (It is useful to avoid bursts in case of large number of local buckets).
     * 
* * double prefetch_coefficient = 3; * @param value The prefetchCoefficient to set. * @return This builder for chaining. */ public Builder setPrefetchCoefficient(double value) { prefetchCoefficient_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Prefetch in local bucket up to prefetch_coefficient*max_units_per_second units (full size).
     * Default value is inherited from parent or 0.2 for root.
     * Disables prefetching if any negative value is set
     * (It is useful to avoid bursts in case of large number of local buckets).
     * 
* * double prefetch_coefficient = 3; * @return This builder for chaining. */ public Builder clearPrefetchCoefficient() { bitField0_ = (bitField0_ & ~0x00000004); prefetchCoefficient_ = 0D; onChanged(); return this; } private double prefetchWatermark_ ; /** *
     * Prefetching starts if there is less than prefetch_watermark fraction of full local bucket left.
     * Default value is inherited from parent or 0.75 for root.
     * Must be nonnegative and less than or equal to 1.
     * 
* * double prefetch_watermark = 4; * @return The prefetchWatermark. */ @java.lang.Override public double getPrefetchWatermark() { return prefetchWatermark_; } /** *
     * Prefetching starts if there is less than prefetch_watermark fraction of full local bucket left.
     * Default value is inherited from parent or 0.75 for root.
     * Must be nonnegative and less than or equal to 1.
     * 
* * double prefetch_watermark = 4; * @param value The prefetchWatermark to set. * @return This builder for chaining. */ public Builder setPrefetchWatermark(double value) { prefetchWatermark_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Prefetching starts if there is less than prefetch_watermark fraction of full local bucket left.
     * Default value is inherited from parent or 0.75 for root.
     * Must be nonnegative and less than or equal to 1.
     * 
* * double prefetch_watermark = 4; * @return This builder for chaining. */ public Builder clearPrefetchWatermark() { bitField0_ = (bitField0_ & ~0x00000008); prefetchWatermark_ = 0D; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Ydb.RateLimiter.HierarchicalDrrSettings) } // @@protoc_insertion_point(class_scope:Ydb.RateLimiter.HierarchicalDrrSettings) private static final tech.ydb.proto.rate_limiter.HierarchicalDrrSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.rate_limiter.HierarchicalDrrSettings(); } public static tech.ydb.proto.rate_limiter.HierarchicalDrrSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HierarchicalDrrSettings parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public tech.ydb.proto.rate_limiter.HierarchicalDrrSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy