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 TypeMethodDescription.p4.v1.Action action = 1;.p4.v1.Action action = 1;intgetWatch()Deprecated.p4.v1.ActionProfileAction.watch is deprecated.com.google.protobuf.ByteStringbytes watch_port = 4;intint32 weight = 2;boolean.p4.v1.Action action = 1;booleanhasWatch()Deprecated.p4.v1.ActionProfileAction.watch is deprecated.booleanbytes watch_port = 4;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
-
hasAction
boolean hasAction().p4.v1.Action action = 1;- Returns:
- Whether the action field is set.
-
getAction
P4RuntimeOuterClass.Action getAction().p4.v1.Action action = 1;- Returns:
- The action.
-
getActionOrBuilder
P4RuntimeOuterClass.ActionOrBuilder getActionOrBuilder().p4.v1.Action action = 1; -
getWeight
int getWeight()int32 weight = 2;- Returns:
- The weight.
-
hasWatch
Deprecated.p4.v1.ActionProfileAction.watch is deprecated. See p4/v1/p4runtime.proto;l=325Using int32 as ports is deprecated, use watch_port instead.
int32 watch = 3 [deprecated = true];- Returns:
- Whether the watch field is set.
-
getWatch
Deprecated.p4.v1.ActionProfileAction.watch is deprecated. See p4/v1/p4runtime.proto;l=325Using 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
P4RuntimeOuterClass.ActionProfileAction.WatchKindCase getWatchKindCase()
-