Package p4.v1
Interface P4DataOuterClass.P4HeaderOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
P4DataOuterClass.P4Header,P4DataOuterClass.P4Header.Builder
- Enclosing class:
P4DataOuterClass
public static interface P4DataOuterClass.P4HeaderOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetBitstrings(int index) repeated bytes bitstrings = 2;intrepeated bytes bitstrings = 2;List<com.google.protobuf.ByteString> repeated bytes bitstrings = 2;booleanIf the header is invalid (is_valid is "false"), then the bitstrings repeated field must be empty.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
-
getIsValid
boolean getIsValid()If the header is invalid (is_valid is "false"), then the bitstrings repeated field must be empty.
bool is_valid = 1;- Returns:
- The isValid.
-
getBitstringsList
List<com.google.protobuf.ByteString> getBitstringsList()repeated bytes bitstrings = 2;- Returns:
- A list containing the bitstrings.
-
getBitstringsCount
int getBitstringsCount()repeated bytes bitstrings = 2;- Returns:
- The count of bitstrings.
-
getBitstrings
com.google.protobuf.ByteString getBitstrings(int index) repeated bytes bitstrings = 2;- Parameters:
index- The index of the element to return.- Returns:
- The bitstrings at the given index.
-