Package p4.config.v1

Interface P4InfoOuterClass.ActionProfileOrBuilder

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

public static interface P4InfoOuterClass.ActionProfileOrBuilder 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;
    • getTableIdsList

      List<Integer> getTableIdsList()
       the ids of the tables sharing this action profile
       
      repeated uint32 table_ids = 2;
      Returns:
      A list containing the tableIds.
    • getTableIdsCount

      int getTableIdsCount()
       the ids of the tables sharing this action profile
       
      repeated uint32 table_ids = 2;
      Returns:
      The count of tableIds.
    • getTableIds

      int getTableIds(int index)
       the ids of the tables sharing this action profile
       
      repeated uint32 table_ids = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The tableIds at the given index.
    • getWithSelector

      boolean getWithSelector()
       true iff the action profile used dynamic selection
       
      bool with_selector = 3;
      Returns:
      The withSelector.
    • getSize

      long getSize()
       max number of member entries across all groups if the action profile does
       not have a selector. Otherwise, semantics as specified by
       `selector_size_semantics` below.
       
      int64 size = 4;
      Returns:
      The size.
    • getMaxGroupSize

      int getMaxGroupSize()
       0 if the action profile does not have a selector. Otherwise, semantics as
       specified by `selector_size_semantics` below.
       
      int32 max_group_size = 5;
      Returns:
      The maxGroupSize.
    • hasSumOfWeights

      boolean hasSumOfWeights()
       group size is the sum of the group's weights.
       Added in v1.4.0.
       
      .p4.config.v1.ActionProfile.SumOfWeights sum_of_weights = 6;
      Returns:
      Whether the sumOfWeights field is set.
    • getSumOfWeights

       group size is the sum of the group's weights.
       Added in v1.4.0.
       
      .p4.config.v1.ActionProfile.SumOfWeights sum_of_weights = 6;
      Returns:
      The sumOfWeights.
    • getSumOfWeightsOrBuilder

       group size is the sum of the group's weights.
       Added in v1.4.0.
       
      .p4.config.v1.ActionProfile.SumOfWeights sum_of_weights = 6;
    • hasSumOfMembers

      boolean hasSumOfMembers()
       group size is the sum of the group's members.
       Added in v1.4.0.
       
      .p4.config.v1.ActionProfile.SumOfMembers sum_of_members = 7;
      Returns:
      Whether the sumOfMembers field is set.
    • getSumOfMembers

       group size is the sum of the group's members.
       Added in v1.4.0.
       
      .p4.config.v1.ActionProfile.SumOfMembers sum_of_members = 7;
      Returns:
      The sumOfMembers.
    • getSumOfMembersOrBuilder

       group size is the sum of the group's members.
       Added in v1.4.0.
       
      .p4.config.v1.ActionProfile.SumOfMembers sum_of_members = 7;
    • getWeightsDisallowed

      boolean getWeightsDisallowed()
       Dictates whether the controller can specify weights for groups programmed
       in this ActionProfile. If `weights_disallowed` is true, then all weights
       must be absent. Unset (false) in action profiles without selectors.
       Added in v1.5.0.
       
      bool weights_disallowed = 8;
      Returns:
      The weightsDisallowed.
    • getSelectorSizeSemanticsCase