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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public P4Data.DataCase getDataCase()
getDataCase
in interface P4DataOrBuilder
public com.google.protobuf.ByteString getBitstring()
for bit<W>, int<W>
bytes bitstring = 1;
getBitstring
in interface P4DataOrBuilder
public boolean hasVarbit()
for varbit<W>
.p4.v1.P4Varbit varbit = 2;
hasVarbit
in interface P4DataOrBuilder
public P4Varbit getVarbit()
for varbit<W>
.p4.v1.P4Varbit varbit = 2;
getVarbit
in interface P4DataOrBuilder
public P4VarbitOrBuilder getVarbitOrBuilder()
for varbit<W>
.p4.v1.P4Varbit varbit = 2;
getVarbitOrBuilder
in interface P4DataOrBuilder
public boolean getBool()
bool bool = 3;
getBool
in interface P4DataOrBuilder
public boolean hasTuple()
.p4.v1.P4StructLike tuple = 4;
hasTuple
in interface P4DataOrBuilder
public P4StructLike getTuple()
.p4.v1.P4StructLike tuple = 4;
getTuple
in interface P4DataOrBuilder
public P4StructLikeOrBuilder getTupleOrBuilder()
.p4.v1.P4StructLike tuple = 4;
getTupleOrBuilder
in interface P4DataOrBuilder
public boolean hasStruct()
.p4.v1.P4StructLike struct = 5;
hasStruct
in interface P4DataOrBuilder
public P4StructLike getStruct()
.p4.v1.P4StructLike struct = 5;
getStruct
in interface P4DataOrBuilder
public P4StructLikeOrBuilder getStructOrBuilder()
.p4.v1.P4StructLike struct = 5;
getStructOrBuilder
in interface P4DataOrBuilder
public boolean hasHeader()
.p4.v1.P4Header header = 6;
hasHeader
in interface P4DataOrBuilder
public P4Header getHeader()
.p4.v1.P4Header header = 6;
getHeader
in interface P4DataOrBuilder
public P4HeaderOrBuilder getHeaderOrBuilder()
.p4.v1.P4Header header = 6;
getHeaderOrBuilder
in interface P4DataOrBuilder
public boolean hasHeaderUnion()
.p4.v1.P4HeaderUnion header_union = 7;
hasHeaderUnion
in interface P4DataOrBuilder
public P4HeaderUnion getHeaderUnion()
.p4.v1.P4HeaderUnion header_union = 7;
getHeaderUnion
in interface P4DataOrBuilder
public P4HeaderUnionOrBuilder getHeaderUnionOrBuilder()
.p4.v1.P4HeaderUnion header_union = 7;
getHeaderUnionOrBuilder
in interface P4DataOrBuilder
public boolean hasHeaderStack()
.p4.v1.P4HeaderStack header_stack = 8;
hasHeaderStack
in interface P4DataOrBuilder
public P4HeaderStack getHeaderStack()
.p4.v1.P4HeaderStack header_stack = 8;
getHeaderStack
in interface P4DataOrBuilder
public P4HeaderStackOrBuilder getHeaderStackOrBuilder()
.p4.v1.P4HeaderStack header_stack = 8;
getHeaderStackOrBuilder
in interface P4DataOrBuilder
public boolean hasHeaderUnionStack()
.p4.v1.P4HeaderUnionStack header_union_stack = 9;
hasHeaderUnionStack
in interface P4DataOrBuilder
public P4HeaderUnionStack getHeaderUnionStack()
.p4.v1.P4HeaderUnionStack header_union_stack = 9;
getHeaderUnionStack
in interface P4DataOrBuilder
public P4HeaderUnionStackOrBuilder getHeaderUnionStackOrBuilder()
.p4.v1.P4HeaderUnionStack header_union_stack = 9;
getHeaderUnionStackOrBuilder
in interface P4DataOrBuilder
public String getEnum()
can be used for all enums, serializable or not
string enum = 10;
getEnum
in interface P4DataOrBuilder
public com.google.protobuf.ByteString getEnumBytes()
can be used for all enums, serializable or not
string enum = 10;
getEnumBytes
in interface P4DataOrBuilder
public String getError()
string error = 11;
getError
in interface P4DataOrBuilder
public com.google.protobuf.ByteString getErrorBytes()
string error = 11;
getErrorBytes
in interface P4DataOrBuilder
public com.google.protobuf.ByteString getEnumValue()
serializable enums only
bytes enum_value = 12;
getEnumValue
in interface P4DataOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static P4Data parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static P4Data parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static P4Data parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static P4Data parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static P4Data parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static P4Data parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static P4Data parseFrom(InputStream input) throws IOException
IOException
public static P4Data parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static P4Data parseDelimitedFrom(InputStream input) throws IOException
IOException
public static P4Data parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static P4Data parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static P4Data parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public P4Data.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static P4Data.Builder newBuilder()
public static P4Data.Builder newBuilder(P4Data prototype)
public P4Data.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected P4Data.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static P4Data getDefaultInstance()
public static com.google.protobuf.Parser<P4Data> parser()
public com.google.protobuf.Parser<P4Data> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public P4Data getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2018 OpenDaylight. All rights reserved.