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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<PkgInfo.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<PkgInfo.Builder>
public PkgInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public PkgInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public PkgInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public PkgInfo.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PkgInfo.Builder>
IOException
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 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 PkgInfoOrBuilder
public com.google.protobuf.ByteString getVersionBytes()
configuration version, free-format string
string version = 2;
getVersionBytes
in interface PkgInfoOrBuilder
public 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 PkgInfoOrBuilder
public Documentation getDoc()
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3;
getDoc
in interface PkgInfoOrBuilder
public 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 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 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 PkgInfoOrBuilder
public com.google.protobuf.ByteString getArchBytes()
the target architecture, e.g. "psa"
string arch = 5;
getArchBytes
in interface PkgInfoOrBuilder
public 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 PkgInfoOrBuilder
public com.google.protobuf.ByteString getOrganizationBytes()
organization which produced the configuration, e.g. "p4.org"
string organization = 6;
getOrganizationBytes
in interface PkgInfoOrBuilder
public 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 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 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 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 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PkgInfo.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.