public static final class ControllerPacketMetadata.Metadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ControllerPacketMetadata.Metadata.Builder> implements ControllerPacketMetadata.MetadataOrBuilder
p4.config.ControllerPacketMetadata.Metadata
Modifier and Type | Method and Description |
---|---|
ControllerPacketMetadata.Metadata.Builder |
addAllAnnotations(Iterable<String> values)
repeated string annotations = 3; |
ControllerPacketMetadata.Metadata.Builder |
addAnnotations(String value)
repeated string annotations = 3; |
ControllerPacketMetadata.Metadata.Builder |
addAnnotationsBytes(com.google.protobuf.ByteString value)
repeated string annotations = 3; |
ControllerPacketMetadata.Metadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ControllerPacketMetadata.Metadata |
build() |
ControllerPacketMetadata.Metadata |
buildPartial() |
ControllerPacketMetadata.Metadata.Builder |
clear() |
ControllerPacketMetadata.Metadata.Builder |
clearAnnotations()
repeated string annotations = 3; |
ControllerPacketMetadata.Metadata.Builder |
clearBitwidth()
int32 bitwidth = 4; |
ControllerPacketMetadata.Metadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ControllerPacketMetadata.Metadata.Builder |
clearId()
uint32 id = 1; |
ControllerPacketMetadata.Metadata.Builder |
clearName()
This is the name of the header field (not fully-qualified), similar
to e.g.
|
ControllerPacketMetadata.Metadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ControllerPacketMetadata.Metadata.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; |
ControllerPacketMetadata.Metadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getId()
uint32 id = 1; |
String |
getName()
This is the name of the header field (not fully-qualified), similar
to e.g.
|
com.google.protobuf.ByteString |
getNameBytes()
This is the name of the header field (not fully-qualified), similar
to e.g.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ControllerPacketMetadata.Metadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ControllerPacketMetadata.Metadata.Builder |
mergeFrom(ControllerPacketMetadata.Metadata other) |
ControllerPacketMetadata.Metadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
ControllerPacketMetadata.Metadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ControllerPacketMetadata.Metadata.Builder |
setAnnotations(int index,
String value)
repeated string annotations = 3; |
ControllerPacketMetadata.Metadata.Builder |
setBitwidth(int value)
int32 bitwidth = 4; |
ControllerPacketMetadata.Metadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ControllerPacketMetadata.Metadata.Builder |
setId(int value)
uint32 id = 1; |
ControllerPacketMetadata.Metadata.Builder |
setName(String value)
This is the name of the header field (not fully-qualified), similar
to e.g.
|
ControllerPacketMetadata.Metadata.Builder |
setNameBytes(com.google.protobuf.ByteString value)
This is the name of the header field (not fully-qualified), similar
to e.g.
|
ControllerPacketMetadata.Metadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ControllerPacketMetadata.Metadata.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<ControllerPacketMetadata.Metadata.Builder>
public ControllerPacketMetadata.Metadata.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<ControllerPacketMetadata.Metadata.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<ControllerPacketMetadata.Metadata.Builder>
public ControllerPacketMetadata.Metadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ControllerPacketMetadata.Metadata build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ControllerPacketMetadata.Metadata buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ControllerPacketMetadata.Metadata.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<ControllerPacketMetadata.Metadata.Builder>
public ControllerPacketMetadata.Metadata.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<ControllerPacketMetadata.Metadata.Builder>
public ControllerPacketMetadata.Metadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ControllerPacketMetadata.Metadata.Builder>
public ControllerPacketMetadata.Metadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ControllerPacketMetadata.Metadata.Builder>
public ControllerPacketMetadata.Metadata.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<ControllerPacketMetadata.Metadata.Builder>
public ControllerPacketMetadata.Metadata.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<ControllerPacketMetadata.Metadata.Builder>
public ControllerPacketMetadata.Metadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ControllerPacketMetadata.Metadata.Builder>
public ControllerPacketMetadata.Metadata.Builder mergeFrom(ControllerPacketMetadata.Metadata other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ControllerPacketMetadata.Metadata.Builder>
public ControllerPacketMetadata.Metadata.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<ControllerPacketMetadata.Metadata.Builder>
IOException
public int getId()
uint32 id = 1;
getId
in interface ControllerPacketMetadata.MetadataOrBuilder
public ControllerPacketMetadata.Metadata.Builder setId(int value)
uint32 id = 1;
public ControllerPacketMetadata.Metadata.Builder clearId()
uint32 id = 1;
public String getName()
This is the name of the header field (not fully-qualified), similar to e.g. Action.Param.name.
string name = 2;
getName
in interface ControllerPacketMetadata.MetadataOrBuilder
public com.google.protobuf.ByteString getNameBytes()
This is the name of the header field (not fully-qualified), similar to e.g. Action.Param.name.
string name = 2;
getNameBytes
in interface ControllerPacketMetadata.MetadataOrBuilder
public ControllerPacketMetadata.Metadata.Builder setName(String value)
This is the name of the header field (not fully-qualified), similar to e.g. Action.Param.name.
string name = 2;
public ControllerPacketMetadata.Metadata.Builder clearName()
This is the name of the header field (not fully-qualified), similar to e.g. Action.Param.name.
string name = 2;
public ControllerPacketMetadata.Metadata.Builder setNameBytes(com.google.protobuf.ByteString value)
This is the name of the header field (not fully-qualified), similar to e.g. Action.Param.name.
string name = 2;
public com.google.protobuf.ProtocolStringList getAnnotationsList()
repeated string annotations = 3;
getAnnotationsList
in interface ControllerPacketMetadata.MetadataOrBuilder
public int getAnnotationsCount()
repeated string annotations = 3;
getAnnotationsCount
in interface ControllerPacketMetadata.MetadataOrBuilder
public String getAnnotations(int index)
repeated string annotations = 3;
getAnnotations
in interface ControllerPacketMetadata.MetadataOrBuilder
public com.google.protobuf.ByteString getAnnotationsBytes(int index)
repeated string annotations = 3;
getAnnotationsBytes
in interface ControllerPacketMetadata.MetadataOrBuilder
public ControllerPacketMetadata.Metadata.Builder setAnnotations(int index, String value)
repeated string annotations = 3;
public ControllerPacketMetadata.Metadata.Builder addAnnotations(String value)
repeated string annotations = 3;
public ControllerPacketMetadata.Metadata.Builder addAllAnnotations(Iterable<String> values)
repeated string annotations = 3;
public ControllerPacketMetadata.Metadata.Builder clearAnnotations()
repeated string annotations = 3;
public ControllerPacketMetadata.Metadata.Builder addAnnotationsBytes(com.google.protobuf.ByteString value)
repeated string annotations = 3;
public int getBitwidth()
int32 bitwidth = 4;
getBitwidth
in interface ControllerPacketMetadata.MetadataOrBuilder
public ControllerPacketMetadata.Metadata.Builder setBitwidth(int value)
int32 bitwidth = 4;
public ControllerPacketMetadata.Metadata.Builder clearBitwidth()
int32 bitwidth = 4;
public final ControllerPacketMetadata.Metadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ControllerPacketMetadata.Metadata.Builder>
public final ControllerPacketMetadata.Metadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ControllerPacketMetadata.Metadata.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.