Package p4.v1
Interface P4RuntimeOuterClass.PacketOutOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
P4RuntimeOuterClass.PacketOut,P4RuntimeOuterClass.PacketOut.Builder
- Enclosing class:
P4RuntimeOuterClass
public static interface P4RuntimeOuterClass.PacketOutOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetMetadata(int index) This will be based on P4 header annotated as @controller_header("packet_out").intThis will be based on P4 header annotated as @controller_header("packet_out").This will be based on P4 header annotated as @controller_header("packet_out").getMetadataOrBuilder(int index) This will be based on P4 header annotated as @controller_header("packet_out").List<? extends P4RuntimeOuterClass.PacketMetadataOrBuilder> This will be based on P4 header annotated as @controller_header("packet_out").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_out"). 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_out"). 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_out"). 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_out"). 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_out"). At most one P4 header can have this annotation.repeated .p4.v1.PacketMetadata metadata = 2;
-