public final class PkgInfo extends com.google.protobuf.GeneratedMessageV3 implements PkgInfoOrBuilder
Top-level package documentation describing the forwarding pipeline config Can be used to manage multiple P4 packages.Protobuf type
p4.config.v1.PkgInfo| Modifier and Type | Class and Description | 
|---|---|
static class  | 
PkgInfo.Builder
 Top-level package documentation describing the forwarding pipeline config
 Can be used to manage multiple P4 packages. 
 | 
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 | 
ANNOTATIONS_FIELD_NUMBER  | 
static int | 
ARCH_FIELD_NUMBER  | 
static int | 
CONTACT_FIELD_NUMBER  | 
static int | 
DOC_FIELD_NUMBER  | 
static int | 
NAME_FIELD_NUMBER  | 
static int | 
ORGANIZATION_FIELD_NUMBER  | 
static int | 
URL_FIELD_NUMBER  | 
static int | 
VERSION_FIELD_NUMBER  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
String | 
getAnnotations(int index)
 Miscellaneous metadata, free-form; a way to extend PkgInfo 
 | 
com.google.protobuf.ByteString | 
getAnnotationsBytes(int index)
 Miscellaneous metadata, free-form; a way to extend PkgInfo 
 | 
int | 
getAnnotationsCount()
 Miscellaneous metadata, free-form; a way to extend PkgInfo 
 | 
com.google.protobuf.ProtocolStringList | 
getAnnotationsList()
 Miscellaneous metadata, free-form; a way to extend PkgInfo 
 | 
String | 
getArch()
 the target architecture, e.g. 
 | 
com.google.protobuf.ByteString | 
getArchBytes()
 the target architecture, e.g. 
 | 
String | 
getContact()
 contact info for support,e.g. 
 | 
com.google.protobuf.ByteString | 
getContactBytes()
 contact info for support,e.g. 
 | 
static PkgInfo | 
getDefaultInstance()  | 
PkgInfo | 
getDefaultInstanceForType()  | 
static com.google.protobuf.Descriptors.Descriptor | 
getDescriptor()  | 
Documentation | 
getDoc()
 brief and detailed descriptions 
 | 
DocumentationOrBuilder | 
getDocOrBuilder()
 brief and detailed descriptions 
 | 
String | 
getName()
 a definitive name for this configuration, e.g. 
 | 
com.google.protobuf.ByteString | 
getNameBytes()
 a definitive name for this configuration, e.g. 
 | 
String | 
getOrganization()
 organization which produced the configuration, e.g. 
 | 
com.google.protobuf.ByteString | 
getOrganizationBytes()
 organization which produced the configuration, e.g. 
 | 
com.google.protobuf.Parser<PkgInfo> | 
getParserForType()  | 
int | 
getSerializedSize()  | 
com.google.protobuf.UnknownFieldSet | 
getUnknownFields()  | 
String | 
getUrl()
 url for more information, e.g. 
 | 
com.google.protobuf.ByteString | 
getUrlBytes()
 url for more information, e.g. 
 | 
String | 
getVersion()
 configuration version, free-format string 
 | 
com.google.protobuf.ByteString | 
getVersionBytes()
 configuration version, free-format string 
 | 
boolean | 
hasDoc()
 brief and detailed descriptions 
 | 
int | 
hashCode()  | 
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | 
internalGetFieldAccessorTable()  | 
boolean | 
isInitialized()  | 
static PkgInfo.Builder | 
newBuilder()  | 
static PkgInfo.Builder | 
newBuilder(PkgInfo prototype)  | 
PkgInfo.Builder | 
newBuilderForType()  | 
protected PkgInfo.Builder | 
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  | 
static PkgInfo | 
parseDelimitedFrom(InputStream input)  | 
static PkgInfo | 
parseDelimitedFrom(InputStream input,
                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static PkgInfo | 
parseFrom(byte[] data)  | 
static PkgInfo | 
parseFrom(byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static PkgInfo | 
parseFrom(ByteBuffer data)  | 
static PkgInfo | 
parseFrom(ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static PkgInfo | 
parseFrom(com.google.protobuf.ByteString data)  | 
static PkgInfo | 
parseFrom(com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static PkgInfo | 
parseFrom(com.google.protobuf.CodedInputStream input)  | 
static PkgInfo | 
parseFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static PkgInfo | 
parseFrom(InputStream input)  | 
static PkgInfo | 
parseFrom(InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static com.google.protobuf.Parser<PkgInfo> | 
parser()  | 
PkgInfo.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 NAME_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int DOC_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
public static final int ARCH_FIELD_NUMBER
public static final int ORGANIZATION_FIELD_NUMBER
public static final int CONTACT_FIELD_NUMBER
public static final int URL_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 String getName()
a definitive name for this configuration, e.g. switch.p4_v1.0
string name = 1;getName in interface PkgInfoOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
a definitive name for this configuration, e.g. switch.p4_v1.0
string name = 1;getNameBytes in interface PkgInfoOrBuilderpublic String getVersion()
configuration version, free-format string
string version = 2;getVersion in interface PkgInfoOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
configuration version, free-format string
string version = 2;getVersionBytes in interface PkgInfoOrBuilderpublic boolean hasDoc()
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3;hasDoc in interface PkgInfoOrBuilderpublic Documentation getDoc()
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3;getDoc in interface PkgInfoOrBuilderpublic DocumentationOrBuilder getDocOrBuilder()
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3;getDocOrBuilder in interface PkgInfoOrBuilderpublic com.google.protobuf.ProtocolStringList getAnnotationsList()
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;getAnnotationsList in interface PkgInfoOrBuilderpublic int getAnnotationsCount()
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;getAnnotationsCount in interface PkgInfoOrBuilderpublic String getAnnotations(int index)
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;getAnnotations in interface PkgInfoOrBuilderpublic com.google.protobuf.ByteString getAnnotationsBytes(int index)
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;getAnnotationsBytes in interface PkgInfoOrBuilderpublic String getArch()
the target architecture, e.g. "psa"
string arch = 5;getArch in interface PkgInfoOrBuilderpublic com.google.protobuf.ByteString getArchBytes()
the target architecture, e.g. "psa"
string arch = 5;getArchBytes in interface PkgInfoOrBuilderpublic String getOrganization()
organization which produced the configuration, e.g. "p4.org"
string organization = 6;getOrganization in interface PkgInfoOrBuilderpublic com.google.protobuf.ByteString getOrganizationBytes()
organization which produced the configuration, e.g. "p4.org"
string organization = 6;getOrganizationBytes in interface PkgInfoOrBuilderpublic String getContact()
contact info for support,e.g. "tech-support@acme.org"
string contact = 7;getContact in interface PkgInfoOrBuilderpublic com.google.protobuf.ByteString getContactBytes()
contact info for support,e.g. "tech-support@acme.org"
string contact = 7;getContactBytes in interface PkgInfoOrBuilderpublic String getUrl()
url for more information, e.g. "http://support.p4.org/ref/p4/switch.p4_v1.0"
string url = 8;getUrl in interface PkgInfoOrBuilderpublic com.google.protobuf.ByteString getUrlBytes()
url for more information, e.g. "http://support.p4.org/ref/p4/switch.p4_v1.0"
string url = 8;getUrlBytes in interface PkgInfoOrBuilderpublic 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 PkgInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PkgInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PkgInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PkgInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PkgInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PkgInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PkgInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static PkgInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PkgInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PkgInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PkgInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PkgInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PkgInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PkgInfo.Builder newBuilder()
public static PkgInfo.Builder newBuilder(PkgInfo prototype)
public PkgInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PkgInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PkgInfo getDefaultInstance()
public static com.google.protobuf.Parser<PkgInfo> parser()
public com.google.protobuf.Parser<PkgInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PkgInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 OpenDaylight. All rights reserved.