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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.PkgInfo.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.PkgInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<P4InfoOuterClass.PkgInfo.Builder>
    • getDefaultInstanceForType

      public P4InfoOuterClass.PkgInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public P4InfoOuterClass.PkgInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public P4InfoOuterClass.PkgInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public P4InfoOuterClass.PkgInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<P4InfoOuterClass.PkgInfo.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<P4InfoOuterClass.PkgInfo.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       a definitive name for this configuration, e.g. switch.p4_v1.0
       
      string name = 1;
      Specified by:
      getName in interface P4InfoOuterClass.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:
      getNameBytes in interface P4InfoOuterClass.PkgInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public P4InfoOuterClass.PkgInfo.Builder setName(String value)
       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

      public P4InfoOuterClass.PkgInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
       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

      public String getVersion()
       configuration version, free-format string
       
      string version = 2;
      Specified by:
      getVersion in interface P4InfoOuterClass.PkgInfoOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       configuration version, free-format string
       
      string version = 2;
      Specified by:
      getVersionBytes in interface P4InfoOuterClass.PkgInfoOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public P4InfoOuterClass.PkgInfo.Builder setVersion(String value)
       configuration version, free-format string
       
      string version = 2;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public P4InfoOuterClass.PkgInfo.Builder clearVersion()
       configuration version, free-format string
       
      string version = 2;
      Returns:
      This builder for chaining.
    • setVersionBytes

      public P4InfoOuterClass.PkgInfo.Builder setVersionBytes(com.google.protobuf.ByteString value)
       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:
      hasDoc in interface P4InfoOuterClass.PkgInfoOrBuilder
      Returns:
      Whether the doc field is set.
    • getDoc

       brief and detailed descriptions
       
      .p4.config.v1.Documentation doc = 3;
      Specified by:
      getDoc in interface P4InfoOuterClass.PkgInfoOrBuilder
      Returns:
      The doc.
    • setDoc

       brief and detailed descriptions
       
      .p4.config.v1.Documentation doc = 3;
    • setDoc

       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

      public P4InfoOuterClass.DocumentationOrBuilder getDocOrBuilder()
       brief and detailed descriptions
       
      .p4.config.v1.Documentation doc = 3;
      Specified by:
      getDocOrBuilder in interface P4InfoOuterClass.PkgInfoOrBuilder
    • getAnnotationsList

      public com.google.protobuf.ProtocolStringList getAnnotationsList()
       Miscellaneous metadata, free-form; a way to extend PkgInfo
       
      repeated string annotations = 4;
      Specified by:
      getAnnotationsList in interface P4InfoOuterClass.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:
      getAnnotationsCount in interface P4InfoOuterClass.PkgInfoOrBuilder
      Returns:
      The count of annotations.
    • getAnnotations

      public String getAnnotations(int index)
       Miscellaneous metadata, free-form; a way to extend PkgInfo
       
      repeated string annotations = 4;
      Specified by:
      getAnnotations in interface P4InfoOuterClass.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:
      getAnnotationsBytes in interface P4InfoOuterClass.PkgInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the annotations at the given index.
    • setAnnotations

      public P4InfoOuterClass.PkgInfo.Builder setAnnotations(int index, String value)
       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

      public P4InfoOuterClass.PkgInfo.Builder addAnnotations(String value)
       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

      public P4InfoOuterClass.PkgInfo.Builder addAllAnnotations(Iterable<String> values)
       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

      public P4InfoOuterClass.PkgInfo.Builder clearAnnotations()
       Miscellaneous metadata, free-form; a way to extend PkgInfo
       
      repeated string annotations = 4;
      Returns:
      This builder for chaining.
    • addAnnotationsBytes

      public P4InfoOuterClass.PkgInfo.Builder addAnnotationsBytes(com.google.protobuf.ByteString value)
       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

      public List<P4Types.SourceLocation> 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:
      getAnnotationLocationsList in interface P4InfoOuterClass.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:
      getAnnotationLocationsCount in interface P4InfoOuterClass.PkgInfoOrBuilder
    • getAnnotationLocations

      public P4Types.SourceLocation getAnnotationLocations(int index)
       Optional. If present, the location of `annotations[i]` is given by
       `annotation_locations[i]`.
       
      repeated .p4.config.v1.SourceLocation annotation_locations = 10;
      Specified by:
      getAnnotationLocations in interface P4InfoOuterClass.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

      public P4InfoOuterClass.PkgInfo.Builder addAnnotationLocations(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(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

      public P4InfoOuterClass.PkgInfo.Builder clearAnnotationLocations()
       Optional. If present, the location of `annotations[i]` is given by
       `annotation_locations[i]`.
       
      repeated .p4.config.v1.SourceLocation annotation_locations = 10;
    • removeAnnotationLocations

      public P4InfoOuterClass.PkgInfo.Builder removeAnnotationLocations(int index)
       Optional. If present, the location of `annotations[i]` is given by
       `annotation_locations[i]`.
       
      repeated .p4.config.v1.SourceLocation annotation_locations = 10;
    • getAnnotationLocationsBuilder

      public P4Types.SourceLocation.Builder getAnnotationLocationsBuilder(int index)
       Optional. If present, the location of `annotations[i]` is given by
       `annotation_locations[i]`.
       
      repeated .p4.config.v1.SourceLocation annotation_locations = 10;
    • getAnnotationLocationsOrBuilder

      public P4Types.SourceLocationOrBuilder getAnnotationLocationsOrBuilder(int index)
       Optional. If present, the location of `annotations[i]` is given by
       `annotation_locations[i]`.
       
      repeated .p4.config.v1.SourceLocation annotation_locations = 10;
      Specified by:
      getAnnotationLocationsOrBuilder in interface P4InfoOuterClass.PkgInfoOrBuilder
    • getAnnotationLocationsOrBuilderList

      public List<? extends P4Types.SourceLocationOrBuilder> 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:
      getAnnotationLocationsOrBuilderList in interface P4InfoOuterClass.PkgInfoOrBuilder
    • addAnnotationLocationsBuilder

      public P4Types.SourceLocation.Builder addAnnotationLocationsBuilder()
       Optional. If present, the location of `annotations[i]` is given by
       `annotation_locations[i]`.
       
      repeated .p4.config.v1.SourceLocation annotation_locations = 10;
    • addAnnotationLocationsBuilder

      public P4Types.SourceLocation.Builder addAnnotationLocationsBuilder(int index)
       Optional. If present, the location of `annotations[i]` is given by
       `annotation_locations[i]`.
       
      repeated .p4.config.v1.SourceLocation annotation_locations = 10;
    • getAnnotationLocationsBuilderList

      public List<P4Types.SourceLocation.Builder> getAnnotationLocationsBuilderList()
       Optional. If present, the location of `annotations[i]` is given by
       `annotation_locations[i]`.
       
      repeated .p4.config.v1.SourceLocation annotation_locations = 10;
    • getArch

      public String getArch()
       the target architecture, e.g. "psa"
       
      string arch = 5;
      Specified by:
      getArch in interface P4InfoOuterClass.PkgInfoOrBuilder
      Returns:
      The arch.
    • getArchBytes

      public com.google.protobuf.ByteString getArchBytes()
       the target architecture, e.g. "psa"
       
      string arch = 5;
      Specified by:
      getArchBytes in interface P4InfoOuterClass.PkgInfoOrBuilder
      Returns:
      The bytes for arch.
    • setArch

      public P4InfoOuterClass.PkgInfo.Builder setArch(String value)
       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

      public P4InfoOuterClass.PkgInfo.Builder setArchBytes(com.google.protobuf.ByteString value)
       the target architecture, e.g. "psa"
       
      string arch = 5;
      Parameters:
      value - The bytes for arch to set.
      Returns:
      This builder for chaining.
    • getOrganization

      public String getOrganization()
       organization which produced the configuration, e.g. "p4.org"
       
      string organization = 6;
      Specified by:
      getOrganization in interface P4InfoOuterClass.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:
      getOrganizationBytes in interface P4InfoOuterClass.PkgInfoOrBuilder
      Returns:
      The bytes for organization.
    • setOrganization

      public P4InfoOuterClass.PkgInfo.Builder setOrganization(String value)
       organization which produced the configuration, e.g. "p4.org"
       
      string organization = 6;
      Parameters:
      value - The organization to set.
      Returns:
      This builder for chaining.
    • clearOrganization

      public P4InfoOuterClass.PkgInfo.Builder clearOrganization()
       organization which produced the configuration, e.g. "p4.org"
       
      string organization = 6;
      Returns:
      This builder for chaining.
    • setOrganizationBytes

      public P4InfoOuterClass.PkgInfo.Builder setOrganizationBytes(com.google.protobuf.ByteString value)
       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

      public String getContact()
       contact info for support,e.g. "tech-support@acme.org"
       
      string contact = 7;
      Specified by:
      getContact in interface P4InfoOuterClass.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:
      getContactBytes in interface P4InfoOuterClass.PkgInfoOrBuilder
      Returns:
      The bytes for contact.
    • setContact

      public P4InfoOuterClass.PkgInfo.Builder setContact(String value)
       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

      public P4InfoOuterClass.PkgInfo.Builder clearContact()
       contact info for support,e.g. "tech-support@acme.org"
       
      string contact = 7;
      Returns:
      This builder for chaining.
    • setContactBytes

      public P4InfoOuterClass.PkgInfo.Builder setContactBytes(com.google.protobuf.ByteString value)
       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

      public String getUrl()
       url for more information, e.g.
       "http://support.p4.org/ref/p4/switch.p4_v1.0"
       
      string url = 8;
      Specified by:
      getUrl in interface P4InfoOuterClass.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:
      getUrlBytes in interface P4InfoOuterClass.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

      public P4InfoOuterClass.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;
      Parameters:
      value - The bytes for url to set.
      Returns:
      This builder for chaining.
    • getStructuredAnnotationsList

      public List<P4Types.StructuredAnnotation> getStructuredAnnotationsList()
       Miscellaneous metadata, structured; a way to extend PkgInfo
       
      repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9;
      Specified by:
      getStructuredAnnotationsList in interface P4InfoOuterClass.PkgInfoOrBuilder
    • getStructuredAnnotationsCount

      public int getStructuredAnnotationsCount()
       Miscellaneous metadata, structured; a way to extend PkgInfo
       
      repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9;
      Specified by:
      getStructuredAnnotationsCount in interface P4InfoOuterClass.PkgInfoOrBuilder
    • getStructuredAnnotations

      public P4Types.StructuredAnnotation getStructuredAnnotations(int index)
       Miscellaneous metadata, structured; a way to extend PkgInfo
       
      repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9;
      Specified by:
      getStructuredAnnotations in interface P4InfoOuterClass.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

      public P4InfoOuterClass.PkgInfo.Builder clearStructuredAnnotations()
       Miscellaneous metadata, structured; a way to extend PkgInfo
       
      repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9;
    • removeStructuredAnnotations

      public P4InfoOuterClass.PkgInfo.Builder removeStructuredAnnotations(int index)
       Miscellaneous metadata, structured; a way to extend PkgInfo
       
      repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9;
    • getStructuredAnnotationsBuilder

      public P4Types.StructuredAnnotation.Builder getStructuredAnnotationsBuilder(int index)
       Miscellaneous metadata, structured; a way to extend PkgInfo
       
      repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9;
    • getStructuredAnnotationsOrBuilder

      public P4Types.StructuredAnnotationOrBuilder getStructuredAnnotationsOrBuilder(int index)
       Miscellaneous metadata, structured; a way to extend PkgInfo
       
      repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9;
      Specified by:
      getStructuredAnnotationsOrBuilder in interface P4InfoOuterClass.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:
      getStructuredAnnotationsOrBuilderList in interface P4InfoOuterClass.PkgInfoOrBuilder
    • addStructuredAnnotationsBuilder

      public P4Types.StructuredAnnotation.Builder addStructuredAnnotationsBuilder()
       Miscellaneous metadata, structured; a way to extend PkgInfo
       
      repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9;
    • addStructuredAnnotationsBuilder

      public P4Types.StructuredAnnotation.Builder addStructuredAnnotationsBuilder(int index)
       Miscellaneous metadata, structured; a way to extend PkgInfo
       
      repeated .p4.config.v1.StructuredAnnotation structured_annotations = 9;
    • getStructuredAnnotationsBuilderList

      public List<P4Types.StructuredAnnotation.Builder> 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:
      hasPlatformProperties in interface P4InfoOuterClass.PkgInfoOrBuilder
      Returns:
      Whether the platformProperties field is set.
    • getPlatformProperties

      public P4InfoOuterClass.PlatformProperties 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:
      getPlatformProperties in interface P4InfoOuterClass.PkgInfoOrBuilder
      Returns:
      The platformProperties.
    • setPlatformProperties

       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

       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

      public P4InfoOuterClass.PkgInfo.Builder 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

      public P4InfoOuterClass.PlatformProperties.Builder 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

      public P4InfoOuterClass.PlatformPropertiesOrBuilder 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:
      getPlatformPropertiesOrBuilder in interface P4InfoOuterClass.PkgInfoOrBuilder