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