Package p4.v1

Class P4DataOuterClass.P4HeaderStack.Builder

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public P4DataOuterClass.P4HeaderStack.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<P4DataOuterClass.P4HeaderStack.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<P4DataOuterClass.P4HeaderStack.Builder>
    • mergeFrom

      public P4DataOuterClass.P4HeaderStack.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<P4DataOuterClass.P4HeaderStack.Builder>
      Throws:
      IOException
    • 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
    • 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
    • setEntries

       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;
    • setEntries

      public P4DataOuterClass.P4HeaderStack.Builder setEntries(int index, P4DataOuterClass.P4Header.Builder builderForValue)
       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;
    • addEntries

       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;
    • addEntries

       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;
    • addEntries

       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;
    • addEntries

      public P4DataOuterClass.P4HeaderStack.Builder addEntries(int index, P4DataOuterClass.P4Header.Builder builderForValue)
       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;
    • addAllEntries

       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;
    • clearEntries

       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;
    • removeEntries

      public P4DataOuterClass.P4HeaderStack.Builder removeEntries(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;
    • getEntriesBuilder

      public P4DataOuterClass.P4Header.Builder getEntriesBuilder(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;
    • 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
    • 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
    • addEntriesBuilder

      public P4DataOuterClass.P4Header.Builder addEntriesBuilder()
       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;
    • addEntriesBuilder

      public P4DataOuterClass.P4Header.Builder addEntriesBuilder(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;
    • getEntriesBuilderList

      public List<P4DataOuterClass.P4Header.Builder> getEntriesBuilderList()
       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;