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 Summary
Modifier and TypeMethodDescriptiongetExact().p4.v1.FieldMatch.Exact exact = 2;.p4.v1.FieldMatch.Exact exact = 2;intuint32 field_id = 1;getLpm().p4.v1.FieldMatch.LPM lpm = 4;.p4.v1.FieldMatch.LPM lpm = 4;.p4.v1.FieldMatch.Optional optional = 7;.p4.v1.FieldMatch.Optional optional = 7;com.google.protobuf.AnygetOther()Architecture-specific match value; it corresponds to the other_match_type in the P4Info MatchField message.com.google.protobuf.AnyOrBuilderArchitecture-specific match value; it corresponds to the other_match_type in the P4Info MatchField message.getRange().p4.v1.FieldMatch.Range range = 6;.p4.v1.FieldMatch.Range range = 6;.p4.v1.FieldMatch.Ternary ternary = 3;.p4.v1.FieldMatch.Ternary ternary = 3;booleanhasExact().p4.v1.FieldMatch.Exact exact = 2;booleanhasLpm().p4.v1.FieldMatch.LPM lpm = 4;boolean.p4.v1.FieldMatch.Optional optional = 7;booleanhasOther()Architecture-specific match value; it corresponds to the other_match_type in the P4Info MatchField message.booleanhasRange().p4.v1.FieldMatch.Range range = 6;boolean.p4.v1.FieldMatch.Ternary ternary = 3;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
P4RuntimeOuterClass.FieldMatch.Exact getExact().p4.v1.FieldMatch.Exact exact = 2;- Returns:
- The exact.
-
getExactOrBuilder
P4RuntimeOuterClass.FieldMatch.ExactOrBuilder getExactOrBuilder().p4.v1.FieldMatch.Exact exact = 2; -
hasTernary
boolean hasTernary().p4.v1.FieldMatch.Ternary ternary = 3;- Returns:
- Whether the ternary field is set.
-
getTernary
P4RuntimeOuterClass.FieldMatch.Ternary getTernary().p4.v1.FieldMatch.Ternary ternary = 3;- Returns:
- The ternary.
-
getTernaryOrBuilder
P4RuntimeOuterClass.FieldMatch.TernaryOrBuilder getTernaryOrBuilder().p4.v1.FieldMatch.Ternary ternary = 3; -
hasLpm
boolean hasLpm().p4.v1.FieldMatch.LPM lpm = 4;- Returns:
- Whether the lpm field is set.
-
getLpm
P4RuntimeOuterClass.FieldMatch.LPM getLpm().p4.v1.FieldMatch.LPM lpm = 4;- Returns:
- The lpm.
-
getLpmOrBuilder
P4RuntimeOuterClass.FieldMatch.LPMOrBuilder getLpmOrBuilder().p4.v1.FieldMatch.LPM lpm = 4; -
hasRange
boolean hasRange().p4.v1.FieldMatch.Range range = 6;- Returns:
- Whether the range field is set.
-
getRange
P4RuntimeOuterClass.FieldMatch.Range getRange().p4.v1.FieldMatch.Range range = 6;- Returns:
- The range.
-
getRangeOrBuilder
P4RuntimeOuterClass.FieldMatch.RangeOrBuilder getRangeOrBuilder().p4.v1.FieldMatch.Range range = 6; -
hasOptional
boolean hasOptional().p4.v1.FieldMatch.Optional optional = 7;- Returns:
- Whether the optional field is set.
-
getOptional
P4RuntimeOuterClass.FieldMatch.Optional getOptional().p4.v1.FieldMatch.Optional optional = 7;- Returns:
- The optional.
-
getOptionalOrBuilder
P4RuntimeOuterClass.FieldMatch.OptionalOrBuilder 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
P4RuntimeOuterClass.FieldMatch.FieldMatchTypeCase getFieldMatchTypeCase()
-