Package p4.v1
Interface P4RuntimeOuterClass.UpdateOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
P4RuntimeOuterClass.Update,P4RuntimeOuterClass.Update.Builder
- Enclosing class:
P4RuntimeOuterClass
public static interface P4RuntimeOuterClass.UpdateOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.p4.v1.Entity entity = 2;.p4.v1.Entity entity = 2;getType().p4.v1.Update.Type type = 1;int.p4.v1.Update.Type type = 1;boolean.p4.v1.Entity entity = 2;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
-
getTypeValue
int getTypeValue().p4.v1.Update.Type type = 1;- Returns:
- The enum numeric value on the wire for type.
-
getType
P4RuntimeOuterClass.Update.Type getType().p4.v1.Update.Type type = 1;- Returns:
- The type.
-
hasEntity
boolean hasEntity().p4.v1.Entity entity = 2;- Returns:
- Whether the entity field is set.
-
getEntity
P4RuntimeOuterClass.Entity getEntity().p4.v1.Entity entity = 2;- Returns:
- The entity.
-
getEntityOrBuilder
P4RuntimeOuterClass.EntityOrBuilder getEntityOrBuilder().p4.v1.Entity entity = 2;
-