com.hedera.hashgraph.sdk.proto.ThrottleBucketOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: throttle_definitions.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface ThrottleBucketOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.ThrottleBucket)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
**
* 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.hedera.hashgraph.sdk.proto.ThrottleGroup getThrottleGroups(int index);
/**
*
**
* The throttle groups competing for this bucket
*
*
* repeated .proto.ThrottleGroup throttleGroups = 3;
*/
int getThrottleGroupsCount();
}