Package p4.config.v1

Class P4InfoOuterClass.ValueSet

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

public static final class P4InfoOuterClass.ValueSet extends com.google.protobuf.GeneratedMessage implements P4InfoOuterClass.ValueSetOrBuilder
Protobuf type p4.config.v1.ValueSet
See Also:
  • Field Details

  • 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
    • hasPreamble

      public boolean hasPreamble()
      .p4.config.v1.Preamble preamble = 1;
      Specified by:
      hasPreamble in interface P4InfoOuterClass.ValueSetOrBuilder
      Returns:
      Whether the preamble field is set.
    • getPreamble

      public P4InfoOuterClass.Preamble getPreamble()
      .p4.config.v1.Preamble preamble = 1;
      Specified by:
      getPreamble in interface P4InfoOuterClass.ValueSetOrBuilder
      Returns:
      The preamble.
    • getPreambleOrBuilder

      public P4InfoOuterClass.PreambleOrBuilder getPreambleOrBuilder()
      .p4.config.v1.Preamble preamble = 1;
      Specified by:
      getPreambleOrBuilder in interface P4InfoOuterClass.ValueSetOrBuilder
    • getMatchList

      public List<P4InfoOuterClass.MatchField> getMatchList()
      repeated .p4.config.v1.MatchField match = 2;
      Specified by:
      getMatchList in interface P4InfoOuterClass.ValueSetOrBuilder
    • getMatchOrBuilderList

      public List<? extends P4InfoOuterClass.MatchFieldOrBuilder> getMatchOrBuilderList()
      repeated .p4.config.v1.MatchField match = 2;
      Specified by:
      getMatchOrBuilderList in interface P4InfoOuterClass.ValueSetOrBuilder
    • getMatchCount

      public int getMatchCount()
      repeated .p4.config.v1.MatchField match = 2;
      Specified by:
      getMatchCount in interface P4InfoOuterClass.ValueSetOrBuilder
    • getMatch

      public P4InfoOuterClass.MatchField getMatch(int index)
      repeated .p4.config.v1.MatchField match = 2;
      Specified by:
      getMatch in interface P4InfoOuterClass.ValueSetOrBuilder
    • getMatchOrBuilder

      public P4InfoOuterClass.MatchFieldOrBuilder getMatchOrBuilder(int index)
      repeated .p4.config.v1.MatchField match = 2;
      Specified by:
      getMatchOrBuilder in interface P4InfoOuterClass.ValueSetOrBuilder
    • getSize

      public int getSize()
       number of entries in the value_set, as per the P4 constructor call.
       
      int32 size = 3;
      Specified by:
      getSize in interface P4InfoOuterClass.ValueSetOrBuilder
      Returns:
      The size.
    • 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.ValueSet parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static P4InfoOuterClass.ValueSet 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.ValueSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

      public static P4InfoOuterClass.ValueSet.Builder newBuilder(P4InfoOuterClass.ValueSet prototype)
    • toBuilder

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

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

      public static P4InfoOuterClass.ValueSet getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<P4InfoOuterClass.ValueSet> 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.ValueSet getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder