public final class ValueSetEntry extends com.google.protobuf.GeneratedMessageV3 implements ValueSetEntryOrBuilder
------------------------------------------------------------------------------
For writing and reading matches in a parser value set. A state transition
on an empty value set will never be taken. The number of matches must be at
most the size of the value set as specified by the @size annotation in P4
program.
For Write Requests:
INSERT will write the given matches in the repeated field to the value
set.
MODIFY will replace all matches in the value set with the given matches
in the repeated field.
DELETE should only specify the value_set_id and will delete all matches
in the value set.
For Read Requests:
All matches for all value-set entries if value_set_id = 0
All matches of the value-set if a valid value_set_id is specified
The 'match' field must never be set in the ReadRequest
Protobuf type p4.v1.ValueSetEntry| Modifier and Type | Class and Description |
|---|---|
static class |
ValueSetEntry.Builder
------------------------------------------------------------------------------
For writing and reading matches in a parser value set.
|
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 |
MATCH_FIELD_NUMBER |
static int |
VALUE_SET_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ValueSetEntry |
getDefaultInstance() |
ValueSetEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
FieldMatch |
getMatch(int index)
repeated .p4.v1.FieldMatch match = 2; |
int |
getMatchCount()
repeated .p4.v1.FieldMatch match = 2; |
List<FieldMatch> |
getMatchList()
repeated .p4.v1.FieldMatch match = 2; |
FieldMatchOrBuilder |
getMatchOrBuilder(int index)
repeated .p4.v1.FieldMatch match = 2; |
List<? extends FieldMatchOrBuilder> |
getMatchOrBuilderList()
repeated .p4.v1.FieldMatch match = 2; |
com.google.protobuf.Parser<ValueSetEntry> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getValueSetId()
uint32 value_set_id = 1; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ValueSetEntry.Builder |
newBuilder() |
static ValueSetEntry.Builder |
newBuilder(ValueSetEntry prototype) |
ValueSetEntry.Builder |
newBuilderForType() |
protected ValueSetEntry.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ValueSetEntry |
parseDelimitedFrom(InputStream input) |
static ValueSetEntry |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ValueSetEntry |
parseFrom(byte[] data) |
static ValueSetEntry |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ValueSetEntry |
parseFrom(ByteBuffer data) |
static ValueSetEntry |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ValueSetEntry |
parseFrom(com.google.protobuf.ByteString data) |
static ValueSetEntry |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ValueSetEntry |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ValueSetEntry |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ValueSetEntry |
parseFrom(InputStream input) |
static ValueSetEntry |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ValueSetEntry> |
parser() |
ValueSetEntry.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 VALUE_SET_ID_FIELD_NUMBER
public static final int MATCH_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 int getValueSetId()
uint32 value_set_id = 1;getValueSetId in interface ValueSetEntryOrBuilderpublic List<FieldMatch> getMatchList()
repeated .p4.v1.FieldMatch match = 2;getMatchList in interface ValueSetEntryOrBuilderpublic List<? extends FieldMatchOrBuilder> getMatchOrBuilderList()
repeated .p4.v1.FieldMatch match = 2;getMatchOrBuilderList in interface ValueSetEntryOrBuilderpublic int getMatchCount()
repeated .p4.v1.FieldMatch match = 2;getMatchCount in interface ValueSetEntryOrBuilderpublic FieldMatch getMatch(int index)
repeated .p4.v1.FieldMatch match = 2;getMatch in interface ValueSetEntryOrBuilderpublic FieldMatchOrBuilder getMatchOrBuilder(int index)
repeated .p4.v1.FieldMatch match = 2;getMatchOrBuilder in interface ValueSetEntryOrBuilderpublic 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 ValueSetEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValueSetEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValueSetEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValueSetEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValueSetEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValueSetEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValueSetEntry parseFrom(InputStream input) throws IOException
IOExceptionpublic static ValueSetEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ValueSetEntry parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ValueSetEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ValueSetEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ValueSetEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ValueSetEntry.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ValueSetEntry.Builder newBuilder()
public static ValueSetEntry.Builder newBuilder(ValueSetEntry prototype)
public ValueSetEntry.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ValueSetEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ValueSetEntry getDefaultInstance()
public static com.google.protobuf.Parser<ValueSetEntry> parser()
public com.google.protobuf.Parser<ValueSetEntry> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ValueSetEntry getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 OpenDaylight. All rights reserved.