Package p4.config.v1

Class P4InfoOuterClass.PlatformProperties

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
p4.config.v1.P4InfoOuterClass.PlatformProperties
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, P4InfoOuterClass.PlatformPropertiesOrBuilder
Enclosing class:
P4InfoOuterClass

public static final class P4InfoOuterClass.PlatformProperties extends com.google.protobuf.GeneratedMessage implements P4InfoOuterClass.PlatformPropertiesOrBuilder
 Used to describe the required properties of the underlying platform.
 Added in v1.4.0
 
Protobuf type p4.config.v1.PlatformProperties
See Also:
  • Field Details

    • MULTICAST_GROUP_TABLE_SIZE_FIELD_NUMBER

      public static final int MULTICAST_GROUP_TABLE_SIZE_FIELD_NUMBER
      See Also:
    • MULTICAST_GROUP_TABLE_TOTAL_REPLICAS_FIELD_NUMBER

      public static final int MULTICAST_GROUP_TABLE_TOTAL_REPLICAS_FIELD_NUMBER
      See Also:
    • MULTICAST_GROUP_TABLE_MAX_REPLICAS_PER_ENTRY_FIELD_NUMBER

      public static final int MULTICAST_GROUP_TABLE_MAX_REPLICAS_PER_ENTRY_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getMulticastGroupTableSize

      public int getMulticastGroupTableSize()
       The minimum number of multicast entries (i.e. multicast groups) that the
       platform is required to support. If 0, there are no requirements.
       
      int32 multicast_group_table_size = 1;
      Specified by:
      getMulticastGroupTableSize in interface P4InfoOuterClass.PlatformPropertiesOrBuilder
      Returns:
      The multicastGroupTableSize.
    • getMulticastGroupTableTotalReplicas

      public int getMulticastGroupTableTotalReplicas()
       The minimum number of replicas that the platform is required to support
       across all  groups. If 0, there are no requirements.
       
      int32 multicast_group_table_total_replicas = 2;
      Specified by:
      getMulticastGroupTableTotalReplicas in interface P4InfoOuterClass.PlatformPropertiesOrBuilder
      Returns:
      The multicastGroupTableTotalReplicas.
    • getMulticastGroupTableMaxReplicasPerEntry

      public int getMulticastGroupTableMaxReplicasPerEntry()
       The number of replicas that the platform is required to support per
       group/entry. If 0, `multicast_group_table_total_replicas` should be used.
       Must be no larger than `multicast_group_table_total_replicas`.
       
      int32 multicast_group_table_max_replicas_per_entry = 3;
      Specified by:
      getMulticastGroupTableMaxReplicasPerEntry in interface P4InfoOuterClass.PlatformPropertiesOrBuilder
      Returns:
      The multicastGroupTableMaxReplicasPerEntry.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static P4InfoOuterClass.PlatformProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static P4InfoOuterClass.PlatformProperties parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static P4InfoOuterClass.PlatformProperties parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static P4InfoOuterClass.PlatformProperties parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static P4InfoOuterClass.PlatformProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static P4InfoOuterClass.PlatformProperties parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static P4InfoOuterClass.PlatformProperties parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static P4InfoOuterClass.PlatformProperties parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static P4InfoOuterClass.PlatformProperties parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static P4InfoOuterClass.PlatformProperties parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static P4InfoOuterClass.PlatformProperties parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static P4InfoOuterClass.PlatformProperties parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public P4InfoOuterClass.PlatformProperties.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static P4InfoOuterClass.PlatformProperties.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected P4InfoOuterClass.PlatformProperties.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static P4InfoOuterClass.PlatformProperties getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<P4InfoOuterClass.PlatformProperties> parser()
    • getParserForType

      public com.google.protobuf.Parser<P4InfoOuterClass.PlatformProperties> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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