public final class P4Data extends com.google.protobuf.GeneratedMessageV3 implements P4DataOrBuilder
p4.v1.P4Data| Modifier and Type | Class and Description | 
|---|---|
static class  | 
P4Data.Builder
Protobuf type  
p4.v1.P4Data | 
static class  | 
P4Data.DataCase  | 
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description | 
|---|---|
static int | 
BITSTRING_FIELD_NUMBER  | 
static int | 
BOOL_FIELD_NUMBER  | 
static int | 
ENUM_FIELD_NUMBER  | 
static int | 
ENUM_VALUE_FIELD_NUMBER  | 
static int | 
ERROR_FIELD_NUMBER  | 
static int | 
HEADER_FIELD_NUMBER  | 
static int | 
HEADER_STACK_FIELD_NUMBER  | 
static int | 
HEADER_UNION_FIELD_NUMBER  | 
static int | 
HEADER_UNION_STACK_FIELD_NUMBER  | 
static int | 
STRUCT_FIELD_NUMBER  | 
static int | 
TUPLE_FIELD_NUMBER  | 
static int | 
VARBIT_FIELD_NUMBER  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
com.google.protobuf.ByteString | 
getBitstring()
 for bit<W>, int<W> 
 | 
boolean | 
getBool()
bool bool = 3; | 
P4Data.DataCase | 
getDataCase()  | 
static P4Data | 
getDefaultInstance()  | 
P4Data | 
getDefaultInstanceForType()  | 
static com.google.protobuf.Descriptors.Descriptor | 
getDescriptor()  | 
String | 
getEnum()
 can be used for all enums, serializable or not 
 | 
com.google.protobuf.ByteString | 
getEnumBytes()
 can be used for all enums, serializable or not 
 | 
com.google.protobuf.ByteString | 
getEnumValue()
 serializable enums only 
 | 
String | 
getError()
string error = 11; | 
com.google.protobuf.ByteString | 
getErrorBytes()
string error = 11; | 
P4Header | 
getHeader()
.p4.v1.P4Header header = 6; | 
P4HeaderOrBuilder | 
getHeaderOrBuilder()
.p4.v1.P4Header header = 6; | 
P4HeaderStack | 
getHeaderStack()
.p4.v1.P4HeaderStack header_stack = 8; | 
P4HeaderStackOrBuilder | 
getHeaderStackOrBuilder()
.p4.v1.P4HeaderStack header_stack = 8; | 
P4HeaderUnion | 
getHeaderUnion()
.p4.v1.P4HeaderUnion header_union = 7; | 
P4HeaderUnionOrBuilder | 
getHeaderUnionOrBuilder()
.p4.v1.P4HeaderUnion header_union = 7; | 
P4HeaderUnionStack | 
getHeaderUnionStack()
.p4.v1.P4HeaderUnionStack header_union_stack = 9; | 
P4HeaderUnionStackOrBuilder | 
getHeaderUnionStackOrBuilder()
.p4.v1.P4HeaderUnionStack header_union_stack = 9; | 
com.google.protobuf.Parser<P4Data> | 
getParserForType()  | 
int | 
getSerializedSize()  | 
P4StructLike | 
getStruct()
.p4.v1.P4StructLike struct = 5; | 
P4StructLikeOrBuilder | 
getStructOrBuilder()
.p4.v1.P4StructLike struct = 5; | 
P4StructLike | 
getTuple()
.p4.v1.P4StructLike tuple = 4; | 
P4StructLikeOrBuilder | 
getTupleOrBuilder()
.p4.v1.P4StructLike tuple = 4; | 
com.google.protobuf.UnknownFieldSet | 
getUnknownFields()  | 
P4Varbit | 
getVarbit()
 for varbit<W> 
 | 
P4VarbitOrBuilder | 
getVarbitOrBuilder()
 for varbit<W> 
 | 
