public static final class Table.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder> implements TableOrBuilder
p4.config.Table
Modifier and Type | Method and Description |
---|---|
Table.Builder |
addActionRefs(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
|
Table.Builder |
addActionRefs(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 annotations
|
Table.Builder |
addActionRefs(int index,
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
|
Table.Builder |
addActionRefs(int index,
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 annotations
|
ActionRef.Builder |
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
|
ActionRef.Builder |
addActionRefsBuilder(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 annotations
|
Table.Builder |
addAllActionRefs(Iterable<? extends 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
|
Table.Builder |
addAllDirectResourceIds(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 future
|
Table.Builder |
addAllMatchFields(Iterable<? extends MatchField> values)
repeated .p4.config.MatchField match_fields = 2; |
Table.Builder |
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 future
|
Table.Builder |
addMatchFields(int index,
MatchField.Builder builderForValue)
repeated .p4.config.MatchField match_fields = 2; |
Table.Builder |
addMatchFields(int index,
MatchField value)
repeated .p4.config.MatchField match_fields = 2; |
Table.Builder |
addMatchFields(MatchField.Builder builderForValue)
repeated .p4.config.MatchField match_fields = 2; |
Table.Builder |
addMatchFields(MatchField value)
repeated .p4.config.MatchField match_fields = 2; |
MatchField.Builder |
addMatchFieldsBuilder()
repeated .p4.config.MatchField match_fields = 2; |
MatchField.Builder |
addMatchFieldsBuilder(int index)
repeated .p4.config.MatchField match_fields = 2; |
Table.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Table |
build() |
Table |
buildPartial() |
Table.Builder |
clear() |
Table.Builder |
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
|
Table.Builder |
clearConstDefaultActionHasMutableParams()
a table may have a const default action, whose action parameter values can
be changed at runtime.
|
Table.Builder |
clearConstDefaultActionId()
0 (default value) means that the table does not have a const default action
|
Table.Builder |
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
|
Table.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Table.Builder |
clearImplementationId()
P4 id of the "implementation" for this table (e.g.
|
Table.Builder |
clearMatchFields()
repeated .p4.config.MatchField match_fields = 2; |
Table.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Table.Builder |
clearPreamble()
.p4.config.Preamble preamble = 1; |
Table.Builder |
clearSize()
max number of entries in table
|
Table.Builder |
clearWithEntryTimeout()
entry ageing is enabled for table
|
Table.Builder |
clone() |
ActionRef |
getActionRefs(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 annotations
|
ActionRef.Builder |
getActionRefsBuilder(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 annotations
|
List<ActionRef.Builder> |
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
|
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
|
List<ActionRef> |
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
|
ActionRefOrBuilder |
getActionRefsOrBuilder(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 annotations
|
List<? extends ActionRefOrBuilder> |
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
|
boolean |
getConstDefaultActionHasMutableParams()
a table may have a const default action, whose action parameter values can
be changed at runtime.
|
int |
getConstDefaultActionId()
0 (default value) means that the table does not have a const default action
|
Table |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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
|
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
|
List<Integer> |
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
|
int |
getImplementationId()
P4 id of the "implementation" for this table (e.g.
|
MatchField |
getMatchFields(int index)
repeated .p4.config.MatchField match_fields = 2; |
MatchField.Builder |
getMatchFieldsBuilder(int index)
repeated .p4.config.MatchField match_fields = 2; |
List<MatchField.Builder> |
getMatchFieldsBuilderList()
repeated .p4.config.MatchField match_fields = 2; |
int |
getMatchFieldsCount()
repeated .p4.config.MatchField match_fields = 2; |
List<MatchField> |
getMatchFieldsList()
repeated .p4.config.MatchField match_fields = 2; |
MatchFieldOrBuilder |
getMatchFieldsOrBuilder(int index)
repeated .p4.config.MatchField match_fields = 2; |
List<? extends MatchFieldOrBuilder> |
getMatchFieldsOrBuilderList()
repeated .p4.config.MatchField match_fields = 2; |
Preamble |
getPreamble()
.p4.config.Preamble preamble = 1; |
Preamble.Builder |
getPreambleBuilder()
.p4.config.Preamble preamble = 1; |
PreambleOrBuilder |
getPreambleOrBuilder()
.p4.config.Preamble preamble = 1; |
long |
getSize()
max number of entries in table
|
boolean |
getWithEntryTimeout()
entry ageing is enabled for table
|
boolean |
hasPreamble()
.p4.config.Preamble preamble = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Table.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Table.Builder |
mergeFrom(com.google.protobuf.Message other) |
Table.Builder |
mergeFrom(Table other) |
Table.Builder |
mergePreamble(Preamble value)
.p4.config.Preamble preamble = 1; |
Table.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Table.Builder |
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 annotations
|
Table.Builder |
removeMatchFields(int index)
repeated .p4.config.MatchField match_fields = 2; |
Table.Builder |
setActionRefs(int index,
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
|
Table.Builder |
setActionRefs(int index,
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 annotations
|
Table.Builder |
setConstDefaultActionHasMutableParams(boolean value)
a table may have a const default action, whose action parameter values can
be changed at runtime.
|
Table.Builder |
setConstDefaultActionId(int value)
0 (default value) means that the table does not have a const default action
|
Table.Builder |
setDirectResourceIds(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 future
|
Table.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Table.Builder |
setImplementationId(int value)
P4 id of the "implementation" for this table (e.g.
|
Table.Builder |
setMatchFields(int index,
MatchField.Builder builderForValue)
repeated .p4.config.MatchField match_fields = 2; |
Table.Builder |
setMatchFields(int index,
MatchField value)
repeated .p4.config.MatchField match_fields = 2; |
Table.Builder |
setPreamble(Preamble.Builder builderForValue)
.p4.config.Preamble preamble = 1; |
Table.Builder |
setPreamble(Preamble value)
.p4.config.Preamble preamble = 1; |
Table.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Table.Builder |
setSize(long value)
max number of entries in table
|
Table.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Table.Builder |
setWithEntryTimeout(boolean value)
entry ageing is enabled for table
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
public Table.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
public Table getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Table build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Table buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Table.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
public Table.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
public Table.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
public Table.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
public Table.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
public Table.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
public Table.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Table.Builder>
public Table.Builder mergeFrom(Table other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
public Table.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Table.Builder>
IOException
public boolean hasPreamble()
.p4.config.Preamble preamble = 1;
hasPreamble
in interface TableOrBuilder
public Preamble getPreamble()
.p4.config.Preamble preamble = 1;
getPreamble
in interface TableOrBuilder
public Table.Builder setPreamble(Preamble value)
.p4.config.Preamble preamble = 1;
public Table.Builder setPreamble(Preamble.Builder builderForValue)
.p4.config.Preamble preamble = 1;
public Table.Builder mergePreamble(Preamble value)
.p4.config.Preamble preamble = 1;
public Table.Builder clearPreamble()
.p4.config.Preamble preamble = 1;
public Preamble.Builder getPreambleBuilder()
.p4.config.Preamble preamble = 1;
public PreambleOrBuilder getPreambleOrBuilder()
.p4.config.Preamble preamble = 1;
getPreambleOrBuilder
in interface TableOrBuilder
public List<MatchField> getMatchFieldsList()
repeated .p4.config.MatchField match_fields = 2;
getMatchFieldsList
in interface TableOrBuilder
public int getMatchFieldsCount()
repeated .p4.config.MatchField match_fields = 2;
getMatchFieldsCount
in interface TableOrBuilder
public MatchField getMatchFields(int index)
repeated .p4.config.MatchField match_fields = 2;
getMatchFields
in interface TableOrBuilder
public Table.Builder setMatchFields(int index, MatchField value)
repeated .p4.config.MatchField match_fields = 2;
public Table.Builder setMatchFields(int index, MatchField.Builder builderForValue)
repeated .p4.config.MatchField match_fields = 2;
public Table.Builder addMatchFields(MatchField value)
repeated .p4.config.MatchField match_fields = 2;
public Table.Builder addMatchFields(int index, MatchField value)
repeated .p4.config.MatchField match_fields = 2;
public Table.Builder addMatchFields(MatchField.Builder builderForValue)
repeated .p4.config.MatchField match_fields = 2;
public Table.Builder addMatchFields(int index, MatchField.Builder builderForValue)
repeated .p4.config.MatchField match_fields = 2;
public Table.Builder addAllMatchFields(Iterable<? extends MatchField> values)
repeated .p4.config.MatchField match_fields = 2;
public Table.Builder clearMatchFields()
repeated .p4.config.MatchField match_fields = 2;
public Table.Builder removeMatchFields(int index)
repeated .p4.config.MatchField match_fields = 2;
public MatchField.Builder getMatchFieldsBuilder(int index)
repeated .p4.config.MatchField match_fields = 2;
public MatchFieldOrBuilder getMatchFieldsOrBuilder(int index)
repeated .p4.config.MatchField match_fields = 2;
getMatchFieldsOrBuilder
in interface TableOrBuilder
public List<? extends MatchFieldOrBuilder> getMatchFieldsOrBuilderList()
repeated .p4.config.MatchField match_fields = 2;
getMatchFieldsOrBuilderList
in interface TableOrBuilder
public MatchField.Builder addMatchFieldsBuilder()
repeated .p4.config.MatchField match_fields = 2;
public MatchField.Builder addMatchFieldsBuilder(int index)
repeated .p4.config.MatchField match_fields = 2;
public List<MatchField.Builder> getMatchFieldsBuilderList()
repeated .p4.config.MatchField match_fields = 2;
public List<ActionRef> 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.ActionRef action_refs = 3;
getActionRefsList
in interface TableOrBuilder
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.ActionRef action_refs = 3;
getActionRefsCount
in interface TableOrBuilder
public ActionRef getActionRefs(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 annotations
repeated .p4.config.ActionRef action_refs = 3;
getActionRefs
in interface TableOrBuilder
public Table.Builder setActionRefs(int index, 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 annotations
repeated .p4.config.ActionRef action_refs = 3;
public Table.Builder setActionRefs(int index, 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.ActionRef action_refs = 3;
public Table.Builder addActionRefs(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 annotations
repeated .p4.config.ActionRef action_refs = 3;
public Table.Builder addActionRefs(int index, 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 annotations
repeated .p4.config.ActionRef action_refs = 3;
public Table.Builder addActionRefs(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.ActionRef action_refs = 3;
public Table.Builder addActionRefs(int index, 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.ActionRef action_refs = 3;
public Table.Builder addAllActionRefs(Iterable<? extends 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.ActionRef action_refs = 3;
public Table.Builder 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.ActionRef action_refs = 3;
public Table.Builder 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 annotations
repeated .p4.config.ActionRef action_refs = 3;
public ActionRef.Builder getActionRefsBuilder(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 annotations
repeated .p4.config.ActionRef action_refs = 3;
public ActionRefOrBuilder getActionRefsOrBuilder(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 annotations
repeated .p4.config.ActionRef action_refs = 3;
getActionRefsOrBuilder
in interface TableOrBuilder
public List<? extends ActionRefOrBuilder> 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.ActionRef action_refs = 3;
getActionRefsOrBuilderList
in interface TableOrBuilder
public ActionRef.Builder 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.ActionRef action_refs = 3;
public ActionRef.Builder addActionRefsBuilder(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 annotations
repeated .p4.config.ActionRef action_refs = 3;
public List<ActionRef.Builder> 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.ActionRef action_refs = 3;
public int getConstDefaultActionId()
0 (default value) means that the table does not have a const default action
uint32 const_default_action_id = 4;
getConstDefaultActionId
in interface TableOrBuilder
public Table.Builder setConstDefaultActionId(int value)
0 (default value) means that the table does not have a const default action
uint32 const_default_action_id = 4;
public Table.Builder clearConstDefaultActionId()
0 (default value) means that the table does not have a const default action
uint32 const_default_action_id = 4;
public boolean getConstDefaultActionHasMutableParams()
a table may have a const default action, whose action parameter values can be changed at runtime. However, in most cases the parameters of the default action are also bound at compile-time and cannot be changed by the runtime, which is what this boolean flag indicates.
bool const_default_action_has_mutable_params = 5;
getConstDefaultActionHasMutableParams
in interface TableOrBuilder
public Table.Builder setConstDefaultActionHasMutableParams(boolean value)
a table may have a const default action, whose action parameter values can be changed at runtime. However, in most cases the parameters of the default action are also bound at compile-time and cannot be changed by the runtime, which is what this boolean flag indicates.
bool const_default_action_has_mutable_params = 5;
public Table.Builder clearConstDefaultActionHasMutableParams()
a table may have a const default action, whose action parameter values can be changed at runtime. However, in most cases the parameters of the default action are also bound at compile-time and cannot be changed by the runtime, which is what this boolean flag indicates.
bool const_default_action_has_mutable_params = 5;
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;
getImplementationId
in interface TableOrBuilder
public Table.Builder setImplementationId(int value)
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;
public Table.Builder 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;
public List<Integer> 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;
getDirectResourceIdsList
in interface TableOrBuilder
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;
getDirectResourceIdsCount
in interface TableOrBuilder
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;
getDirectResourceIds
in interface TableOrBuilder
public Table.Builder setDirectResourceIds(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 future
repeated uint32 direct_resource_ids = 7;
public Table.Builder 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 future
repeated uint32 direct_resource_ids = 7;
public Table.Builder addAllDirectResourceIds(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 future
repeated uint32 direct_resource_ids = 7;
public Table.Builder 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;
public long getSize()
max number of entries in table
int64 size = 8;
getSize
in interface TableOrBuilder
public Table.Builder setSize(long value)
max number of entries in table
int64 size = 8;
public Table.Builder clearSize()
max number of entries in table
int64 size = 8;
public boolean getWithEntryTimeout()
entry ageing is enabled for table
bool with_entry_timeout = 9;
getWithEntryTimeout
in interface TableOrBuilder
public Table.Builder setWithEntryTimeout(boolean value)
entry ageing is enabled for table
bool with_entry_timeout = 9;
public Table.Builder clearWithEntryTimeout()
entry ageing is enabled for table
bool with_entry_timeout = 9;
public final Table.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
public final Table.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Table.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.