Package p4.v1

Interface P4RuntimeOuterClass.ActionProfileGroup.MemberOrBuilder

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

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

    Modifier and Type
    Method
    Description
    int
    uint32 member_id = 1;
    int
    Deprecated.
    p4.v1.ActionProfileGroup.Member.watch is deprecated.
     
    com.google.protobuf.ByteString
    bytes watch_port = 4;
    int
    int32 weight = 2;
    boolean
    Deprecated.
    p4.v1.ActionProfileGroup.Member.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

    • getMemberId

      int getMemberId()
      uint32 member_id = 1;
      Returns:
      The memberId.
    • getWeight

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

      @Deprecated boolean hasWatch()
      Deprecated.
      p4.v1.ActionProfileGroup.Member.watch is deprecated. See p4/v1/p4runtime.proto;l=346
       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.ActionProfileGroup.Member.watch is deprecated. See p4/v1/p4runtime.proto;l=346
       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