Package p4.config.v1

Interface P4InfoOuterClass.CounterSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
P4InfoOuterClass.CounterSpec, P4InfoOuterClass.CounterSpec.Builder
Enclosing class:
P4InfoOuterClass

public static interface P4InfoOuterClass.CounterSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    .p4.config.v1.CounterSpec.Unit unit = 1;
    int
    .p4.config.v1.CounterSpec.Unit unit = 1;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getUnitValue

      int getUnitValue()
      .p4.config.v1.CounterSpec.Unit unit = 1;
      Returns:
      The enum numeric value on the wire for unit.
    • getUnit

      .p4.config.v1.CounterSpec.Unit unit = 1;
      Returns:
      The unit.