Package p4.v1
Interface P4RuntimeOuterClass.PacketInOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
P4RuntimeOuterClass.PacketIn,P4RuntimeOuterClass.PacketIn.Builder
- Enclosing class:
P4RuntimeOuterClass
public static interface P4RuntimeOuterClass.PacketInOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetMetadata(int index) This will be based on P4 header annotated as @controller_header("packet_in").intThis will be based on P4 header annotated as @controller_header("packet_in").This will be based on P4 header annotated as @controller_header("packet_in").getMetadataOrBuilder(int index) This will be based on P4 header annotated as @controller_header("packet_in").List<? extends P4RuntimeOuterClass.PacketMetadataOrBuilder> This will be based on P4 header annotated as @controller_header("packet_in").com.google.protobuf.ByteStringbytes payload = 1;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
-
getPayload
com.google.protobuf.ByteString getPayload()bytes payload = 1;- Returns:
- The payload.
-
getMetadataList
List<P4RuntimeOuterClass.PacketMetadata> getMetadataList()This will be based on P4 header annotated as @controller_header("packet_in"). At most one P4 header can have this annotation.repeated .p4.v1.PacketMetadata metadata = 2; -
getMetadata
This will be based on P4 header annotated as @controller_header("packet_in"). At most one P4 header can have this annotation.repeated .p4.v1.PacketMetadata metadata = 2; -
getMetadataCount
int getMetadataCount()This will be based on P4 header annotated as @controller_header("packet_in"). At most one P4 header can have this annotation.repeated .p4.v1.PacketMetadata metadata = 2; -
getMetadataOrBuilderList
List<? extends P4RuntimeOuterClass.PacketMetadataOrBuilder> getMetadataOrBuilderList()This will be based on P4 header annotated as @controller_header("packet_in"). At most one P4 header can have this annotation.repeated .p4.v1.PacketMetadata metadata = 2; -
getMetadataOrBuilder
This will be based on P4 header annotated as @controller_header("packet_in"). At most one P4 header can have this annotation.repeated .p4.v1.PacketMetadata metadata = 2;
-