com.hederahashgraph.api.proto.java.ThrottleBucketOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: throttle_definitions.proto
package com.hederahashgraph.api.proto.java;
public interface ThrottleBucketOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.ThrottleBucket)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* A name for this bucket (primarily for use in logs)
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
**
* A name for this bucket (primarily for use in logs)
*
*
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
**
* The number of milliseconds required for this bucket to drain completely when full. The product
* of this number and the least common multiple of the milliOpsPerSec values in this bucket must
* not exceed 9223372036.
*
*
* uint64 burstPeriodMs = 2;
* @return The burstPeriodMs.
*/
long getBurstPeriodMs();
/**
*
**
* The throttle groups competing for this bucket
*
*
* repeated .proto.ThrottleGroup throttleGroups = 3;
*/
java.util.List
getThrottleGroupsList();
/**
*
**
* The throttle groups competing for this bucket
*
*
* repeated .proto.ThrottleGroup throttleGroups = 3;
*/
com.hederahashgraph.api.proto.java.ThrottleGroup getThrottleGroups(int index);
/**
*
**
* The throttle groups competing for this bucket
*
*
* repeated .proto.ThrottleGroup throttleGroups = 3;
*/
int getThrottleGroupsCount();
/**
*
**
* The throttle groups competing for this bucket
*
*
* repeated .proto.ThrottleGroup throttleGroups = 3;
*/
java.util.List extends com.hederahashgraph.api.proto.java.ThrottleGroupOrBuilder>
getThrottleGroupsOrBuilderList();
/**
*
**
* The throttle groups competing for this bucket
*
*
* repeated .proto.ThrottleGroup throttleGroups = 3;
*/
com.hederahashgraph.api.proto.java.ThrottleGroupOrBuilder getThrottleGroupsOrBuilder(
int index);
}