Package p4.v1

Class P4RuntimeOuterClass.MeterConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<P4RuntimeOuterClass.MeterConfig.Builder>
com.google.protobuf.GeneratedMessage.Builder<P4RuntimeOuterClass.MeterConfig.Builder>
p4.v1.P4RuntimeOuterClass.MeterConfig.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, P4RuntimeOuterClass.MeterConfigOrBuilder
Enclosing class:
P4RuntimeOuterClass.MeterConfig

public static final class P4RuntimeOuterClass.MeterConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<P4RuntimeOuterClass.MeterConfig.Builder> implements P4RuntimeOuterClass.MeterConfigOrBuilder
 Modeled to support both RFC 2698: A Two Rate Three Color Marker (trTCM) and
 RFC 2697: A Single Rate Three Color Marker (srTCM) based on the `type` of the
 corresponding MeterSpec.

 The trTCM meters a packet stream and marks its packets based on two rates,
 Peak Information Rate (PIR) and Committed Information Rate (CIR), and their
 associated burst sizes to be either green, yellow, or red.  A packet is
 marked red if it exceeds the PIR.  Otherwise it is marked either yellow or
 green depending on whether it exceeds or doesn't exceed the CIR. For this
 meter type, `eburst` must be unset.

 The srTCM meters a packet stream and marks its packets based on one rate,
 Committed Information Rate (CIR), and its associated burst size as well as an
 Excess Burst Size (EBS) to be either green, yellow, or red. Roughly, a packet
 is marked green if it doesn't exceed the CIR.  Otherwise it is marked either
 yellow or green depending on whether it exceeds or doesn't exceed the EBS.
 For this meter type, it must be the case that `cir == pir && cburst ==
 pburst`.
 
Protobuf type p4.v1.MeterConfig