public static final class PacketOut.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PacketOut.Builder> implements PacketOutOrBuilder
Packet sent from the controller to the switch.Protobuf type
p4.PacketOut
Modifier and Type | Method and Description |
---|---|
PacketOut.Builder |
addAllMetadata(Iterable<? extends PacketMetadata> values)
This will be based on P4 header annotated as
@controller_header("packet_out").
|
PacketOut.Builder |
addMetadata(int index,
PacketMetadata.Builder builderForValue)
This will be based on P4 header annotated as
@controller_header("packet_out").
|
PacketOut.Builder |
addMetadata(int index,
PacketMetadata value)
This will be based on P4 header annotated as
@controller_header("packet_out").
|
PacketOut.Builder |
addMetadata(PacketMetadata.Builder builderForValue)
This will be based on P4 header annotated as
@controller_header("packet_out").
|
PacketOut.Builder |
addMetadata(PacketMetadata value)
This will be based on P4 header annotated as
@controller_header("packet_out").
|
PacketMetadata.Builder |
addMetadataBuilder()
This will be based on P4 header annotated as
@controller_header("packet_out").
|
PacketMetadata.Builder |
addMetadataBuilder(int index)
This will be based on P4 header annotated as
@controller_header("packet_out").
|
PacketOut.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PacketOut |
build() |
PacketOut |
buildPartial() |
PacketOut.Builder |
clear() |
PacketOut.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PacketOut.Builder |
clearMetadata()
This will be based on P4 header annotated as
@controller_header("packet_out").
|
PacketOut.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PacketOut.Builder |
clearPayload()
bytes payload = 1; |
PacketOut.Builder |
clone() |
PacketOut |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
PacketMetadata |
getMetadata(int index)
This will be based on P4 header annotated as
@controller_header("packet_out").
|
PacketMetadata.Builder |
getMetadataBuilder(int index)
This will be based on P4 header annotated as
@controller_header("packet_out").
|
List<PacketMetadata.Builder> |
getMetadataBuilderList()
This will be based on P4 header annotated as
@controller_header("packet_out").
|
int |
getMetadataCount()
This will be based on P4 header annotated as
@controller_header("packet_out").
|
List<PacketMetadata> |
getMetadataList()
This will be based on P4 header annotated as
@controller_header("packet_out").
|
PacketMetadataOrBuilder |
getMetadataOrBuilder(int index)
This will be based on P4 header annotated as
@controller_header("packet_out").
|
List<? extends PacketMetadataOrBuilder> |
getMetadataOrBuilderList()
This will be based on P4 header annotated as
@controller_header("packet_out").
|
com.google.protobuf.ByteString |
getPayload()
bytes payload = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PacketOut.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PacketOut.Builder |
mergeFrom(com.google.protobuf.Message other) |
PacketOut.Builder |
mergeFrom(PacketOut other) |
PacketOut.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PacketOut.Builder |
removeMetadata(int index)
This will be based on P4 header annotated as
@controller_header("packet_out").
|
PacketOut.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PacketOut.Builder |
setMetadata(int index,
PacketMetadata.Builder builderForValue)
This will be based on P4 header annotated as
@controller_header("packet_out").
|
PacketOut.Builder |
setMetadata(int index,
PacketMetadata value)
This will be based on P4 header annotated as
@controller_header("packet_out").
|
PacketOut.Builder |
setPayload(com.google.protobuf.ByteString value)
bytes payload = 1; |
PacketOut.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PacketOut.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<PacketOut.Builder>
public PacketOut.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<PacketOut.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<PacketOut.Builder>
public PacketOut getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public PacketOut build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public PacketOut buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public PacketOut.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<PacketOut.Builder>
public PacketOut.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<PacketOut.Builder>
public PacketOut.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<PacketOut.Builder>
public PacketOut.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<PacketOut.Builder>
public PacketOut.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<PacketOut.Builder>
public PacketOut.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<PacketOut.Builder>
public PacketOut.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PacketOut.Builder>
public PacketOut.Builder mergeFrom(PacketOut other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<PacketOut.Builder>
public PacketOut.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<PacketOut.Builder>
IOException
public com.google.protobuf.ByteString getPayload()
bytes payload = 1;
getPayload
in interface PacketOutOrBuilder
public PacketOut.Builder setPayload(com.google.protobuf.ByteString value)
bytes payload = 1;
public PacketOut.Builder clearPayload()
bytes payload = 1;
public List<PacketMetadata> getMetadataList()
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
getMetadataList
in interface PacketOutOrBuilder
public int getMetadataCount()
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
getMetadataCount
in interface PacketOutOrBuilder
public PacketMetadata getMetadata(int index)
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
getMetadata
in interface PacketOutOrBuilder
public PacketOut.Builder setMetadata(int index, PacketMetadata value)
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
public PacketOut.Builder setMetadata(int index, PacketMetadata.Builder builderForValue)
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
public PacketOut.Builder addMetadata(PacketMetadata value)
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
public PacketOut.Builder addMetadata(int index, PacketMetadata value)
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
public PacketOut.Builder addMetadata(PacketMetadata.Builder builderForValue)
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
public PacketOut.Builder addMetadata(int index, PacketMetadata.Builder builderForValue)
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
public PacketOut.Builder addAllMetadata(Iterable<? extends PacketMetadata> values)
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
public PacketOut.Builder clearMetadata()
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
public PacketOut.Builder removeMetadata(int index)
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
public PacketMetadata.Builder getMetadataBuilder(int index)
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
public PacketMetadataOrBuilder getMetadataOrBuilder(int index)
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
getMetadataOrBuilder
in interface PacketOutOrBuilder
public List<? extends PacketMetadataOrBuilder> getMetadataOrBuilderList()
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
getMetadataOrBuilderList
in interface PacketOutOrBuilder
public PacketMetadata.Builder addMetadataBuilder()
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
public PacketMetadata.Builder addMetadataBuilder(int index)
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
public List<PacketMetadata.Builder> getMetadataBuilderList()
This will be based on P4 header annotated as @controller_header("packet_out"). At most one P4 header can have this annotation.
repeated .p4.PacketMetadata metadata = 2;
public final PacketOut.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PacketOut.Builder>
public final PacketOut.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PacketOut.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.