Package p4.v1

Interface P4RuntimeOuterClass.PacketMetadataOrBuilder

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

public static interface P4RuntimeOuterClass.PacketMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    This refers to Metadata.id coming from P4Info ControllerPacketMetadata.
    com.google.protobuf.ByteString
    bytes value = 2;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getMetadataId

      int getMetadataId()
       This refers to Metadata.id coming from P4Info ControllerPacketMetadata.
       
      uint32 metadata_id = 1;
      Returns:
      The metadataId.
    • getValue

      com.google.protobuf.ByteString getValue()
      bytes value = 2;
      Returns:
      The value.