int | 
hashCode()  | 
boolean | 
hasHeader()
.p4.v1.P4Header header = 6; | 
boolean | 
hasHeaderStack()
.p4.v1.P4HeaderStack header_stack = 8; | 
boolean | 
hasHeaderUnion()
.p4.v1.P4HeaderUnion header_union = 7; | 
boolean | 
hasHeaderUnionStack()
.p4.v1.P4HeaderUnionStack header_union_stack = 9; | 
boolean | 
hasStruct()
.p4.v1.P4StructLike struct = 5; | 
boolean | 
hasTuple()
.p4.v1.P4StructLike tuple = 4; | 
boolean | 
hasVarbit()
 for varbit<W> 
 | 
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | 
internalGetFieldAccessorTable()  | 
boolean | 
isInitialized()  | 
static P4Data.Builder | 
newBuilder()  | 
static P4Data.Builder | 
newBuilder(P4Data prototype)  | 
P4Data.Builder | 
newBuilderForType()  | 
protected P4Data.Builder | 
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  | 
static P4Data | 
parseDelimitedFrom(InputStream input)  | 
static P4Data | 
parseDelimitedFrom(InputStream input,
                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static P4Data | 
parseFrom(byte[] data)  | 
static P4Data | 
parseFrom(byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static P4Data | 
parseFrom(ByteBuffer data)  | 
static P4Data | 
parseFrom(ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static P4Data | 
parseFrom(com.google.protobuf.ByteString data)  | 
static P4Data | 
parseFrom(com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static P4Data | 
parseFrom(com.google.protobuf.CodedInputStream input)  | 
static P4Data | 
parseFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static P4Data | 
parseFrom(InputStream input)  | 
static P4Data | 
parseFrom(InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static com.google.protobuf.Parser<P4Data> | 
parser()  | 
P4Data.Builder | 
toBuilder()  | 
void | 
writeTo(com.google.protobuf.CodedOutputStream output)  | 
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int BITSTRING_FIELD_NUMBER
public static final int VARBIT_FIELD_NUMBER
public static final int BOOL_FIELD_NUMBER
public static final int TUPLE_FIELD_NUMBER
public static final int STRUCT_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER
public static final int HEADER_UNION_FIELD_NUMBER
public static final int HEADER_STACK_FIELD_NUMBER
public static final int HEADER_UNION_STACK_FIELD_NUMBER
public static final int ENUM_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int ENUM_VALUE_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public P4Data.DataCase getDataCase()
getDataCase in interface P4DataOrBuilderpublic com.google.protobuf.ByteString getBitstring()
for bit<W>, int<W>
bytes bitstring = 1;getBitstring in interface P4DataOrBuilderpublic boolean hasVarbit()
for varbit<W>
.p4.v1.P4Varbit varbit = 2;hasVarbit in interface P4DataOrBuilderpublic P4Varbit getVarbit()
for varbit<W>
.p4.v1.P4Varbit varbit = 2;getVarbit in interface P4DataOrBuilderpublic P4VarbitOrBuilder getVarbitOrBuilder()
for varbit<W>
.p4.v1.P4Varbit varbit = 2;getVarbitOrBuilder in interface P4DataOrBuilderpublic boolean getBool()
bool bool = 3;getBool in interface P4DataOrBuilderpublic boolean hasTuple()
.p4.v1.P4StructLike tuple = 4;hasTuple in interface P4DataOrBuilderpublic P4StructLike getTuple()
.p4.v1.P4StructLike tuple = 4;getTuple in interface P4DataOrBuilderpublic P4StructLikeOrBuilder getTupleOrBuilder()
.p4.v1.P4StructLike tuple = 4;getTupleOrBuilder in interface P4DataOrBuilderpublic boolean hasStruct()
.p4.v1.P4StructLike struct = 5;hasStruct in interface P4DataOrBuilderpublic P4StructLike getStruct()
.p4.v1.P4StructLike struct = 5;getStruct in interface P4DataOrBuilderpublic P4StructLikeOrBuilder getStructOrBuilder()
.p4.v1.P4StructLike struct = 5;getStructOrBuilder in interface P4DataOrBuilderpublic boolean hasHeader()
.p4.v1.P4Header header = 6;hasHeader in interface P4DataOrBuilderpublic P4Header getHeader()
.p4.v1.P4Header header = 6;getHeader in interface P4DataOrBuilderpublic P4HeaderOrBuilder getHeaderOrBuilder()
.p4.v1.P4Header header = 6;getHeaderOrBuilder in interface P4DataOrBuilderpublic boolean hasHeaderUnion()
.p4.v1.P4HeaderUnion header_union = 7;hasHeaderUnion in interface P4DataOrBuilderpublic P4HeaderUnion getHeaderUnion()
.p4.v1.P4HeaderUnion header_union = 7;getHeaderUnion in interface P4DataOrBuilderpublic P4HeaderUnionOrBuilder getHeaderUnionOrBuilder()
.p4.v1.P4HeaderUnion header_union = 7;getHeaderUnionOrBuilder in interface P4DataOrBuilderpublic boolean hasHeaderStack()
.p4.v1.P4HeaderStack header_stack = 8;hasHeaderStack in interface P4DataOrBuilderpublic P4HeaderStack getHeaderStack()
.p4.v1.P4HeaderStack header_stack = 8;getHeaderStack in interface P4DataOrBuilderpublic P4HeaderStackOrBuilder getHeaderStackOrBuilder()
.p4.v1.P4HeaderStack header_stack = 8;getHeaderStackOrBuilder in interface P4DataOrBuilderpublic boolean hasHeaderUnionStack()
.p4.v1.P4HeaderUnionStack header_union_stack = 9;hasHeaderUnionStack in interface P4DataOrBuilderpublic P4HeaderUnionStack getHeaderUnionStack()
.p4.v1.P4HeaderUnionStack header_union_stack = 9;getHeaderUnionStack in interface P4DataOrBuilderpublic P4HeaderUnionStackOrBuilder getHeaderUnionStackOrBuilder()
.p4.v1.P4HeaderUnionStack header_union_stack = 9;getHeaderUnionStackOrBuilder in interface P4DataOrBuilderpublic String getEnum()
can be used for all enums, serializable or not
string enum = 10;getEnum in interface P4DataOrBuilderpublic com.google.protobuf.ByteString getEnumBytes()
can be used for all enums, serializable or not
string enum = 10;getEnumBytes in interface P4DataOrBuilderpublic String getError()
string error = 11;getError in interface P4DataOrBuilderpublic com.google.protobuf.ByteString getErrorBytes()
string error = 11;getErrorBytes in interface P4DataOrBuilderpublic com.google.protobuf.ByteString getEnumValue()
serializable enums only
bytes enum_value = 12;getEnumValue in interface P4DataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static P4Data parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static P4Data parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static P4Data parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static P4Data parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static P4Data parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static P4Data parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static P4Data parseFrom(InputStream input) throws IOException
IOExceptionpublic static P4Data parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static P4Data parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static P4Data parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static P4Data parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static P4Data parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic P4Data.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static P4Data.Builder newBuilder()
public static P4Data.Builder newBuilder(P4Data prototype)
public P4Data.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected P4Data.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static P4Data getDefaultInstance()
public static com.google.protobuf.Parser<P4Data> parser()
public com.google.protobuf.Parser<P4Data> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public P4Data getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 OpenDaylight. All rights reserved.