public final class Table extends com.google.protobuf.GeneratedMessageV3 implements TableOrBuilder
p4.config.Table| Modifier and Type | Class and Description |
|---|---|
static class |
Table.Builder
Protobuf type
p4.config.Table |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ACTION_REFS_FIELD_NUMBER |
static int |
CONST_DEFAULT_ACTION_HAS_MUTABLE_PARAMS_FIELD_NUMBER |
static int |
CONST_DEFAULT_ACTION_ID_FIELD_NUMBER |
static int |
DIRECT_RESOURCE_IDS_FIELD_NUMBER |
static int |
IMPLEMENTATION_ID_FIELD_NUMBER |
static int |
MATCH_FIELDS_FIELD_NUMBER |
static int |
PREAMBLE_FIELD_NUMBER |
static int |
SIZE_FIELD_NUMBER |
static int |
WITH_ENTRY_TIMEOUT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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
|
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
|
static Table |
getDefaultInstance() |
Table |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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; |
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; |
com.google.protobuf.Parser<Table> |
getParserForType() |
Preamble |
getPreamble()
.p4.config.Preamble preamble = 1; |
PreambleOrBuilder |
getPreambleOrBuilder()
.p4.config.Preamble preamble = 1; |
int |
getSerializedSize() |
long |
getSize()
max number of entries in table
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
getWithEntryTimeout()
entry ageing is enabled for table
|
int |
hashCode() |
boolean |
hasPreamble()
.p4.config.Preamble preamble = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Table.Builder |
newBuilder() |
static Table.Builder |
newBuilder(Table prototype) |
Table.Builder |
newBuilderForType() |
protected Table.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Table |
parseDelimitedFrom(InputStream input) |
static Table |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Table |
parseFrom(byte[] data) |
static Table |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Table |
parseFrom(ByteBuffer data) |
static Table |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Table |
parseFrom(com.google.protobuf.ByteString data) |
static Table |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Table |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Table |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Table |
parseFrom(InputStream input) |
static Table |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Table> |
parser() |
Table.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PREAMBLE_FIELD_NUMBER
public static final int MATCH_FIELDS_FIELD_NUMBER
public static final int ACTION_REFS_FIELD_NUMBER
public static final int CONST_DEFAULT_ACTION_ID_FIELD_NUMBER
public static final int CONST_DEFAULT_ACTION_HAS_MUTABLE_PARAMS_FIELD_NUMBER
public static final int IMPLEMENTATION_ID_FIELD_NUMBER
public static final int DIRECT_RESOURCE_IDS_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER
public static final int WITH_ENTRY_TIMEOUT_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasPreamble()
.p4.config.Preamble preamble = 1;hasPreamble in interface TableOrBuilderpublic Preamble getPreamble()
.p4.config.Preamble preamble = 1;getPreamble in interface TableOrBuilderpublic PreambleOrBuilder getPreambleOrBuilder()
.p4.config.Preamble preamble = 1;getPreambleOrBuilder in interface TableOrBuilderpublic List<MatchField> getMatchFieldsList()
repeated .p4.config.MatchField match_fields = 2;getMatchFieldsList in interface TableOrBuilderpublic List<? extends MatchFieldOrBuilder> getMatchFieldsOrBuilderList()
repeated .p4.config.MatchField match_fields = 2;getMatchFieldsOrBuilderList in interface TableOrBuilderpublic int getMatchFieldsCount()
repeated .p4.config.MatchField match_fields = 2;getMatchFieldsCount in interface TableOrBuilderpublic MatchField getMatchFields(int index)
repeated .p4.config.MatchField match_fields = 2;getMatchFields in interface TableOrBuilderpublic MatchFieldOrBuilder getMatchFieldsOrBuilder(int index)
repeated .p4.config.MatchField match_fields = 2;getMatchFieldsOrBuilder in interface TableOrBuilderpublic 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 TableOrBuilderpublic 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 TableOrBuilderpublic 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 TableOrBuilderpublic 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 TableOrBuilderpublic 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 TableOrBuilderpublic 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 TableOrBuilderpublic 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 TableOrBuilderpublic 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 TableOrBuilderpublic 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 TableOrBuilderpublic 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 TableOrBuilderpublic 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 TableOrBuilderpublic long getSize()
max number of entries in table
int64 size = 8;getSize in interface TableOrBuilderpublic boolean getWithEntryTimeout()
entry ageing is enabled for table
bool with_entry_timeout = 9;getWithEntryTimeout in interface TableOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Table parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Table parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Table parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Table parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Table parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Table parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Table parseFrom(InputStream input) throws IOException
IOExceptionpublic static Table parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Table parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Table parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Table parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Table parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Table.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Table.Builder newBuilder()
public static Table.Builder newBuilder(Table prototype)
public Table.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Table.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Table getDefaultInstance()
public static com.google.protobuf.Parser<Table> parser()
public com.google.protobuf.Parser<Table> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Table getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 OpenDaylight. All rights reserved.