Package p4.config.v1
Class P4InfoOuterClass.TableActionCall.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<P4InfoOuterClass.TableActionCall.Builder>
com.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.TableActionCall.Builder>
p4.config.v1.P4InfoOuterClass.TableActionCall.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,P4InfoOuterClass.TableActionCallOrBuilder
- Enclosing class:
P4InfoOuterClass.TableActionCall
public static final class P4InfoOuterClass.TableActionCall.Builder
extends com.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.TableActionCall.Builder>
implements P4InfoOuterClass.TableActionCallOrBuilder
A TableActionCall references a particular action id and executes the action with the supplied list of arguments. Arguments are matched to the id of the respective action parameter. TableActionCalls may be used as the default action call of a table implementation. Added in 1.4.0.Protobuf type
p4.config.v1.TableActionCall-
Method Summary
Modifier and TypeMethodDescriptionaddAllArguments(Iterable<? extends P4InfoOuterClass.TableActionCall.Argument> values) repeated .p4.config.v1.TableActionCall.Argument arguments = 4;addArguments(int index, P4InfoOuterClass.TableActionCall.Argument value) repeated .p4.config.v1.TableActionCall.Argument arguments = 4;addArguments(int index, P4InfoOuterClass.TableActionCall.Argument.Builder builderForValue) repeated .p4.config.v1.TableActionCall.Argument arguments = 4;repeated .p4.config.v1.TableActionCall.Argument arguments = 4;addArguments(P4InfoOuterClass.TableActionCall.Argument.Builder builderForValue) repeated .p4.config.v1.TableActionCall.Argument arguments = 4;repeated .p4.config.v1.TableActionCall.Argument arguments = 4;addArgumentsBuilder(int index) repeated .p4.config.v1.TableActionCall.Argument arguments = 4;build()clear()uint32 action_id = 1;repeated .p4.config.v1.TableActionCall.Argument arguments = 4;intuint32 action_id = 1;getArguments(int index) repeated .p4.config.v1.TableActionCall.Argument arguments = 4;getArgumentsBuilder(int index) repeated .p4.config.v1.TableActionCall.Argument arguments = 4;repeated .p4.config.v1.TableActionCall.Argument arguments = 4;intrepeated .p4.config.v1.TableActionCall.Argument arguments = 4;repeated .p4.config.v1.TableActionCall.Argument arguments = 4;getArgumentsOrBuilder(int index) repeated .p4.config.v1.TableActionCall.Argument arguments = 4;repeated .p4.config.v1.TableActionCall.Argument arguments = 4;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeArguments(int index) repeated .p4.config.v1.TableActionCall.Argument arguments = 4;setActionId(int value) uint32 action_id = 1;setArguments(int index, P4InfoOuterClass.TableActionCall.Argument value) repeated .p4.config.v1.TableActionCall.Argument arguments = 4;setArguments(int index, P4InfoOuterClass.TableActionCall.Argument.Builder builderForValue) repeated .p4.config.v1.TableActionCall.Argument arguments = 4;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.TableActionCall.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.TableActionCall.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.TableActionCall.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<P4InfoOuterClass.TableActionCall.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.TableActionCall.Builder>
-
mergeFrom
public P4InfoOuterClass.TableActionCall.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<P4InfoOuterClass.TableActionCall.Builder>- Throws:
IOException
-
getActionId
public int getActionId()uint32 action_id = 1;- Specified by:
getActionIdin interfaceP4InfoOuterClass.TableActionCallOrBuilder- Returns:
- The actionId.
-
setActionId
uint32 action_id = 1;- Parameters:
value- The actionId to set.- Returns:
- This builder for chaining.
-
clearActionId
uint32 action_id = 1;- Returns:
- This builder for chaining.
-
getArgumentsList
repeated .p4.config.v1.TableActionCall.Argument arguments = 4;- Specified by:
getArgumentsListin interfaceP4InfoOuterClass.TableActionCallOrBuilder
-
getArgumentsCount
public int getArgumentsCount()repeated .p4.config.v1.TableActionCall.Argument arguments = 4;- Specified by:
getArgumentsCountin interfaceP4InfoOuterClass.TableActionCallOrBuilder
-
getArguments
repeated .p4.config.v1.TableActionCall.Argument arguments = 4;- Specified by:
getArgumentsin interfaceP4InfoOuterClass.TableActionCallOrBuilder
-
setArguments
public P4InfoOuterClass.TableActionCall.Builder setArguments(int index, P4InfoOuterClass.TableActionCall.Argument value) repeated .p4.config.v1.TableActionCall.Argument arguments = 4; -
setArguments
public P4InfoOuterClass.TableActionCall.Builder setArguments(int index, P4InfoOuterClass.TableActionCall.Argument.Builder builderForValue) repeated .p4.config.v1.TableActionCall.Argument arguments = 4; -
addArguments
public P4InfoOuterClass.TableActionCall.Builder addArguments(P4InfoOuterClass.TableActionCall.Argument value) repeated .p4.config.v1.TableActionCall.Argument arguments = 4; -
addArguments
public P4InfoOuterClass.TableActionCall.Builder addArguments(int index, P4InfoOuterClass.TableActionCall.Argument value) repeated .p4.config.v1.TableActionCall.Argument arguments = 4; -
addArguments
public P4InfoOuterClass.TableActionCall.Builder addArguments(P4InfoOuterClass.TableActionCall.Argument.Builder builderForValue) repeated .p4.config.v1.TableActionCall.Argument arguments = 4; -
addArguments
public P4InfoOuterClass.TableActionCall.Builder addArguments(int index, P4InfoOuterClass.TableActionCall.Argument.Builder builderForValue) repeated .p4.config.v1.TableActionCall.Argument arguments = 4; -
addAllArguments
public P4InfoOuterClass.TableActionCall.Builder addAllArguments(Iterable<? extends P4InfoOuterClass.TableActionCall.Argument> values) repeated .p4.config.v1.TableActionCall.Argument arguments = 4; -
clearArguments
repeated .p4.config.v1.TableActionCall.Argument arguments = 4; -
removeArguments
repeated .p4.config.v1.TableActionCall.Argument arguments = 4; -
getArgumentsBuilder
repeated .p4.config.v1.TableActionCall.Argument arguments = 4; -
getArgumentsOrBuilder
repeated .p4.config.v1.TableActionCall.Argument arguments = 4;- Specified by:
getArgumentsOrBuilderin interfaceP4InfoOuterClass.TableActionCallOrBuilder
-
getArgumentsOrBuilderList
public List<? extends P4InfoOuterClass.TableActionCall.ArgumentOrBuilder> getArgumentsOrBuilderList()repeated .p4.config.v1.TableActionCall.Argument arguments = 4;- Specified by:
getArgumentsOrBuilderListin interfaceP4InfoOuterClass.TableActionCallOrBuilder
-
addArgumentsBuilder
repeated .p4.config.v1.TableActionCall.Argument arguments = 4; -
addArgumentsBuilder
repeated .p4.config.v1.TableActionCall.Argument arguments = 4; -
getArgumentsBuilderList
repeated .p4.config.v1.TableActionCall.Argument arguments = 4;
-