Package p4.v1

Interface P4RuntimeOuterClass.ActionProfileActionOrBuilder

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

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

    Modifier and Type
    Method
    Description
    .p4.v1.Action action = 1;
    .p4.v1.Action action = 1;
    int
    Deprecated.
    p4.v1.ActionProfileAction.watch is deprecated.
     
    com.google.protobuf.ByteString
    bytes watch_port = 4;
    int
    int32 weight = 2;
    boolean
    .p4.v1.Action action = 1;
    boolean
    Deprecated.
    p4.v1.ActionProfileAction.watch is deprecated.
    boolean
    bytes watch_port = 4;

    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

    • hasAction

      boolean hasAction()
      .p4.v1.Action action = 1;
      Returns:
      Whether the action field is set.
    • getAction

      .p4.v1.Action action = 1;
      Returns:
      The action.
    • getActionOrBuilder

      .p4.v1.Action action = 1;
    • getWeight

      int getWeight()
      int32 weight = 2;
      Returns:
      The weight.
    • hasWatch

      @Deprecated boolean hasWatch()
      Deprecated.
      p4.v1.ActionProfileAction.watch is deprecated. See p4/v1/p4runtime.proto;l=325
       Using int32 as ports is deprecated, use watch_port instead.
       
      int32 watch = 3 [deprecated = true];
      Returns:
      Whether the watch field is set.
    • getWatch

      @Deprecated int getWatch()
      Deprecated.
      p4.v1.ActionProfileAction.watch is deprecated. See p4/v1/p4runtime.proto;l=325
       Using int32 as ports is deprecated, use watch_port instead.
       
      int32 watch = 3 [deprecated = true];
      Returns:
      The watch.
    • hasWatchPort

      boolean hasWatchPort()
      bytes watch_port = 4;
      Returns:
      Whether the watchPort field is set.
    • getWatchPort

      com.google.protobuf.ByteString getWatchPort()
      bytes watch_port = 4;
      Returns:
      The watchPort.
    • getWatchKindCase