Package p4.v1

Interface P4RuntimeOuterClass.FieldMatchOrBuilder

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

public static interface P4RuntimeOuterClass.FieldMatchOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getFieldId

      int getFieldId()
      uint32 field_id = 1;
      Returns:
      The fieldId.
    • hasExact

      boolean hasExact()
      .p4.v1.FieldMatch.Exact exact = 2;
      Returns:
      Whether the exact field is set.
    • getExact

      .p4.v1.FieldMatch.Exact exact = 2;
      Returns:
      The exact.
    • getExactOrBuilder

      .p4.v1.FieldMatch.Exact exact = 2;
    • hasTernary

      boolean hasTernary()
      .p4.v1.FieldMatch.Ternary ternary = 3;
      Returns:
      Whether the ternary field is set.
    • getTernary

      .p4.v1.FieldMatch.Ternary ternary = 3;
      Returns:
      The ternary.
    • getTernaryOrBuilder

      .p4.v1.FieldMatch.Ternary ternary = 3;
    • hasLpm

      boolean hasLpm()
      .p4.v1.FieldMatch.LPM lpm = 4;
      Returns:
      Whether the lpm field is set.
    • getLpm

      .p4.v1.FieldMatch.LPM lpm = 4;
      Returns:
      The lpm.
    • getLpmOrBuilder

      .p4.v1.FieldMatch.LPM lpm = 4;
    • hasRange

      boolean hasRange()
      .p4.v1.FieldMatch.Range range = 6;
      Returns:
      Whether the range field is set.
    • getRange

      .p4.v1.FieldMatch.Range range = 6;
      Returns:
      The range.
    • getRangeOrBuilder

      .p4.v1.FieldMatch.Range range = 6;
    • hasOptional

      boolean hasOptional()
      .p4.v1.FieldMatch.Optional optional = 7;
      Returns:
      Whether the optional field is set.
    • getOptional

      .p4.v1.FieldMatch.Optional optional = 7;
      Returns:
      The optional.
    • getOptionalOrBuilder

      .p4.v1.FieldMatch.Optional optional = 7;
    • hasOther

      boolean hasOther()
       Architecture-specific match value; it corresponds to the other_match_type
       in the P4Info MatchField message.
       
      .google.protobuf.Any other = 100;
      Returns:
      Whether the other field is set.
    • getOther

      com.google.protobuf.Any getOther()
       Architecture-specific match value; it corresponds to the other_match_type
       in the P4Info MatchField message.
       
      .google.protobuf.Any other = 100;
      Returns:
      The other.
    • getOtherOrBuilder

      com.google.protobuf.AnyOrBuilder getOtherOrBuilder()
       Architecture-specific match value; it corresponds to the other_match_type
       in the P4Info MatchField message.
       
      .google.protobuf.Any other = 100;
    • getFieldMatchTypeCase