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, 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<MatchField.Builder>
public MatchField.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<MatchField.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<MatchField.Builder>
public MatchField getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public MatchField build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public MatchField buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public MatchField.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<MatchField.Builder>
public MatchField.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<MatchField.Builder>
public MatchField.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MatchField.Builder>
IOException
public int getId()
uint32 id = 1;
getId
in interface MatchFieldOrBuilder
public MatchField.Builder setId(int value)
uint32 id = 1;
public MatchField.Builder clearId()
uint32 id = 1;
public String getName()
string name = 2;
getName
in interface MatchFieldOrBuilder
public com.google.protobuf.ByteString getNameBytes()
string name = 2;
getNameBytes
in interface MatchFieldOrBuilder
public 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 MatchFieldOrBuilder
public int getAnnotationsCount()
repeated string annotations = 3;
getAnnotationsCount
in interface MatchFieldOrBuilder
public String getAnnotations(int index)
repeated string annotations = 3;
getAnnotations
in interface MatchFieldOrBuilder
public com.google.protobuf.ByteString getAnnotationsBytes(int index)
repeated string annotations = 3;
getAnnotationsBytes
in interface MatchFieldOrBuilder
public 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 MatchFieldOrBuilder
public 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 MatchFieldOrBuilder
public 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 MatchFieldOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MatchField.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.