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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.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 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 ExternOrBuilderpublic String getExternTypeName()
string extern_type_name = 2;getExternTypeName in interface ExternOrBuilderpublic com.google.protobuf.ByteString getExternTypeNameBytes()
string extern_type_name = 2;getExternTypeNameBytes in interface ExternOrBuilderpublic List<ExternInstance> getInstancesList()
repeated .p4.config.ExternInstance instances = 3;getInstancesList in interface ExternOrBuilderpublic List<? extends ExternInstanceOrBuilder> getInstancesOrBuilderList()
repeated .p4.config.ExternInstance instances = 3;getInstancesOrBuilderList in interface ExternOrBuilderpublic int getInstancesCount()
repeated .p4.config.ExternInstance instances = 3;getInstancesCount in interface ExternOrBuilderpublic ExternInstance getInstances(int index)
repeated .p4.config.ExternInstance instances = 3;getInstances in interface ExternOrBuilderpublic ExternInstanceOrBuilder getInstancesOrBuilder(int index)
repeated .p4.config.ExternInstance instances = 3;getInstancesOrBuilder in interface ExternOrBuilderpublic 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 Extern parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extern parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extern parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extern parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extern parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extern parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extern parseFrom(InputStream input) throws IOException
IOExceptionpublic static Extern parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Extern parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Extern parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Extern parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Extern parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Extern.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Extern.Builder newBuilder()
public static Extern.Builder newBuilder(Extern prototype)
public Extern.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Extern.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Extern getDefaultInstance()
public static com.google.protobuf.Parser<Extern> parser()
public com.google.protobuf.Parser<Extern> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Extern getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 OpenDaylight. All rights reserved.