public static final class FieldMatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FieldMatch.Builder> implements FieldMatchOrBuilder
field_match_type ::= exact | ternary | lpm | range | validProtobuf type
p4.FieldMatch
Modifier and Type | Method and Description |
---|---|
FieldMatch.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FieldMatch |
build() |
FieldMatch |
buildPartial() |
FieldMatch.Builder |
clear() |
FieldMatch.Builder |
clearExact()
.p4.FieldMatch.Exact exact = 2; |
FieldMatch.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FieldMatch.Builder |
clearFieldId()
uint32 field_id = 1; |
FieldMatch.Builder |
clearFieldMatchType() |
FieldMatch.Builder |
clearLpm()
.p4.FieldMatch.LPM lpm = 4; |
FieldMatch.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FieldMatch.Builder |
clearRange()
.p4.FieldMatch.Range range = 6; |
FieldMatch.Builder |
clearTernary()
.p4.FieldMatch.Ternary ternary = 3; |
FieldMatch.Builder |
clearValid()
.p4.FieldMatch.Valid valid = 7; |
FieldMatch.Builder |
clone() |
FieldMatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
FieldMatch.Exact |
getExact()
.p4.FieldMatch.Exact exact = 2; |
FieldMatch.Exact.Builder |
getExactBuilder()
.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.LPM.Builder |
getLpmBuilder()
.p4.FieldMatch.LPM lpm = 4; |
FieldMatch.LPMOrBuilder |
getLpmOrBuilder()
.p4.FieldMatch.LPM lpm = 4; |
FieldMatch.Range |
getRange()
.p4.FieldMatch.Range range = 6; |
FieldMatch.Range.Builder |
getRangeBuilder()
.p4.FieldMatch.Range range = 6; |
FieldMatch.RangeOrBuilder |
getRangeOrBuilder()
.p4.FieldMatch.Range range = 6; |
FieldMatch.Ternary |
getTernary()
.p4.FieldMatch.Ternary ternary = 3; |
FieldMatch.Ternary.Builder |
getTernaryBuilder()
.p4.FieldMatch.Ternary ternary = 3; |
FieldMatch.TernaryOrBuilder |
getTernaryOrBuilder()
.p4.FieldMatch.Ternary ternary = 3; |
FieldMatch.Valid |
getValid()
.p4.FieldMatch.Valid valid = 7; |
FieldMatch.Valid.Builder |
getValidBuilder()
.p4.FieldMatch.Valid valid = 7; |
FieldMatch.ValidOrBuilder |
getValidOrBuilder()
.p4.FieldMatch.Valid valid = 7; |
boolean |
hasExact()
.p4.FieldMatch.Exact exact = 2; |
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() |
FieldMatch.Builder |
mergeExact(FieldMatch.Exact value)
.p4.FieldMatch.Exact exact = 2; |
FieldMatch.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FieldMatch.Builder |
mergeFrom(FieldMatch other) |
FieldMatch.Builder |
mergeFrom(com.google.protobuf.Message other) |
FieldMatch.Builder |
mergeLpm(FieldMatch.LPM value)
.p4.FieldMatch.LPM lpm = 4; |
FieldMatch.Builder |
mergeRange(FieldMatch.Range value)
.p4.FieldMatch.Range range = 6; |
FieldMatch.Builder |
mergeTernary(FieldMatch.Ternary value)
.p4.FieldMatch.Ternary ternary = 3; |
FieldMatch.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FieldMatch.Builder |
mergeValid(FieldMatch.Valid value)
.p4.FieldMatch.Valid valid = 7; |
FieldMatch.Builder |
setExact(FieldMatch.Exact.Builder builderForValue)
.p4.FieldMatch.Exact exact = 2; |
FieldMatch.Builder |
setExact(FieldMatch.Exact value)
.p4.FieldMatch.Exact exact = 2; |
FieldMatch.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FieldMatch.Builder |
setFieldId(int value)
uint32 field_id = 1; |
FieldMatch.Builder |
setLpm(FieldMatch.LPM.Builder builderForValue)
.p4.FieldMatch.LPM lpm = 4; |
FieldMatch.Builder |
setLpm(FieldMatch.LPM value)
.p4.FieldMatch.LPM lpm = 4; |
FieldMatch.Builder |
setRange(FieldMatch.Range.Builder builderForValue)
.p4.FieldMatch.Range range = 6; |
FieldMatch.Builder |
setRange(FieldMatch.Range value)
.p4.FieldMatch.Range range = 6; |
FieldMatch.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FieldMatch.Builder |
setTernary(FieldMatch.Ternary.Builder builderForValue)
.p4.FieldMatch.Ternary ternary = 3; |
FieldMatch.Builder |
setTernary(FieldMatch.Ternary value)
.p4.FieldMatch.Ternary ternary = 3; |
FieldMatch.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FieldMatch.Builder |
setValid(FieldMatch.Valid.Builder builderForValue)
.p4.FieldMatch.Valid valid = 7; |
FieldMatch.Builder |
setValid(FieldMatch.Valid value)
.p4.FieldMatch.Valid valid = 7; |
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<FieldMatch.Builder>
public FieldMatch.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<FieldMatch.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<FieldMatch.Builder>
public FieldMatch getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FieldMatch build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FieldMatch buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FieldMatch.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<FieldMatch.Builder>
public FieldMatch.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<FieldMatch.Builder>
public FieldMatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<FieldMatch.Builder>
public FieldMatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<FieldMatch.Builder>
public FieldMatch.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<FieldMatch.Builder>
public FieldMatch.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<FieldMatch.Builder>
public FieldMatch.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FieldMatch.Builder>
public FieldMatch.Builder mergeFrom(FieldMatch other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<FieldMatch.Builder>
public FieldMatch.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<FieldMatch.Builder>
IOException
public FieldMatch.FieldMatchTypeCase getFieldMatchTypeCase()
getFieldMatchTypeCase
in interface FieldMatchOrBuilder
public FieldMatch.Builder clearFieldMatchType()
public int getFieldId()
uint32 field_id = 1;
getFieldId
in interface FieldMatchOrBuilder
public FieldMatch.Builder setFieldId(int value)
uint32 field_id = 1;
public FieldMatch.Builder clearFieldId()
uint32 field_id = 1;
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.Builder setExact(FieldMatch.Exact value)
.p4.FieldMatch.Exact exact = 2;
public FieldMatch.Builder setExact(FieldMatch.Exact.Builder builderForValue)
.p4.FieldMatch.Exact exact = 2;
public FieldMatch.Builder mergeExact(FieldMatch.Exact value)
.p4.FieldMatch.Exact exact = 2;
public FieldMatch.Builder clearExact()
.p4.FieldMatch.Exact exact = 2;
public FieldMatch.Exact.Builder getExactBuilder()
.p4.FieldMatch.Exact exact = 2;
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.Builder setTernary(FieldMatch.Ternary value)
.p4.FieldMatch.Ternary ternary = 3;
public FieldMatch.Builder setTernary(FieldMatch.Ternary.Builder builderForValue)
.p4.FieldMatch.Ternary ternary = 3;
public FieldMatch.Builder mergeTernary(FieldMatch.Ternary value)
.p4.FieldMatch.Ternary ternary = 3;
public FieldMatch.Builder clearTernary()
.p4.FieldMatch.Ternary ternary = 3;
public FieldMatch.Ternary.Builder getTernaryBuilder()
.p4.FieldMatch.Ternary ternary = 3;
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.Builder setLpm(FieldMatch.LPM value)
.p4.FieldMatch.LPM lpm = 4;
public FieldMatch.Builder setLpm(FieldMatch.LPM.Builder builderForValue)
.p4.FieldMatch.LPM lpm = 4;
public FieldMatch.Builder mergeLpm(FieldMatch.LPM value)
.p4.FieldMatch.LPM lpm = 4;
public FieldMatch.Builder clearLpm()
.p4.FieldMatch.LPM lpm = 4;
public FieldMatch.LPM.Builder getLpmBuilder()
.p4.FieldMatch.LPM lpm = 4;
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.Builder setRange(FieldMatch.Range value)
.p4.FieldMatch.Range range = 6;
public FieldMatch.Builder setRange(FieldMatch.Range.Builder builderForValue)
.p4.FieldMatch.Range range = 6;
public FieldMatch.Builder mergeRange(FieldMatch.Range value)
.p4.FieldMatch.Range range = 6;
public FieldMatch.Builder clearRange()
.p4.FieldMatch.Range range = 6;
public FieldMatch.Range.Builder getRangeBuilder()
.p4.FieldMatch.Range range = 6;
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.Builder setValid(FieldMatch.Valid value)
.p4.FieldMatch.Valid valid = 7;
public FieldMatch.Builder setValid(FieldMatch.Valid.Builder builderForValue)
.p4.FieldMatch.Valid valid = 7;
public FieldMatch.Builder mergeValid(FieldMatch.Valid value)
.p4.FieldMatch.Valid valid = 7;
public FieldMatch.Builder clearValid()
.p4.FieldMatch.Valid valid = 7;
public FieldMatch.Valid.Builder getValidBuilder()
.p4.FieldMatch.Valid valid = 7;
public FieldMatch.ValidOrBuilder getValidOrBuilder()
.p4.FieldMatch.Valid valid = 7;
getValidOrBuilder
in interface FieldMatchOrBuilder
public final FieldMatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FieldMatch.Builder>
public final FieldMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FieldMatch.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.