public final class FieldMatch extends com.google.protobuf.GeneratedMessageV3 implements FieldMatchOrBuilder
field_match_type ::= exact | ternary | lpm | range | validProtobuf type
p4.FieldMatch
Modifier and Type | Class and Description |
---|---|
static class |
FieldMatch.Builder
field_match_type ::= exact | ternary | lpm | range | valid
|
static class |
FieldMatch.Exact
Matches can be performed on arbitrarily-large inputs; the protobuf type
'bytes' is used to model arbitrarily-large values.
|
static interface |
FieldMatch.ExactOrBuilder |
static class |
FieldMatch.FieldMatchTypeCase |
static class |
FieldMatch.LPM
Protobuf type
p4.FieldMatch.LPM |
static interface |
FieldMatch.LPMOrBuilder |
static class |
FieldMatch.Range
A Range is logically a set that contains all values numerically between
'low' and 'high' inclusively.
|
static interface |
FieldMatch.RangeOrBuilder |
static class |
FieldMatch.Ternary
Protobuf type
p4.FieldMatch.Ternary |
static interface |
FieldMatch.TernaryOrBuilder |
static class |
FieldMatch.Valid
Protobuf type
p4.FieldMatch.Valid |
static interface |
FieldMatch.ValidOrBuilder |
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 |
EXACT_FIELD_NUMBER |
static int |
FIELD_ID_FIELD_NUMBER |
static int |
LPM_FIELD_NUMBER |
static int |
RANGE_FIELD_NUMBER |
static int |
TERNARY_FIELD_NUMBER |
static int |
VALID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static FieldMatch |
getDefaultInstance() |
FieldMatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
FieldMatch.Exact |
getExact()
.p4.FieldMatch.Exact exact = 2; |
FieldMatch.ExactOrBuilder |
getExactOrBuilder()
.p4.FieldMatch.Exact exact = 2; |
int |
getFieldId()
uint32 field_id = 1; |
FieldMatch.FieldMatchTypeCase |
getFieldMatchTypeCase() |
FieldMatch.LPM |
getLpm()
.p4.FieldMatch.LPM lpm = 4; |
FieldMatch.LPMOrBuilder |
getLpmOrBuilder()
.p4.FieldMatch.LPM lpm = 4; |
com.google.protobuf.Parser<FieldMatch> |
getParserForType() |
FieldMatch.Range |
getRange()
.p4.FieldMatch.Range range = 6; |
FieldMatch.RangeOrBuilder |
getRangeOrBuilder()
.p4.FieldMatch.Range range = 6; |
int |
getSerializedSize() |
FieldMatch.Ternary |
getTernary()
.p4.FieldMatch.Ternary ternary = 3; |
FieldMatch.TernaryOrBuilder |
getTernaryOrBuilder()
.p4.FieldMatch.Ternary ternary = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
FieldMatch.Valid |
getValid()
.p4.FieldMatch.Valid valid = 7; |
FieldMatch.ValidOrBuilder |
getValidOrBuilder()
.p4.FieldMatch.Valid valid = 7; |
boolean |
hasExact()
.p4.FieldMatch.Exact exact = 2; |
int |
hashCode() |
boolean |
hasLpm()
.p4.FieldMatch.LPM lpm = 4; |
boolean |
hasRange()
.p4.FieldMatch.Range range = 6; |
boolean |
hasTernary()
.p4.FieldMatch.Ternary ternary = 3; |
boolean |
hasValid()
.p4.FieldMatch.Valid valid = 7; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FieldMatch.Builder |
newBuilder() |
static FieldMatch.Builder |
newBuilder(FieldMatch prototype) |
FieldMatch.Builder |
newBuilderForType() |
protected FieldMatch.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static FieldMatch |
parseDelimitedFrom(InputStream input) |
static FieldMatch |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FieldMatch |
parseFrom(byte[] data) |
static FieldMatch |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FieldMatch |
parseFrom(ByteBuffer data) |
static FieldMatch |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FieldMatch |
parseFrom(com.google.protobuf.ByteString data) |
static FieldMatch |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FieldMatch |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FieldMatch |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FieldMatch |
parseFrom(InputStream input) |
static FieldMatch |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FieldMatch> |
parser() |
FieldMatch.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 FIELD_ID_FIELD_NUMBER
public static final int EXACT_FIELD_NUMBER
public static final int TERNARY_FIELD_NUMBER
public static final int LPM_FIELD_NUMBER
public static final int RANGE_FIELD_NUMBER
public static final int VALID_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 FieldMatch.FieldMatchTypeCase getFieldMatchTypeCase()
getFieldMatchTypeCase
in interface FieldMatchOrBuilder
public int getFieldId()
uint32 field_id = 1;
getFieldId
in interface FieldMatchOrBuilder
public boolean hasExact()
.p4.FieldMatch.Exact exact = 2;
hasExact
in interface FieldMatchOrBuilder
public FieldMatch.Exact getExact()
.p4.FieldMatch.Exact exact = 2;
getExact
in interface FieldMatchOrBuilder
public FieldMatch.ExactOrBuilder getExactOrBuilder()
.p4.FieldMatch.Exact exact = 2;
getExactOrBuilder
in interface FieldMatchOrBuilder
public boolean hasTernary()
.p4.FieldMatch.Ternary ternary = 3;
hasTernary
in interface FieldMatchOrBuilder
public FieldMatch.Ternary getTernary()
.p4.FieldMatch.Ternary ternary = 3;
getTernary
in interface FieldMatchOrBuilder
public FieldMatch.TernaryOrBuilder getTernaryOrBuilder()
.p4.FieldMatch.Ternary ternary = 3;
getTernaryOrBuilder
in interface FieldMatchOrBuilder
public boolean hasLpm()
.p4.FieldMatch.LPM lpm = 4;
hasLpm
in interface FieldMatchOrBuilder
public FieldMatch.LPM getLpm()
.p4.FieldMatch.LPM lpm = 4;
getLpm
in interface FieldMatchOrBuilder
public FieldMatch.LPMOrBuilder getLpmOrBuilder()
.p4.FieldMatch.LPM lpm = 4;
getLpmOrBuilder
in interface FieldMatchOrBuilder
public boolean hasRange()
.p4.FieldMatch.Range range = 6;
hasRange
in interface FieldMatchOrBuilder
public FieldMatch.Range getRange()
.p4.FieldMatch.Range range = 6;
getRange
in interface FieldMatchOrBuilder
public FieldMatch.RangeOrBuilder getRangeOrBuilder()
.p4.FieldMatch.Range range = 6;
getRangeOrBuilder
in interface FieldMatchOrBuilder
public boolean hasValid()
.p4.FieldMatch.Valid valid = 7;
hasValid
in interface FieldMatchOrBuilder
public FieldMatch.Valid getValid()
.p4.FieldMatch.Valid valid = 7;
getValid
in interface FieldMatchOrBuilder
public FieldMatch.ValidOrBuilder getValidOrBuilder()
.p4.FieldMatch.Valid valid = 7;
getValidOrBuilder
in interface FieldMatchOrBuilder
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 FieldMatch parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FieldMatch parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FieldMatch parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FieldMatch parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FieldMatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FieldMatch parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FieldMatch parseFrom(InputStream input) throws IOException
IOException
public static FieldMatch parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FieldMatch parseDelimitedFrom(InputStream input) throws IOException
IOException
public static FieldMatch parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FieldMatch parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static FieldMatch parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public FieldMatch.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static FieldMatch.Builder newBuilder()
public static FieldMatch.Builder newBuilder(FieldMatch prototype)
public FieldMatch.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected FieldMatch.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static FieldMatch getDefaultInstance()
public static com.google.protobuf.Parser<FieldMatch> parser()
public com.google.protobuf.Parser<FieldMatch> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public FieldMatch getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2018 OpenDaylight. All rights reserved.