Package p4.config.v1

Interface P4InfoOuterClass.CounterOrBuilder

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

public static interface P4InfoOuterClass.CounterOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasPreamble

      boolean hasPreamble()
      .p4.config.v1.Preamble preamble = 1;
      Returns:
      Whether the preamble field is set.
    • getPreamble

      .p4.config.v1.Preamble preamble = 1;
      Returns:
      The preamble.
    • getPreambleOrBuilder

      P4InfoOuterClass.PreambleOrBuilder getPreambleOrBuilder()
      .p4.config.v1.Preamble preamble = 1;
    • hasSpec

      boolean hasSpec()
      .p4.config.v1.CounterSpec spec = 2;
      Returns:
      Whether the spec field is set.
    • getSpec

      .p4.config.v1.CounterSpec spec = 2;
      Returns:
      The spec.
    • getSpecOrBuilder

      .p4.config.v1.CounterSpec spec = 2;
    • getSize

      long getSize()
       number of entries in the counter array
       
      int64 size = 3;
      Returns:
      The size.
    • hasIndexTypeName

      boolean hasIndexTypeName()
       unset if index is not user-defined type
       
      .p4.config.v1.P4NamedType index_type_name = 4;
      Returns:
      Whether the indexTypeName field is set.
    • getIndexTypeName

      P4Types.P4NamedType getIndexTypeName()
       unset if index is not user-defined type
       
      .p4.config.v1.P4NamedType index_type_name = 4;
      Returns:
      The indexTypeName.
    • getIndexTypeNameOrBuilder

      P4Types.P4NamedTypeOrBuilder getIndexTypeNameOrBuilder()
       unset if index is not user-defined type
       
      .p4.config.v1.P4NamedType index_type_name = 4;