public static final class MatchField.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MatchField.Builder> implements MatchFieldOrBuilder
TODO(antonin): define inside the Table message?Protobuf type
p4.config.MatchField| Modifier and Type | Method and Description |
|---|---|
MatchField.Builder |
addAllAnnotations(Iterable<String> values)
repeated string annotations = 3; |
MatchField.Builder |
addAnnotations(String value)
repeated string annotations = 3; |
MatchField.Builder |
addAnnotationsBytes(com.google.protobuf.ByteString value)
repeated string annotations = 3; |
MatchField.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MatchField |
build() |
MatchField |
buildPartial() |
MatchField.Builder |
clear() |
MatchField.Builder |
clearAnnotations()
repeated string annotations = 3; |
MatchField.Builder |
clearBitwidth()
int32 bitwidth = 4; |
MatchField.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MatchField.Builder |
clearId()
uint32 id = 1; |
MatchField.Builder |
clearMatchType()
.p4.config.MatchField.MatchType match_type = 5; |
MatchField.Builder |
clearName()
string name = 2; |
MatchField.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MatchField.Builder |
clone() |
String |
getAnnotations(int index)
repeated string annotations = 3; |
com.google.protobuf.ByteString |
getAnnotationsBytes(int index)
repeated string annotations = 3; |
int |
getAnnotationsCount()
repeated string annotations = 3; |
com.google.protobuf.ProtocolStringList |
getAnnotationsList()
repeated string annotations = 3; |
int |
getBitwidth()
int32 bitwidth = 4; |
MatchField |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getId()
uint32 id = 1; |
MatchField.MatchType |
getMatchType()
.p4.config.MatchField.MatchType match_type = 5; |
int |
getMatchTypeValue()
.p4.config.MatchField.MatchType match_type = 5; |
String |
getName()
string name = 2; |
com.google.protobuf.ByteString |
getNameBytes()
string name = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MatchField.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MatchField.Builder |
mergeFrom(MatchField other) |
MatchField.Builder |
mergeFrom(com.google.protobuf.Message other) |
MatchField.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MatchField.Builder |
setAnnotations(int index,
String value)
repeated string annotations = 3; |
MatchField.Builder |
setBitwidth(int value)
int32 bitwidth = 4; |
MatchField.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MatchField.Builder |
setId(int value)
uint32 id = 1; |
MatchField.Builder |
setMatchType(MatchField.MatchType value)
.p4.config.MatchField.MatchType match_type = 5; |
MatchField.Builder |
setMatchTypeValue(int value)
.p4.config.MatchField.MatchType match_type = 5; |
MatchField.Builder |
setName(String value)
string name = 2; |
MatchField.Builder |
setNameBytes(com.google.protobuf.ByteString value)
string name = 2; |
MatchField.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MatchField.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MatchField.Builder>public MatchField.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MatchField.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MatchField.Builder>public MatchField getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MatchField build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MatchField buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MatchField.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MatchField.Builder>public MatchField.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MatchField.Builder>public MatchField.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MatchField.Builder>public MatchField.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MatchField.Builder>public MatchField.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MatchField.Builder>public MatchField.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MatchField.Builder>public MatchField.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MatchField.Builder>public MatchField.Builder mergeFrom(MatchField other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MatchField.Builder>public MatchField.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MatchField.Builder>IOExceptionpublic int getId()
uint32 id = 1;getId in interface MatchFieldOrBuilderpublic MatchField.Builder setId(int value)
uint32 id = 1;public MatchField.Builder clearId()
uint32 id = 1;public String getName()
string name = 2;getName in interface MatchFieldOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
string name = 2;getNameBytes in interface MatchFieldOrBuilderpublic MatchField.Builder setName(String value)
string name = 2;public MatchField.Builder clearName()
string name = 2;public MatchField.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 2;public com.google.protobuf.ProtocolStringList getAnnotationsList()
repeated string annotations = 3;getAnnotationsList in interface MatchFieldOrBuilderpublic int getAnnotationsCount()
repeated string annotations = 3;getAnnotationsCount in interface MatchFieldOrBuilderpublic String getAnnotations(int index)
repeated string annotations = 3;getAnnotations in interface MatchFieldOrBuilderpublic com.google.protobuf.ByteString getAnnotationsBytes(int index)
repeated string annotations = 3;getAnnotationsBytes in interface MatchFieldOrBuilderpublic MatchField.Builder setAnnotations(int index, String value)
repeated string annotations = 3;public MatchField.Builder addAnnotations(String value)
repeated string annotations = 3;public MatchField.Builder addAllAnnotations(Iterable<String> values)
repeated string annotations = 3;public MatchField.Builder clearAnnotations()
repeated string annotations = 3;public MatchField.Builder addAnnotationsBytes(com.google.protobuf.ByteString value)
repeated string annotations = 3;public int getBitwidth()
int32 bitwidth = 4;getBitwidth in interface MatchFieldOrBuilderpublic MatchField.Builder setBitwidth(int value)
int32 bitwidth = 4;public MatchField.Builder clearBitwidth()
int32 bitwidth = 4;public int getMatchTypeValue()
.p4.config.MatchField.MatchType match_type = 5;getMatchTypeValue in interface MatchFieldOrBuilderpublic MatchField.Builder setMatchTypeValue(int value)
.p4.config.MatchField.MatchType match_type = 5;public MatchField.MatchType getMatchType()
.p4.config.MatchField.MatchType match_type = 5;getMatchType in interface MatchFieldOrBuilderpublic MatchField.Builder setMatchType(MatchField.MatchType value)
.p4.config.MatchField.MatchType match_type = 5;public MatchField.Builder clearMatchType()
.p4.config.MatchField.MatchType match_type = 5;public final MatchField.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MatchField.Builder>public final MatchField.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MatchField.Builder>Copyright © 2019 OpenDaylight. All rights reserved.