public static final class PkgInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PkgInfo.Builder> 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 | Method and Description | 
|---|---|
PkgInfo.Builder | 
addAllAnnotations(Iterable<String> values)
 Miscellaneous metadata, free-form; a way to extend PkgInfo 
 | 
PkgInfo.Builder | 
addAnnotations(String value)
 Miscellaneous metadata, free-form; a way to extend PkgInfo 
 | 
PkgInfo.Builder | 
addAnnotationsBytes(com.google.protobuf.ByteString value)
 Miscellaneous metadata, free-form; a way to extend PkgInfo 
 | 
PkgInfo.Builder | 
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
                Object value)  | 
PkgInfo | 
build()  | 
PkgInfo | 
buildPartial()  | 
PkgInfo.Builder | 
clear()  | 
PkgInfo.Builder | 
clearAnnotations()
 Miscellaneous metadata, free-form; a way to extend PkgInfo 
 | 
PkgInfo.Builder | 
clearArch()
 the target architecture, e.g. 
 | 
PkgInfo.Builder | 
clearContact()
 contact info for support,e.g. 
 | 
PkgInfo.Builder | 
clearDoc()
 brief and detailed descriptions 
 | 
PkgInfo.Builder | 
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)  | 
PkgInfo.Builder | 
clearName()
 a definitive name for this configuration, e.g. 
 | 
PkgInfo.Builder | 
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)  | 
PkgInfo.Builder | 
clearOrganization()
 organization which produced the configuration, e.g. 
 | 
PkgInfo.Builder | 
clearUrl()
 url for more information, e.g. 
 | 
PkgInfo.Builder | 
clearVersion()
 configuration version, free-format string 
 | 
PkgInfo.Builder | 
clone()  | 
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. 
 | 
PkgInfo | 
getDefaultInstanceForType()  | 
static com.google.protobuf.Descriptors.Descriptor | 
getDescriptor()  | 
com.google.protobuf.Descriptors.Descriptor | 
getDescriptorForType()  | 
Documentation | 
getDoc()
 brief and detailed descriptions 
 | 
Documentation.Builder | 
getDocBuilder()
 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. 
 | 
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 
 | 
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | 
internalGetFieldAccessorTable()  | 
boolean | 
isInitialized()  | 
PkgInfo.Builder | 
mergeDoc(Documentation value)
 brief and detailed descriptions 
 | 
PkgInfo.Builder | 
mergeFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
PkgInfo.Builder | 
mergeFrom(com.google.protobuf.Message other)  | 
PkgInfo.Builder | 
mergeFrom(PkgInfo other)  | 
PkgInfo.Builder | 
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)  | 
PkgInfo.Builder | 
setAnnotations(int index,
              String value)
 Miscellaneous metadata, free-form; a way to extend PkgInfo 
 | 
PkgInfo.Builder | 
setArch(String value)
 the target architecture, e.g. 
 | 
PkgInfo.Builder | 
setArchBytes(com.google.protobuf.ByteString value)
 the target architecture, e.g. 
 | 
PkgInfo.Builder | 
setContact(String value)
 contact info for support,e.g. 
 | 
PkgInfo.Builder | 
setContactBytes(com.google.protobuf.ByteString value)
 contact info for support,e.g. 
 | 
PkgInfo.Builder | 
setDoc(Documentation.Builder builderForValue)
 brief and detailed descriptions 
 | 
PkgInfo.Builder | 
setDoc(Documentation value)
 brief and detailed descriptions 
 | 
PkgInfo.Builder | 
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
        Object value)  | 
PkgInfo.Builder | 
setName(String value)
 a definitive name for this configuration, e.g. 
 | 
PkgInfo.Builder | 
setNameBytes(com.google.protobuf.ByteString value)
 a definitive name for this configuration, e.g. 
 | 
PkgInfo.Builder | 
setOrganization(String value)
 organization which produced the configuration, e.g. 
 | 
PkgInfo.Builder | 
setOrganizationBytes(com.google.protobuf.ByteString value)
 organization which produced the configuration, e.g. 
 | 
PkgInfo.Builder | 
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
                int index,
                Object value)  | 
PkgInfo.Builder | 
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)  | 
PkgInfo.Builder | 
setUrl(String value)
 url for more information, e.g. 
 | 
