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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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 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 List<? extends MatchFieldOrBuilder> getMatchFieldsOrBuilderList()
repeated .p4.config.MatchField match_fields = 2;
getMatchFieldsOrBuilderList
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 MatchFieldOrBuilder getMatchFieldsOrBuilder(int index)
repeated .p4.config.MatchField match_fields = 2;
getMatchFieldsOrBuilder
in interface TableOrBuilder
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 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 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 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 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 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 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 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 long getSize()
max number of entries in table
int64 size = 8;
getSize
in interface TableOrBuilder
public boolean getWithEntryTimeout()
entry ageing is enabled for table
bool with_entry_timeout = 9;
getWithEntryTimeout
in interface TableOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Table parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Table parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Table parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Table parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Table parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Table parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Table parseFrom(InputStream input) throws IOException
IOException
public static Table parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Table parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Table parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Table parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Table parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Table.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Table.Builder newBuilder()
public static Table.Builder newBuilder(Table prototype)
public Table.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Table.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Table getDefaultInstance()
public static com.google.protobuf.Parser<Table> parser()
public com.google.protobuf.Parser<Table> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Table getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2018 OpenDaylight. All rights reserved.