public final class Extern extends com.google.protobuf.GeneratedMessageV3 implements ExternOrBuilder
used to group all extern instances of the same type in one messageProtobuf type
p4.config.Extern
Modifier and Type | Class and Description |
---|---|
static class |
Extern.Builder
used to group all extern instances of the same type in one message
|
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 |
EXTERN_TYPE_ID_FIELD_NUMBER |
static int |
EXTERN_TYPE_NAME_FIELD_NUMBER |
static int |
INSTANCES_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Extern |
getDefaultInstance() |
Extern |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getExternTypeId()
the extern_type_id is assigned during compilation.
|
String |
getExternTypeName()
string extern_type_name = 2; |
com.google.protobuf.ByteString |
getExternTypeNameBytes()
string extern_type_name = 2; |
ExternInstance |
getInstances(int index)
repeated .p4.config.ExternInstance instances = 3; |
int |
getInstancesCount()
repeated .p4.config.ExternInstance instances = 3; |
List<ExternInstance> |
getInstancesList()
repeated .p4.config.ExternInstance instances = 3; |
ExternInstanceOrBuilder |
getInstancesOrBuilder(int index)
repeated .p4.config.ExternInstance instances = 3; |
List<? extends ExternInstanceOrBuilder> |
getInstancesOrBuilderList()
repeated .p4.config.ExternInstance instances = 3; |
com.google.protobuf.Parser<Extern> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Extern.Builder |
newBuilder() |
static Extern.Builder |
newBuilder(Extern prototype) |
Extern.Builder |
newBuilderForType() |
protected Extern.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Extern |
parseDelimitedFrom(InputStream input) |
static Extern |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extern |
parseFrom(byte[] data) |
static Extern |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extern |
parseFrom(ByteBuffer data) |
static Extern |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extern |
parseFrom(com.google.protobuf.ByteString data) |
static Extern |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extern |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Extern |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extern |
parseFrom(InputStream input) |
static Extern |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Extern> |
parser() |
Extern.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 EXTERN_TYPE_ID_FIELD_NUMBER
public static final int EXTERN_TYPE_NAME_FIELD_NUMBER
public static final int INSTANCES_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 int getExternTypeId()
the extern_type_id is assigned during compilation. It is likely that this id will in fact come from a P4 annotation to the extern declaration and that each vendor will receive a prefix to avoid collisions.
uint32 extern_type_id = 1;
getExternTypeId
in interface ExternOrBuilder
public String getExternTypeName()
string extern_type_name = 2;
getExternTypeName
in interface ExternOrBuilder
public com.google.protobuf.ByteString getExternTypeNameBytes()
string extern_type_name = 2;
getExternTypeNameBytes
in interface ExternOrBuilder
public List<ExternInstance> getInstancesList()
repeated .p4.config.ExternInstance instances = 3;
getInstancesList
in interface ExternOrBuilder
public List<? extends ExternInstanceOrBuilder> getInstancesOrBuilderList()
repeated .p4.config.ExternInstance instances = 3;
getInstancesOrBuilderList
in interface ExternOrBuilder
public int getInstancesCount()
repeated .p4.config.ExternInstance instances = 3;
getInstancesCount
in interface ExternOrBuilder
public ExternInstance getInstances(int index)
repeated .p4.config.ExternInstance instances = 3;
getInstances
in interface ExternOrBuilder
public ExternInstanceOrBuilder getInstancesOrBuilder(int index)
repeated .p4.config.ExternInstance instances = 3;
getInstancesOrBuilder
in interface ExternOrBuilder
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 Extern parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Extern parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Extern parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Extern parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Extern parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Extern parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Extern parseFrom(InputStream input) throws IOException
IOException
public static Extern parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Extern parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Extern parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Extern parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Extern parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Extern.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Extern.Builder newBuilder()
public static Extern.Builder newBuilder(Extern prototype)
public Extern.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Extern.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Extern getDefaultInstance()
public static com.google.protobuf.Parser<Extern> parser()
public com.google.protobuf.Parser<Extern> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Extern getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2018 OpenDaylight. All rights reserved.