PkgInfo.Builder | 
setUrlBytes(com.google.protobuf.ByteString value)
 url for more information, e.g. 
 | 
PkgInfo.Builder | 
setVersion(String value)
 configuration version, free-format string 
 | 
PkgInfo.Builder | 
setVersionBytes(com.google.protobuf.ByteString value)
 configuration version, free-format string 
 | 
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PkgInfo.Builder>public PkgInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PkgInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PkgInfo.Builder>public PkgInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PkgInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PkgInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PkgInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PkgInfo.Builder>public PkgInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PkgInfo.Builder>public PkgInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PkgInfo.Builder>public PkgInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PkgInfo.Builder>public PkgInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PkgInfo.Builder>public PkgInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PkgInfo.Builder>public PkgInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PkgInfo.Builder>public PkgInfo.Builder mergeFrom(PkgInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PkgInfo.Builder>public PkgInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PkgInfo.Builder>IOExceptionpublic 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 PkgInfo.Builder setName(String value)
a definitive name for this configuration, e.g. switch.p4_v1.0
string name = 1;public PkgInfo.Builder clearName()
a definitive name for this configuration, e.g. switch.p4_v1.0
string name = 1;public PkgInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
a definitive name for this configuration, e.g. switch.p4_v1.0
string name = 1;public 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 PkgInfo.Builder setVersion(String value)
configuration version, free-format string
string version = 2;public PkgInfo.Builder clearVersion()
configuration version, free-format string
string version = 2;public PkgInfo.Builder setVersionBytes(com.google.protobuf.ByteString value)
configuration version, free-format string
string version = 2;public 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 PkgInfo.Builder setDoc(Documentation value)
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3;public PkgInfo.Builder setDoc(Documentation.Builder builderForValue)
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3;public PkgInfo.Builder mergeDoc(Documentation value)
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3;public PkgInfo.Builder clearDoc()
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3;public Documentation.Builder getDocBuilder()
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3;public 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 PkgInfo.Builder setAnnotations(int index, String value)
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;public PkgInfo.Builder addAnnotations(String value)
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;public PkgInfo.Builder addAllAnnotations(Iterable<String> values)
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;public PkgInfo.Builder clearAnnotations()
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;public PkgInfo.Builder addAnnotationsBytes(com.google.protobuf.ByteString value)
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;public 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 PkgInfo.Builder setArch(String value)
the target architecture, e.g. "psa"
string arch = 5;public PkgInfo.Builder clearArch()
the target architecture, e.g. "psa"
string arch = 5;public PkgInfo.Builder setArchBytes(com.google.protobuf.ByteString value)
the target architecture, e.g. "psa"
string arch = 5;public 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 PkgInfo.Builder setOrganization(String value)
organization which produced the configuration, e.g. "p4.org"
string organization = 6;public PkgInfo.Builder clearOrganization()
organization which produced the configuration, e.g. "p4.org"
string organization = 6;public PkgInfo.Builder setOrganizationBytes(com.google.protobuf.ByteString value)
organization which produced the configuration, e.g. "p4.org"
string organization = 6;public 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 PkgInfo.Builder setContact(String value)
contact info for support,e.g. "tech-support@acme.org"
string contact = 7;public PkgInfo.Builder clearContact()
contact info for support,e.g. "tech-support@acme.org"
string contact = 7;public PkgInfo.Builder setContactBytes(com.google.protobuf.ByteString value)
contact info for support,e.g. "tech-support@acme.org"
string contact = 7;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 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 PkgInfo.Builder setUrl(String value)
url for more information, e.g. "http://support.p4.org/ref/p4/switch.p4_v1.0"
string url = 8;public PkgInfo.Builder clearUrl()
url for more information, e.g. "http://support.p4.org/ref/p4/switch.p4_v1.0"
string url = 8;public PkgInfo.Builder setUrlBytes(com.google.protobuf.ByteString value)
url for more information, e.g. "http://support.p4.org/ref/p4/switch.p4_v1.0"
string url = 8;public final PkgInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PkgInfo.Builder>public final PkgInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PkgInfo.Builder>Copyright © 2018 OpenDaylight. All rights reserved.