Package p4.v1

Class P4RuntimeOuterClass.DigestList

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

public static final class P4RuntimeOuterClass.DigestList extends com.google.protobuf.GeneratedMessage implements P4RuntimeOuterClass.DigestListOrBuilder
Protobuf type p4.v1.DigestList
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
    • getDigestId

      public int getDigestId()
       identifies the digest extern instance
       
      uint32 digest_id = 1;
      Specified by:
      getDigestId in interface P4RuntimeOuterClass.DigestListOrBuilder
      Returns:
      The digestId.
    • getListId

      public long getListId()
       identifies a list of entries, used by receiver to ack
       
      uint64 list_id = 2;
      Specified by:
      getListId in interface P4RuntimeOuterClass.DigestListOrBuilder
      Returns:
      The listId.
    • getDataList

      public List<P4DataOuterClass.P4Data> getDataList()
       List of entries: each call to the Digest<T>::pack() method corresponds to
       one entry and we can have as little as one entry.
       
      repeated .p4.v1.P4Data data = 3;
      Specified by:
      getDataList in interface P4RuntimeOuterClass.DigestListOrBuilder
    • getDataOrBuilderList

      public List<? extends P4DataOuterClass.P4DataOrBuilder> getDataOrBuilderList()
       List of entries: each call to the Digest<T>::pack() method corresponds to
       one entry and we can have as little as one entry.
       
      repeated .p4.v1.P4Data data = 3;
      Specified by:
      getDataOrBuilderList in interface P4RuntimeOuterClass.DigestListOrBuilder
    • getDataCount

      public int getDataCount()
       List of entries: each call to the Digest<T>::pack() method corresponds to
       one entry and we can have as little as one entry.
       
      repeated .p4.v1.P4Data data = 3;
      Specified by:
      getDataCount in interface P4RuntimeOuterClass.DigestListOrBuilder
    • getData

      public P4DataOuterClass.P4Data getData(int index)
       List of entries: each call to the Digest<T>::pack() method corresponds to
       one entry and we can have as little as one entry.
       
      repeated .p4.v1.P4Data data = 3;
      Specified by:
      getData in interface P4RuntimeOuterClass.DigestListOrBuilder
    • getDataOrBuilder

      public P4DataOuterClass.P4DataOrBuilder getDataOrBuilder(int index)
       List of entries: each call to the Digest<T>::pack() method corresponds to
       one entry and we can have as little as one entry.
       
      repeated .p4.v1.P4Data data = 3;
      Specified by:
      getDataOrBuilder in interface P4RuntimeOuterClass.DigestListOrBuilder
    • getTimestamp

      public long getTimestamp()
       Timestamp at which the server generated the message (in nanoseconds since
       Epoch)
       
      int64 timestamp = 4;
      Specified by:
      getTimestamp in interface P4RuntimeOuterClass.DigestListOrBuilder
      Returns:
      The timestamp.
    • 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 P4RuntimeOuterClass.DigestList parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static P4RuntimeOuterClass.DigestList parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static P4RuntimeOuterClass.DigestList parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static P4RuntimeOuterClass.DigestList.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static P4RuntimeOuterClass.DigestList getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<P4RuntimeOuterClass.DigestList> parser()
    • getParserForType

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