Package p4.config.v1
Class P4InfoOuterClass.PkgInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<P4InfoOuterClass.PkgInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.PkgInfo.Builder>
p4.config.v1.P4InfoOuterClass.PkgInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,P4InfoOuterClass.PkgInfoOrBuilder
- Enclosing class:
P4InfoOuterClass.PkgInfo
public static final class P4InfoOuterClass.PkgInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.PkgInfo.Builder>
implements P4InfoOuterClass.PkgInfoOrBuilder
Top-level package documentation describing the forwarding pipeline config Can be used to manage multiple P4 packages.Protobuf type
p4.config.v1.PkgInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllAnnotationLocations(Iterable<? extends P4Types.SourceLocation> values) Optional.addAllAnnotations(Iterable<String> values) Miscellaneous metadata, free-form; a way to extend PkgInfoaddAllStructuredAnnotations(Iterable<? extends P4Types.StructuredAnnotation> values) Miscellaneous metadata, structured; a way to extend PkgInfoaddAnnotationLocations(int index, P4Types.SourceLocation value) Optional.addAnnotationLocations(int index, P4Types.SourceLocation.Builder builderForValue) Optional.Optional.addAnnotationLocations(P4Types.SourceLocation.Builder builderForValue) Optional.Optional.addAnnotationLocationsBuilder(int index) Optional.addAnnotations(String value) Miscellaneous metadata, free-form; a way to extend PkgInfoaddAnnotationsBytes(com.google.protobuf.ByteString value) Miscellaneous metadata, free-form; a way to extend PkgInfoaddStructuredAnnotations(int index, P4Types.StructuredAnnotation value) Miscellaneous metadata, structured; a way to extend PkgInfoaddStructuredAnnotations(int index, P4Types.StructuredAnnotation.Builder builderForValue) Miscellaneous metadata, structured; a way to extend PkgInfoMiscellaneous metadata, structured; a way to extend PkgInfoaddStructuredAnnotations(P4Types.StructuredAnnotation.Builder builderForValue) Miscellaneous metadata, structured; a way to extend PkgInfoMiscellaneous metadata, structured; a way to extend PkgInfoaddStructuredAnnotationsBuilder(int index) Miscellaneous metadata, structured; a way to extend PkgInfobuild()clear()Optional.Miscellaneous metadata, free-form; a way to extend PkgInfothe target architecture, e.g.contact info for support,e.g.clearDoc()brief and detailed descriptionsa definitive name for this configuration, e.g.organization which produced the configuration, e.g.If set, specifies the properties that the underlying platform should have.Miscellaneous metadata, structured; a way to extend PkgInfoclearUrl()url for more information, e.g.configuration version, free-format stringgetAnnotationLocations(int index) Optional.getAnnotationLocationsBuilder(int index) Optional.Optional.intOptional.Optional.getAnnotationLocationsOrBuilder(int index) Optional.List<? extends P4Types.SourceLocationOrBuilder> Optional.getAnnotations(int index) Miscellaneous metadata, free-form; a way to extend PkgInfocom.google.protobuf.ByteStringgetAnnotationsBytes(int index) Miscellaneous metadata, free-form; a way to extend PkgInfointMiscellaneous metadata, free-form; a way to extend PkgInfocom.google.protobuf.ProtocolStringListMiscellaneous metadata, free-form; a way to extend PkgInfogetArch()the target architecture, e.g.com.google.protobuf.ByteStringthe target architecture, e.g.contact info for support,e.g.com.google.protobuf.ByteStringcontact info for support,e.g.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDoc()brief and detailed descriptionsbrief and detailed descriptionsbrief and detailed descriptionsgetName()a definitive name for this configuration, e.g.com.google.protobuf.ByteStringa definitive name for this configuration, e.g.organization which produced the configuration, e.g.com.google.protobuf.ByteStringorganization which produced the configuration, e.g.If set, specifies the properties that the underlying platform should have.If set, specifies the properties that the underlying platform should have.If set, specifies the properties that the underlying platform should have.getStructuredAnnotations(int index) Miscellaneous metadata, structured; a way to extend PkgInfogetStructuredAnnotationsBuilder(int index) Miscellaneous metadata, structured; a way to extend PkgInfoMiscellaneous metadata, structured; a way to extend PkgInfointMiscellaneous metadata, structured; a way to extend PkgInfoMiscellaneous metadata, structured; a way to extend PkgInfogetStructuredAnnotationsOrBuilder(int index) Miscellaneous metadata, structured; a way to extend PkgInfoList<? extends P4Types.StructuredAnnotationOrBuilder> Miscellaneous metadata, structured; a way to extend PkgInfogetUrl()url for more information, e.g.com.google.protobuf.ByteStringurl for more information, e.g.configuration version, free-format stringcom.google.protobuf.ByteStringconfiguration version, free-format stringbooleanhasDoc()brief and detailed descriptionsbooleanIf set, specifies the properties that the underlying platform should have.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanbrief and detailed descriptionsmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) If set, specifies the properties that the underlying platform should have.removeAnnotationLocations(int index) Optional.removeStructuredAnnotations(int index) Miscellaneous metadata, structured; a way to extend PkgInfosetAnnotationLocations(int index, P4Types.SourceLocation value) Optional.setAnnotationLocations(int index, P4Types.SourceLocation.Builder builderForValue) Optional.setAnnotations(int index, String value) Miscellaneous metadata, free-form; a way to extend PkgInfothe target architecture, e.g.setArchBytes(com.google.protobuf.ByteString value) the target architecture, e.g.setContact(String value) contact info for support,e.g.setContactBytes(com.google.protobuf.ByteString value) contact info for support,e.g.brief and detailed descriptionssetDoc(P4InfoOuterClass.Documentation.Builder builderForValue) brief and detailed descriptionsa definitive name for this configuration, e.g.setNameBytes(com.google.protobuf.ByteString value) a definitive name for this configuration, e.g.setOrganization(String value) organization which produced the configuration, e.g.setOrganizationBytes(com.google.protobuf.ByteString value) organization which produced the configuration, e.g.If set, specifies the properties that the underlying platform should have.setPlatformProperties(P4InfoOuterClass.PlatformProperties.Builder builderForValue) If set, specifies the properties that the underlying platform should have.setStructuredAnnotations(int index, P4Types.StructuredAnnotation value) Miscellaneous metadata, structured; a way to extend PkgInfosetStructuredAnnotations(int index, P4Types.StructuredAnnotation.Builder builderForValue) Miscellaneous metadata, structured; a way to extend PkgInfourl for more information, e.g.setUrlBytes(com.google.protobuf.ByteString value) url for more information, e.g.setVersion(String value) configuration version, free-format stringsetVersionBytes(com.google.protobuf.ByteString value) configuration version, free-format stringMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.PkgInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.PkgInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.PkgInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<P4InfoOuterClass.PkgInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.PkgInfo.Builder>
-
mergeFrom
public P4InfoOuterClass.PkgInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<P4InfoOuterClass.PkgInfo.Builder>- Throws:
IOException
-
getName
a definitive name for this configuration, e.g. switch.p4_v1.0
string name = 1;- Specified by:
getNamein interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()a definitive name for this configuration, e.g. switch.p4_v1.0
string name = 1;- Specified by:
getNameBytesin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- The bytes for name.
-
setName
a definitive name for this configuration, e.g. switch.p4_v1.0
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
a definitive name for this configuration, e.g. switch.p4_v1.0
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
a definitive name for this configuration, e.g. switch.p4_v1.0
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getVersion
configuration version, free-format string
string version = 2;- Specified by:
getVersionin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()configuration version, free-format string
string version = 2;- Specified by:
getVersionBytesin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- The bytes for version.
-
setVersion
configuration version, free-format string
string version = 2;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
configuration version, free-format string
string version = 2;- Returns:
- This builder for chaining.
-
setVersionBytes
configuration version, free-format string
string version = 2;- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
hasDoc
public boolean hasDoc()brief and detailed descriptions
.p4.config.v1.Documentation doc = 3;- Specified by:
hasDocin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- Whether the doc field is set.
-
getDoc
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3;- Specified by:
getDocin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- The doc.
-
setDoc
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3; -
setDoc
public P4InfoOuterClass.PkgInfo.Builder setDoc(P4InfoOuterClass.Documentation.Builder builderForValue) brief and detailed descriptions
.p4.config.v1.Documentation doc = 3; -
mergeDoc
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3; -
clearDoc
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3; -
getDocBuilder
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3; -
getDocOrBuilder
brief and detailed descriptions
.p4.config.v1.Documentation doc = 3;- Specified by:
getDocOrBuilderin interfaceP4InfoOuterClass.PkgInfoOrBuilder
-
getAnnotationsList
public com.google.protobuf.ProtocolStringList getAnnotationsList()Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;- Specified by:
getAnnotationsListin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- A list containing the annotations.
-
getAnnotationsCount
public int getAnnotationsCount()Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;- Specified by:
getAnnotationsCountin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- The count of annotations.
-
getAnnotations
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;- Specified by:
getAnnotationsin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The annotations at the given index.
-
getAnnotationsBytes
public com.google.protobuf.ByteString getAnnotationsBytes(int index) Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;- Specified by:
getAnnotationsBytesin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the annotations at the given index.
-
setAnnotations
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;- Parameters:
index- The index to set the value at.value- The annotations to set.- Returns:
- This builder for chaining.
-
addAnnotations
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;- Parameters:
value- The annotations to add.- Returns:
- This builder for chaining.
-
addAllAnnotations
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;- Parameters:
values- The annotations to add.- Returns:
- This builder for chaining.
-
clearAnnotations
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;- Returns:
- This builder for chaining.
-
addAnnotationsBytes
Miscellaneous metadata, free-form; a way to extend PkgInfo
repeated string annotations = 4;- Parameters:
value- The bytes of the annotations to add.- Returns:
- This builder for chaining.
-
getAnnotationLocationsList
Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10;- Specified by:
getAnnotationLocationsListin interfaceP4InfoOuterClass.PkgInfoOrBuilder
-
getAnnotationLocationsCount
public int getAnnotationLocationsCount()Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10;- Specified by:
getAnnotationLocationsCountin interfaceP4InfoOuterClass.PkgInfoOrBuilder
-
getAnnotationLocations
Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10;- Specified by:
getAnnotationLocationsin interfaceP4InfoOuterClass.PkgInfoOrBuilder
-
setAnnotationLocations
public P4InfoOuterClass.PkgInfo.Builder setAnnotationLocations(int index, P4Types.SourceLocation value) Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10; -
setAnnotationLocations
public P4InfoOuterClass.PkgInfo.Builder setAnnotationLocations(int index, P4Types.SourceLocation.Builder builderForValue) Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10; -
addAnnotationLocations
Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10; -
addAnnotationLocations
public P4InfoOuterClass.PkgInfo.Builder addAnnotationLocations(int index, P4Types.SourceLocation value) Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10; -
addAnnotationLocations
public P4InfoOuterClass.PkgInfo.Builder addAnnotationLocations(P4Types.SourceLocation.Builder builderForValue) Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10; -
addAnnotationLocations
public P4InfoOuterClass.PkgInfo.Builder addAnnotationLocations(int index, P4Types.SourceLocation.Builder builderForValue) Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10; -
addAllAnnotationLocations
public P4InfoOuterClass.PkgInfo.Builder addAllAnnotationLocations(Iterable<? extends P4Types.SourceLocation> values) Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10; -
clearAnnotationLocations
Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10; -
removeAnnotationLocations
Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10; -
getAnnotationLocationsBuilder
Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10; -
getAnnotationLocationsOrBuilder
Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10;- Specified by:
getAnnotationLocationsOrBuilderin interfaceP4InfoOuterClass.PkgInfoOrBuilder
-
getAnnotationLocationsOrBuilderList
Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10;- Specified by:
getAnnotationLocationsOrBuilderListin interfaceP4InfoOuterClass.PkgInfoOrBuilder
-
addAnnotationLocationsBuilder
Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10; -
addAnnotationLocationsBuilder
Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10; -
getAnnotationLocationsBuilderList
Optional. If present, the location of `annotations[i]` is given by `annotation_locations[i]`.
repeated .p4.config.v1.SourceLocation annotation_locations = 10; -
getArch
the target architecture, e.g. "psa"
string arch = 5;- Specified by:
getArchin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- The arch.
-
getArchBytes
public com.google.protobuf.ByteString getArchBytes()the target architecture, e.g. "psa"
string arch = 5;- Specified by:
getArchBytesin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- The bytes for arch.
-
setArch
the target architecture, e.g. "psa"
string arch = 5;- Parameters:
value- The arch to set.- Returns:
- This builder for chaining.
-
clearArch
the target architecture, e.g. "psa"
string arch = 5;- Returns:
- This builder for chaining.
-
setArchBytes
the target architecture, e.g. "psa"
string arch = 5;- Parameters:
value- The bytes for arch to set.- Returns:
- This builder for chaining.
-
getOrganization
organization which produced the configuration, e.g. "p4.org"
string organization = 6;- Specified by:
getOrganizationin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- The organization.
-
getOrganizationBytes
public com.google.protobuf.ByteString getOrganizationBytes()organization which produced the configuration, e.g. "p4.org"
string organization = 6;- Specified by:
getOrganizationBytesin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- The bytes for organization.
-
setOrganization
organization which produced the configuration, e.g. "p4.org"
string organization = 6;- Parameters:
value- The organization to set.- Returns:
- This builder for chaining.
-
clearOrganization
organization which produced the configuration, e.g. "p4.org"
string organization = 6;- Returns:
- This builder for chaining.
-
setOrganizationBytes
organization which produced the configuration, e.g. "p4.org"
string organization = 6;- Parameters:
value- The bytes for organization to set.- Returns:
- This builder for chaining.
-
getContact
contact info for support,e.g. "tech-support@acme.org"
string contact = 7;- Specified by:
getContactin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- The contact.
-
getContactBytes
public com.google.protobuf.ByteString getContactBytes()contact info for support,e.g. "tech-support@acme.org"
string contact = 7;- Specified by:
getContactBytesin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- The bytes for contact.
-
setContact
contact info for support,e.g. "tech-support@acme.org"
string contact = 7;- Parameters:
value- The contact to set.- Returns:
- This builder for chaining.
-
clearContact
contact info for support,e.g. "tech-support@acme.org"
string contact = 7;- Returns:
- This builder for chaining.
-
setContactBytes
contact info for support,e.g. "tech-support@acme.org"
string contact = 7;- Parameters:
value- The bytes for contact to set.- Returns:
- This builder for chaining.
-
getUrl
url for more information, e.g. "http://support.p4.org/ref/p4/switch.p4_v1.0"
string url = 8;- Specified by:
getUrlin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- The url.
-
getUrlBytes
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;- Specified by:
getUrlBytesin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- The bytes for url.
-
setUrl
url for more information, e.g. "http://support.p4.org/ref/p4/switch.p4_v1.0"
string url = 8;- Parameters:
value- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
url for more information, e.g. "http://support.p4.org/ref/p4/switch.p4_v1.0"
string url = 8;- Returns:
- This builder for chaining.
-
setUrlBytes
url for more information, e.g. "http://support.p4.org/ref/p4/switch.p4_v1.0"
string url = 8;- Parameters:
value- The bytes for url to set.- Returns:
- This builder for chaining.
-
getStructuredAnnotationsList
Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9;- Specified by:
getStructuredAnnotationsListin interfaceP4InfoOuterClass.PkgInfoOrBuilder
-
getStructuredAnnotationsCount
public int getStructuredAnnotationsCount()Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9;- Specified by:
getStructuredAnnotationsCountin interfaceP4InfoOuterClass.PkgInfoOrBuilder
-
getStructuredAnnotations
Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9;- Specified by:
getStructuredAnnotationsin interfaceP4InfoOuterClass.PkgInfoOrBuilder
-
setStructuredAnnotations
public P4InfoOuterClass.PkgInfo.Builder setStructuredAnnotations(int index, P4Types.StructuredAnnotation value) Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9; -
setStructuredAnnotations
public P4InfoOuterClass.PkgInfo.Builder setStructuredAnnotations(int index, P4Types.StructuredAnnotation.Builder builderForValue) Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9; -
addStructuredAnnotations
public P4InfoOuterClass.PkgInfo.Builder addStructuredAnnotations(P4Types.StructuredAnnotation value) Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9; -
addStructuredAnnotations
public P4InfoOuterClass.PkgInfo.Builder addStructuredAnnotations(int index, P4Types.StructuredAnnotation value) Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9; -
addStructuredAnnotations
public P4InfoOuterClass.PkgInfo.Builder addStructuredAnnotations(P4Types.StructuredAnnotation.Builder builderForValue) Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9; -
addStructuredAnnotations
public P4InfoOuterClass.PkgInfo.Builder addStructuredAnnotations(int index, P4Types.StructuredAnnotation.Builder builderForValue) Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9; -
addAllStructuredAnnotations
public P4InfoOuterClass.PkgInfo.Builder addAllStructuredAnnotations(Iterable<? extends P4Types.StructuredAnnotation> values) Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9; -
clearStructuredAnnotations
Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9; -
removeStructuredAnnotations
Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9; -
getStructuredAnnotationsBuilder
Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9; -
getStructuredAnnotationsOrBuilder
Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9;- Specified by:
getStructuredAnnotationsOrBuilderin interfaceP4InfoOuterClass.PkgInfoOrBuilder
-
getStructuredAnnotationsOrBuilderList
public List<? extends P4Types.StructuredAnnotationOrBuilder> getStructuredAnnotationsOrBuilderList()Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9;- Specified by:
getStructuredAnnotationsOrBuilderListin interfaceP4InfoOuterClass.PkgInfoOrBuilder
-
addStructuredAnnotationsBuilder
Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9; -
addStructuredAnnotationsBuilder
Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9; -
getStructuredAnnotationsBuilderList
Miscellaneous metadata, structured; a way to extend PkgInfo
repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9; -
hasPlatformProperties
public boolean hasPlatformProperties()If set, specifies the properties that the underlying platform should have. If the platform does not conform to these properties, the server should reject the P4Info when used with a SetForwardingPipelineConfigRequest. Added in 1.4.0
.p4.config.v1.PlatformProperties platform_properties = 11;- Specified by:
hasPlatformPropertiesin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- Whether the platformProperties field is set.
-
getPlatformProperties
If set, specifies the properties that the underlying platform should have. If the platform does not conform to these properties, the server should reject the P4Info when used with a SetForwardingPipelineConfigRequest. Added in 1.4.0
.p4.config.v1.PlatformProperties platform_properties = 11;- Specified by:
getPlatformPropertiesin interfaceP4InfoOuterClass.PkgInfoOrBuilder- Returns:
- The platformProperties.
-
setPlatformProperties
public P4InfoOuterClass.PkgInfo.Builder setPlatformProperties(P4InfoOuterClass.PlatformProperties value) If set, specifies the properties that the underlying platform should have. If the platform does not conform to these properties, the server should reject the P4Info when used with a SetForwardingPipelineConfigRequest. Added in 1.4.0
.p4.config.v1.PlatformProperties platform_properties = 11; -
setPlatformProperties
public P4InfoOuterClass.PkgInfo.Builder setPlatformProperties(P4InfoOuterClass.PlatformProperties.Builder builderForValue) If set, specifies the properties that the underlying platform should have. If the platform does not conform to these properties, the server should reject the P4Info when used with a SetForwardingPipelineConfigRequest. Added in 1.4.0
.p4.config.v1.PlatformProperties platform_properties = 11; -
mergePlatformProperties
public P4InfoOuterClass.PkgInfo.Builder mergePlatformProperties(P4InfoOuterClass.PlatformProperties value) If set, specifies the properties that the underlying platform should have. If the platform does not conform to these properties, the server should reject the P4Info when used with a SetForwardingPipelineConfigRequest. Added in 1.4.0
.p4.config.v1.PlatformProperties platform_properties = 11; -
clearPlatformProperties
If set, specifies the properties that the underlying platform should have. If the platform does not conform to these properties, the server should reject the P4Info when used with a SetForwardingPipelineConfigRequest. Added in 1.4.0
.p4.config.v1.PlatformProperties platform_properties = 11; -
getPlatformPropertiesBuilder
If set, specifies the properties that the underlying platform should have. If the platform does not conform to these properties, the server should reject the P4Info when used with a SetForwardingPipelineConfigRequest. Added in 1.4.0
.p4.config.v1.PlatformProperties platform_properties = 11; -
getPlatformPropertiesOrBuilder
If set, specifies the properties that the underlying platform should have. If the platform does not conform to these properties, the server should reject the P4Info when used with a SetForwardingPipelineConfigRequest. Added in 1.4.0
.p4.config.v1.PlatformProperties platform_properties = 11;- Specified by:
getPlatformPropertiesOrBuilderin interfaceP4InfoOuterClass.PkgInfoOrBuilder
-