Package p4.config.v1
Class P4InfoOuterClass.Table.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<P4InfoOuterClass.Table.Builder>
com.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.Table.Builder>
p4.config.v1.P4InfoOuterClass.Table.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,P4InfoOuterClass.TableOrBuilder
- Enclosing class:
P4InfoOuterClass.Table
public static final class P4InfoOuterClass.Table.Builder
extends com.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.Table.Builder>
implements P4InfoOuterClass.TableOrBuilder
Protobuf type
p4.config.v1.Table-
Method Summary
Modifier and TypeMethodDescriptionaddActionRefs(int index, P4InfoOuterClass.ActionRef value) even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationsaddActionRefs(int index, P4InfoOuterClass.ActionRef.Builder builderForValue) even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationseven when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationsaddActionRefs(P4InfoOuterClass.ActionRef.Builder builderForValue) even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationseven when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationsaddActionRefsBuilder(int index) even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationsaddAllActionRefs(Iterable<? extends P4InfoOuterClass.ActionRef> values) even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationsaddAllDirectResourceIds(Iterable<? extends Integer> values) ids of the direct resources (if any) attached to this table; for now this includes only direct counters and direct meters, but other resources may be added in the futureaddAllMatchFields(Iterable<? extends P4InfoOuterClass.MatchField> values) repeated .p4.config.v1.MatchField match_fields = 2;addDirectResourceIds(int value) ids of the direct resources (if any) attached to this table; for now this includes only direct counters and direct meters, but other resources may be added in the futureaddMatchFields(int index, P4InfoOuterClass.MatchField value) repeated .p4.config.v1.MatchField match_fields = 2;addMatchFields(int index, P4InfoOuterClass.MatchField.Builder builderForValue) repeated .p4.config.v1.MatchField match_fields = 2;repeated .p4.config.v1.MatchField match_fields = 2;addMatchFields(P4InfoOuterClass.MatchField.Builder builderForValue) repeated .p4.config.v1.MatchField match_fields = 2;repeated .p4.config.v1.MatchField match_fields = 2;addMatchFieldsBuilder(int index) repeated .p4.config.v1.MatchField match_fields = 2;build()clear()even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations0 (default value) means that the table does not have a const default actionids of the direct resources (if any) attached to this table; for now this includes only direct counters and direct meters, but other resources may be added in the futureTrue if and only if the table has initial entries defined using the 'entries' table property in the P4 source code, either with or without the 'const' qualifier on 'entries', and there is at least one entry in that list.is idle timeout supported for this table?P4 id of the "implementation" for this table (e.g.The initial default action of the table.True if and only if the table's entries are immutable, i.e.repeated .p4.config.v1.MatchField match_fields = 2;architecture-specific table properties which are not part of the core P4 language or of the PSA architecture..p4.config.v1.Preamble preamble = 1;max number of entries in tablegetActionRefs(int index) even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationsgetActionRefsBuilder(int index) even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationseven when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationsinteven when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationseven when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationsgetActionRefsOrBuilder(int index) even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationsList<? extends P4InfoOuterClass.ActionRefOrBuilder> even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationsint0 (default value) means that the table does not have a const default actionstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintgetDirectResourceIds(int index) ids of the direct resources (if any) attached to this table; for now this includes only direct counters and direct meters, but other resources may be added in the futureintids of the direct resources (if any) attached to this table; for now this includes only direct counters and direct meters, but other resources may be added in the futureids of the direct resources (if any) attached to this table; for now this includes only direct counters and direct meters, but other resources may be added in the futurebooleanTrue if and only if the table has initial entries defined using the 'entries' table property in the P4 source code, either with or without the 'const' qualifier on 'entries', and there is at least one entry in that list.is idle timeout supported for this table?intis idle timeout supported for this table?intP4 id of the "implementation" for this table (e.g.The initial default action of the table.The initial default action of the table.The initial default action of the table.booleanTrue if and only if the table's entries are immutable, i.e.getMatchFields(int index) repeated .p4.config.v1.MatchField match_fields = 2;getMatchFieldsBuilder(int index) repeated .p4.config.v1.MatchField match_fields = 2;repeated .p4.config.v1.MatchField match_fields = 2;intrepeated .p4.config.v1.MatchField match_fields = 2;repeated .p4.config.v1.MatchField match_fields = 2;getMatchFieldsOrBuilder(int index) repeated .p4.config.v1.MatchField match_fields = 2;List<? extends P4InfoOuterClass.MatchFieldOrBuilder> repeated .p4.config.v1.MatchField match_fields = 2;com.google.protobuf.Anyarchitecture-specific table properties which are not part of the core P4 language or of the PSA architecture.com.google.protobuf.Any.Builderarchitecture-specific table properties which are not part of the core P4 language or of the PSA architecture.com.google.protobuf.AnyOrBuilderarchitecture-specific table properties which are not part of the core P4 language or of the PSA architecture..p4.config.v1.Preamble preamble = 1;.p4.config.v1.Preamble preamble = 1;.p4.config.v1.Preamble preamble = 1;longgetSize()max number of entries in tablebooleanThe initial default action of the table.booleanarchitecture-specific table properties which are not part of the core P4 language or of the PSA architecture.boolean.p4.config.v1.Preamble preamble = 1;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(P4InfoOuterClass.Table other) The initial default action of the table.mergeOtherProperties(com.google.protobuf.Any value) architecture-specific table properties which are not part of the core P4 language or of the PSA architecture..p4.config.v1.Preamble preamble = 1;removeActionRefs(int index) even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationsremoveMatchFields(int index) repeated .p4.config.v1.MatchField match_fields = 2;setActionRefs(int index, P4InfoOuterClass.ActionRef value) even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationssetActionRefs(int index, P4InfoOuterClass.ActionRef.Builder builderForValue) even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotationssetConstDefaultActionId(int value) 0 (default value) means that the table does not have a const default actionsetDirectResourceIds(int index, int value) ids of the direct resources (if any) attached to this table; for now this includes only direct counters and direct meters, but other resources may be added in the futuresetHasInitialEntries(boolean value) True if and only if the table has initial entries defined using the 'entries' table property in the P4 source code, either with or without the 'const' qualifier on 'entries', and there is at least one entry in that list.is idle timeout supported for this table?setIdleTimeoutBehaviorValue(int value) is idle timeout supported for this table?setImplementationId(int value) P4 id of the "implementation" for this table (e.g.The initial default action of the table.setInitialDefaultAction(P4InfoOuterClass.TableActionCall.Builder builderForValue) The initial default action of the table.setIsConstTable(boolean value) True if and only if the table's entries are immutable, i.e.setMatchFields(int index, P4InfoOuterClass.MatchField value) repeated .p4.config.v1.MatchField match_fields = 2;setMatchFields(int index, P4InfoOuterClass.MatchField.Builder builderForValue) repeated .p4.config.v1.MatchField match_fields = 2;setOtherProperties(com.google.protobuf.Any value) architecture-specific table properties which are not part of the core P4 language or of the PSA architecture.setOtherProperties(com.google.protobuf.Any.Builder builderForValue) architecture-specific table properties which are not part of the core P4 language or of the PSA architecture..p4.config.v1.Preamble preamble = 1;setPreamble(P4InfoOuterClass.Preamble.Builder builderForValue) .p4.config.v1.Preamble preamble = 1;setSize(long value) max number of entries in tableMethods 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.Table.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.Table.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.Table.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.Table.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.Table.Builder>
-
mergeFrom
public P4InfoOuterClass.Table.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.Table.Builder>- Throws:
IOException
-
hasPreamble
public boolean hasPreamble().p4.config.v1.Preamble preamble = 1;- Specified by:
hasPreamblein interfaceP4InfoOuterClass.TableOrBuilder- Returns:
- Whether the preamble field is set.
-
getPreamble
.p4.config.v1.Preamble preamble = 1;- Specified by:
getPreamblein interfaceP4InfoOuterClass.TableOrBuilder- Returns:
- The preamble.
-
setPreamble
.p4.config.v1.Preamble preamble = 1; -
setPreamble
public P4InfoOuterClass.Table.Builder setPreamble(P4InfoOuterClass.Preamble.Builder builderForValue) .p4.config.v1.Preamble preamble = 1; -
mergePreamble
.p4.config.v1.Preamble preamble = 1; -
clearPreamble
.p4.config.v1.Preamble preamble = 1; -
getPreambleBuilder
.p4.config.v1.Preamble preamble = 1; -
getPreambleOrBuilder
.p4.config.v1.Preamble preamble = 1;- Specified by:
getPreambleOrBuilderin interfaceP4InfoOuterClass.TableOrBuilder
-
getMatchFieldsList
repeated .p4.config.v1.MatchField match_fields = 2;- Specified by:
getMatchFieldsListin interfaceP4InfoOuterClass.TableOrBuilder
-
getMatchFieldsCount
public int getMatchFieldsCount()repeated .p4.config.v1.MatchField match_fields = 2;- Specified by:
getMatchFieldsCountin interfaceP4InfoOuterClass.TableOrBuilder
-
getMatchFields
repeated .p4.config.v1.MatchField match_fields = 2;- Specified by:
getMatchFieldsin interfaceP4InfoOuterClass.TableOrBuilder
-
setMatchFields
repeated .p4.config.v1.MatchField match_fields = 2; -
setMatchFields
public P4InfoOuterClass.Table.Builder setMatchFields(int index, P4InfoOuterClass.MatchField.Builder builderForValue) repeated .p4.config.v1.MatchField match_fields = 2; -
addMatchFields
repeated .p4.config.v1.MatchField match_fields = 2; -
addMatchFields
repeated .p4.config.v1.MatchField match_fields = 2; -
addMatchFields
public P4InfoOuterClass.Table.Builder addMatchFields(P4InfoOuterClass.MatchField.Builder builderForValue) repeated .p4.config.v1.MatchField match_fields = 2; -
addMatchFields
public P4InfoOuterClass.Table.Builder addMatchFields(int index, P4InfoOuterClass.MatchField.Builder builderForValue) repeated .p4.config.v1.MatchField match_fields = 2; -
addAllMatchFields
public P4InfoOuterClass.Table.Builder addAllMatchFields(Iterable<? extends P4InfoOuterClass.MatchField> values) repeated .p4.config.v1.MatchField match_fields = 2; -
clearMatchFields
repeated .p4.config.v1.MatchField match_fields = 2; -
removeMatchFields
repeated .p4.config.v1.MatchField match_fields = 2; -
getMatchFieldsBuilder
repeated .p4.config.v1.MatchField match_fields = 2; -
getMatchFieldsOrBuilder
repeated .p4.config.v1.MatchField match_fields = 2;- Specified by:
getMatchFieldsOrBuilderin interfaceP4InfoOuterClass.TableOrBuilder
-
getMatchFieldsOrBuilderList
repeated .p4.config.v1.MatchField match_fields = 2;- Specified by:
getMatchFieldsOrBuilderListin interfaceP4InfoOuterClass.TableOrBuilder
-
addMatchFieldsBuilder
repeated .p4.config.v1.MatchField match_fields = 2; -
addMatchFieldsBuilder
repeated .p4.config.v1.MatchField match_fields = 2; -
getMatchFieldsBuilderList
repeated .p4.config.v1.MatchField match_fields = 2; -
getActionRefsList
even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3;- Specified by:
getActionRefsListin interfaceP4InfoOuterClass.TableOrBuilder
-
getActionRefsCount
public int getActionRefsCount()even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3;- Specified by:
getActionRefsCountin interfaceP4InfoOuterClass.TableOrBuilder
-
getActionRefs
even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3;- Specified by:
getActionRefsin interfaceP4InfoOuterClass.TableOrBuilder
-
setActionRefs
even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3; -
setActionRefs
public P4InfoOuterClass.Table.Builder setActionRefs(int index, P4InfoOuterClass.ActionRef.Builder builderForValue) even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3; -
addActionRefs
even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3; -
addActionRefs
even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3; -
addActionRefs
public P4InfoOuterClass.Table.Builder addActionRefs(P4InfoOuterClass.ActionRef.Builder builderForValue) even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3; -
addActionRefs
public P4InfoOuterClass.Table.Builder addActionRefs(int index, P4InfoOuterClass.ActionRef.Builder builderForValue) even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3; -
addAllActionRefs
public P4InfoOuterClass.Table.Builder addAllActionRefs(Iterable<? extends P4InfoOuterClass.ActionRef> values) even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3; -
clearActionRefs
even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3; -
removeActionRefs
even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3; -
getActionRefsBuilder
even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3; -
getActionRefsOrBuilder
even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3;- Specified by:
getActionRefsOrBuilderin interfaceP4InfoOuterClass.TableOrBuilder
-
getActionRefsOrBuilderList
even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3;- Specified by:
getActionRefsOrBuilderListin interfaceP4InfoOuterClass.TableOrBuilder
-
addActionRefsBuilder
even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3; -
addActionRefsBuilder
even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3; -
getActionRefsBuilderList
even when the table is indirect (see implementation_id) below, this field includes all possible actions for the table; by using ActionRef instead of a repeated field of action ids, each action reference in a P4 table is able to have its own annotations
repeated .p4.config.v1.ActionRef action_refs = 3; -
getConstDefaultActionId
public int getConstDefaultActionId()0 (default value) means that the table does not have a const default action
uint32 const_default_action_id = 4;- Specified by:
getConstDefaultActionIdin interfaceP4InfoOuterClass.TableOrBuilder- Returns:
- The constDefaultActionId.
-
setConstDefaultActionId
0 (default value) means that the table does not have a const default action
uint32 const_default_action_id = 4;- Parameters:
value- The constDefaultActionId to set.- Returns:
- This builder for chaining.
-
clearConstDefaultActionId
0 (default value) means that the table does not have a const default action
uint32 const_default_action_id = 4;- Returns:
- This builder for chaining.
-
hasInitialDefaultAction
public boolean hasInitialDefaultAction()The initial default action of the table. This can be overridden at runtime. Added in 1.4.0.
.p4.config.v1.TableActionCall initial_default_action = 5;- Specified by:
hasInitialDefaultActionin interfaceP4InfoOuterClass.TableOrBuilder- Returns:
- Whether the initialDefaultAction field is set.
-
getInitialDefaultAction
The initial default action of the table. This can be overridden at runtime. Added in 1.4.0.
.p4.config.v1.TableActionCall initial_default_action = 5;- Specified by:
getInitialDefaultActionin interfaceP4InfoOuterClass.TableOrBuilder- Returns:
- The initialDefaultAction.
-
setInitialDefaultAction
public P4InfoOuterClass.Table.Builder setInitialDefaultAction(P4InfoOuterClass.TableActionCall value) The initial default action of the table. This can be overridden at runtime. Added in 1.4.0.
.p4.config.v1.TableActionCall initial_default_action = 5; -
setInitialDefaultAction
public P4InfoOuterClass.Table.Builder setInitialDefaultAction(P4InfoOuterClass.TableActionCall.Builder builderForValue) The initial default action of the table. This can be overridden at runtime. Added in 1.4.0.
.p4.config.v1.TableActionCall initial_default_action = 5; -
mergeInitialDefaultAction
public P4InfoOuterClass.Table.Builder mergeInitialDefaultAction(P4InfoOuterClass.TableActionCall value) The initial default action of the table. This can be overridden at runtime. Added in 1.4.0.
.p4.config.v1.TableActionCall initial_default_action = 5; -
clearInitialDefaultAction
The initial default action of the table. This can be overridden at runtime. Added in 1.4.0.
.p4.config.v1.TableActionCall initial_default_action = 5; -
getInitialDefaultActionBuilder
The initial default action of the table. This can be overridden at runtime. Added in 1.4.0.
.p4.config.v1.TableActionCall initial_default_action = 5; -
getInitialDefaultActionOrBuilder
The initial default action of the table. This can be overridden at runtime. Added in 1.4.0.
.p4.config.v1.TableActionCall initial_default_action = 5;- Specified by:
getInitialDefaultActionOrBuilderin interfaceP4InfoOuterClass.TableOrBuilder
-
getImplementationId
public int getImplementationId()P4 id of the "implementation" for this table (e.g. action profile id); 0 (default value) means that the table is a regular (direct) match table. As of today, only action profiles are supported but other table implementations may be added in the future
uint32 implementation_id = 6;- Specified by:
getImplementationIdin interfaceP4InfoOuterClass.TableOrBuilder- Returns:
- The implementationId.
-
setImplementationId
P4 id of the "implementation" for this table (e.g. action profile id); 0 (default value) means that the table is a regular (direct) match table. As of today, only action profiles are supported but other table implementations may be added in the future
uint32 implementation_id = 6;- Parameters:
value- The implementationId to set.- Returns:
- This builder for chaining.
-
clearImplementationId
P4 id of the "implementation" for this table (e.g. action profile id); 0 (default value) means that the table is a regular (direct) match table. As of today, only action profiles are supported but other table implementations may be added in the future
uint32 implementation_id = 6;- Returns:
- This builder for chaining.
-
getDirectResourceIdsList
ids of the direct resources (if any) attached to this table; for now this includes only direct counters and direct meters, but other resources may be added in the future
repeated uint32 direct_resource_ids = 7;- Specified by:
getDirectResourceIdsListin interfaceP4InfoOuterClass.TableOrBuilder- Returns:
- A list containing the directResourceIds.
-
getDirectResourceIdsCount
public int getDirectResourceIdsCount()ids of the direct resources (if any) attached to this table; for now this includes only direct counters and direct meters, but other resources may be added in the future
repeated uint32 direct_resource_ids = 7;- Specified by:
getDirectResourceIdsCountin interfaceP4InfoOuterClass.TableOrBuilder- Returns:
- The count of directResourceIds.
-
getDirectResourceIds
public int getDirectResourceIds(int index) ids of the direct resources (if any) attached to this table; for now this includes only direct counters and direct meters, but other resources may be added in the future
repeated uint32 direct_resource_ids = 7;- Specified by:
getDirectResourceIdsin interfaceP4InfoOuterClass.TableOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The directResourceIds at the given index.
-
setDirectResourceIds
ids of the direct resources (if any) attached to this table; for now this includes only direct counters and direct meters, but other resources may be added in the future
repeated uint32 direct_resource_ids = 7;- Parameters:
index- The index to set the value at.value- The directResourceIds to set.- Returns:
- This builder for chaining.
-
addDirectResourceIds
ids of the direct resources (if any) attached to this table; for now this includes only direct counters and direct meters, but other resources may be added in the future
repeated uint32 direct_resource_ids = 7;- Parameters:
value- The directResourceIds to add.- Returns:
- This builder for chaining.
-
addAllDirectResourceIds
ids of the direct resources (if any) attached to this table; for now this includes only direct counters and direct meters, but other resources may be added in the future
repeated uint32 direct_resource_ids = 7;- Parameters:
values- The directResourceIds to add.- Returns:
- This builder for chaining.
-
clearDirectResourceIds
ids of the direct resources (if any) attached to this table; for now this includes only direct counters and direct meters, but other resources may be added in the future
repeated uint32 direct_resource_ids = 7;- Returns:
- This builder for chaining.
-
getSize
public long getSize()max number of entries in table
int64 size = 8;- Specified by:
getSizein interfaceP4InfoOuterClass.TableOrBuilder- Returns:
- The size.
-
setSize
max number of entries in table
int64 size = 8;- Parameters:
value- The size to set.- Returns:
- This builder for chaining.
-
clearSize
max number of entries in table
int64 size = 8;- Returns:
- This builder for chaining.
-
getIdleTimeoutBehaviorValue
public int getIdleTimeoutBehaviorValue()is idle timeout supported for this table?
.p4.config.v1.Table.IdleTimeoutBehavior idle_timeout_behavior = 9;- Specified by:
getIdleTimeoutBehaviorValuein interfaceP4InfoOuterClass.TableOrBuilder- Returns:
- The enum numeric value on the wire for idleTimeoutBehavior.
-
setIdleTimeoutBehaviorValue
is idle timeout supported for this table?
.p4.config.v1.Table.IdleTimeoutBehavior idle_timeout_behavior = 9;- Parameters:
value- The enum numeric value on the wire for idleTimeoutBehavior to set.- Returns:
- This builder for chaining.
- Throws:
IllegalArgumentException- if UNRECOGNIZED is provided.
-
getIdleTimeoutBehavior
is idle timeout supported for this table?
.p4.config.v1.Table.IdleTimeoutBehavior idle_timeout_behavior = 9;- Specified by:
getIdleTimeoutBehaviorin interfaceP4InfoOuterClass.TableOrBuilder- Returns:
- The idleTimeoutBehavior.
-
setIdleTimeoutBehavior
public P4InfoOuterClass.Table.Builder setIdleTimeoutBehavior(P4InfoOuterClass.Table.IdleTimeoutBehavior value) is idle timeout supported for this table?
.p4.config.v1.Table.IdleTimeoutBehavior idle_timeout_behavior = 9;- Parameters:
value- The idleTimeoutBehavior to set.- Returns:
- This builder for chaining.
-
clearIdleTimeoutBehavior
is idle timeout supported for this table?
.p4.config.v1.Table.IdleTimeoutBehavior idle_timeout_behavior = 9;- Returns:
- This builder for chaining.
-
getIsConstTable
public boolean getIsConstTable()True if and only if the table's entries are immutable, i.e. defined using the 'const entries' table property in the P4 source code, and thus entries cannot be deleted, modified, or inserted at run time.
bool is_const_table = 10;- Specified by:
getIsConstTablein interfaceP4InfoOuterClass.TableOrBuilder- Returns:
- The isConstTable.
-
setIsConstTable
True if and only if the table's entries are immutable, i.e. defined using the 'const entries' table property in the P4 source code, and thus entries cannot be deleted, modified, or inserted at run time.
bool is_const_table = 10;- Parameters:
value- The isConstTable to set.- Returns:
- This builder for chaining.
-
clearIsConstTable
True if and only if the table's entries are immutable, i.e. defined using the 'const entries' table property in the P4 source code, and thus entries cannot be deleted, modified, or inserted at run time.
bool is_const_table = 10;- Returns:
- This builder for chaining.
-
getHasInitialEntries
public boolean getHasInitialEntries()True if and only if the table has initial entries defined using the 'entries' table property in the P4 source code, either with or without the 'const' qualifier on 'entries', and there is at least one entry in that list. This field is false if the list of entries is empty in the P4 source code. Added in 1.4.0.
bool has_initial_entries = 11;- Specified by:
getHasInitialEntriesin interfaceP4InfoOuterClass.TableOrBuilder- Returns:
- The hasInitialEntries.
-
setHasInitialEntries
True if and only if the table has initial entries defined using the 'entries' table property in the P4 source code, either with or without the 'const' qualifier on 'entries', and there is at least one entry in that list. This field is false if the list of entries is empty in the P4 source code. Added in 1.4.0.
bool has_initial_entries = 11;- Parameters:
value- The hasInitialEntries to set.- Returns:
- This builder for chaining.
-
clearHasInitialEntries
True if and only if the table has initial entries defined using the 'entries' table property in the P4 source code, either with or without the 'const' qualifier on 'entries', and there is at least one entry in that list. This field is false if the list of entries is empty in the P4 source code. Added in 1.4.0.
bool has_initial_entries = 11;- Returns:
- This builder for chaining.
-
hasOtherProperties
public boolean hasOtherProperties()architecture-specific table properties which are not part of the core P4 language or of the PSA architecture.
.google.protobuf.Any other_properties = 100;- Specified by:
hasOtherPropertiesin interfaceP4InfoOuterClass.TableOrBuilder- Returns:
- Whether the otherProperties field is set.
-
getOtherProperties
public com.google.protobuf.Any getOtherProperties()architecture-specific table properties which are not part of the core P4 language or of the PSA architecture.
.google.protobuf.Any other_properties = 100;- Specified by:
getOtherPropertiesin interfaceP4InfoOuterClass.TableOrBuilder- Returns:
- The otherProperties.
-
setOtherProperties
architecture-specific table properties which are not part of the core P4 language or of the PSA architecture.
.google.protobuf.Any other_properties = 100; -
setOtherProperties
public P4InfoOuterClass.Table.Builder setOtherProperties(com.google.protobuf.Any.Builder builderForValue) architecture-specific table properties which are not part of the core P4 language or of the PSA architecture.
.google.protobuf.Any other_properties = 100; -
mergeOtherProperties
architecture-specific table properties which are not part of the core P4 language or of the PSA architecture.
.google.protobuf.Any other_properties = 100; -
clearOtherProperties
architecture-specific table properties which are not part of the core P4 language or of the PSA architecture.
.google.protobuf.Any other_properties = 100; -
getOtherPropertiesBuilder
public com.google.protobuf.Any.Builder getOtherPropertiesBuilder()architecture-specific table properties which are not part of the core P4 language or of the PSA architecture.
.google.protobuf.Any other_properties = 100; -
getOtherPropertiesOrBuilder
public com.google.protobuf.AnyOrBuilder getOtherPropertiesOrBuilder()architecture-specific table properties which are not part of the core P4 language or of the PSA architecture.
.google.protobuf.Any other_properties = 100;- Specified by:
getOtherPropertiesOrBuilderin interfaceP4InfoOuterClass.TableOrBuilder
-