Package p4.v1

Class P4DataOuterClass.P4HeaderStack

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
p4.v1.P4DataOuterClass.P4HeaderStack
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, P4DataOuterClass.P4HeaderStackOrBuilder
Enclosing class:
P4DataOuterClass

public static final class P4DataOuterClass.P4HeaderStack extends com.google.protobuf.GeneratedMessage implements P4DataOuterClass.P4HeaderStackOrBuilder
Protobuf type p4.v1.P4HeaderStack
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
    • getEntriesList

      public List<P4DataOuterClass.P4Header> getEntriesList()
       The length of this repeated field must always be equal to the compile-time
       size of the header stack, which is specified in P4Info.
       
      repeated .p4.v1.P4Header entries = 1;
      Specified by:
      getEntriesList in interface P4DataOuterClass.P4HeaderStackOrBuilder
    • getEntriesOrBuilderList

      public List<? extends P4DataOuterClass.P4HeaderOrBuilder> getEntriesOrBuilderList()
       The length of this repeated field must always be equal to the compile-time
       size of the header stack, which is specified in P4Info.
       
      repeated .p4.v1.P4Header entries = 1;
      Specified by:
      getEntriesOrBuilderList in interface P4DataOuterClass.P4HeaderStackOrBuilder
    • getEntriesCount

      public int getEntriesCount()
       The length of this repeated field must always be equal to the compile-time
       size of the header stack, which is specified in P4Info.
       
      repeated .p4.v1.P4Header entries = 1;
      Specified by:
      getEntriesCount in interface P4DataOuterClass.P4HeaderStackOrBuilder
    • getEntries

      public P4DataOuterClass.P4Header getEntries(int index)
       The length of this repeated field must always be equal to the compile-time
       size of the header stack, which is specified in P4Info.
       
      repeated .p4.v1.P4Header entries = 1;
      Specified by:
      getEntries in interface P4DataOuterClass.P4HeaderStackOrBuilder
    • getEntriesOrBuilder

      public P4DataOuterClass.P4HeaderOrBuilder getEntriesOrBuilder(int index)
       The length of this repeated field must always be equal to the compile-time
       size of the header stack, which is specified in P4Info.
       
      repeated .p4.v1.P4Header entries = 1;
      Specified by:
      getEntriesOrBuilder in interface P4DataOuterClass.P4HeaderStackOrBuilder
    • 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 P4DataOuterClass.P4HeaderStack parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static P4DataOuterClass.P4HeaderStack parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static P4DataOuterClass.P4HeaderStack parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static P4DataOuterClass.P4HeaderStack.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static P4DataOuterClass.P4HeaderStack getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<P4DataOuterClass.P4HeaderStack> parser()
    • getParserForType

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