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, 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 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.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 String getName()
a definitive name for this configuration, e.g. switch.p4_v1.0
string name = 1;
getName
in interface PkgInfoOrBuilder
public com.google.protobuf.ByteString getNameBytes()
a definitive name for this configuration, e.g. switch.p4_v1.0
string name = 1;
getNameBytes
in interface PkgInfoOrBuilder
public String getVersion()
configuration version, free-format string
string version = 2;
getVersion
in interface PkgInfoOrBuilder
public com.google.protobuf.ByteString getVersionBytes()
configuration version, free-format string
string version = 2;
getVersionBytes
in interface PkgInfoOrBuilder
public boolean hasDoc()
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3;
hasDoc
in interface PkgInfoOrBuilder
public Documentation getDoc()
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3;
getDoc
in interface PkgInfoOrBuilder
public DocumentationOrBuilder getDocOrBuilder()
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3;
getDocOrBuilder
in interface PkgInfoOrBuilder
public com.google.protobuf.ProtocolStringList getAnnotationsList()
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;
getAnnotationsList
in interface PkgInfoOrBuilder
public int getAnnotationsCount()
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;
getAnnotationsCount
in interface PkgInfoOrBuilder
public String getAnnotations(int index)
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;
getAnnotations
in interface PkgInfoOrBuilder
public com.google.protobuf.ByteString getAnnotationsBytes(int index)
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;
getAnnotationsBytes
in interface PkgInfoOrBuilder
public String getArch()
the target architecture, e.g. "psa"
string arch = 5;
getArch
in interface PkgInfoOrBuilder
public com.google.protobuf.ByteString getArchBytes()
the target architecture, e.g. "psa"
string arch = 5;
getArchBytes
in interface PkgInfoOrBuilder
public String getOrganization()
organization which produced the configuration, e.g. "p4.org"
string organization = 6;
getOrganization
in interface PkgInfoOrBuilder
public com.google.protobuf.ByteString getOrganizationBytes()
organization which produced the configuration, e.g. "p4.org"
string organization = 6;
getOrganizationBytes
in interface PkgInfoOrBuilder
public String getContact()
contact info for support,e.g. "tech-support@acme.org"
string contact = 7;
getContact
in interface PkgInfoOrBuilder
public com.google.protobuf.ByteString getContactBytes()
contact info for support,e.g. "tech-support@acme.org"
string contact = 7;
getContactBytes
in interface PkgInfoOrBuilder
public String getUrl()
url for more information, e.g. "http://support.p4.org/ref/p4/switch.p4_v1.0"
string url = 8;
getUrl
in interface PkgInfoOrBuilder
public 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 PkgInfoOrBuilder
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 PkgInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PkgInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PkgInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PkgInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PkgInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PkgInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PkgInfo parseFrom(InputStream input) throws IOException
IOException
public static PkgInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PkgInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static PkgInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PkgInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static PkgInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public PkgInfo.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static PkgInfo.Builder newBuilder()
public static PkgInfo.Builder newBuilder(PkgInfo prototype)
public PkgInfo.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected PkgInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static PkgInfo getDefaultInstance()
public static com.google.protobuf.Parser<PkgInfo> parser()
public com.google.protobuf.Parser<PkgInfo> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public PkgInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2018 OpenDaylight. All rights reserved.