Package p4.v1

Class P4RuntimeOuterClass.DigestEntry.Config

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

public static final class P4RuntimeOuterClass.DigestEntry.Config extends com.google.protobuf.GeneratedMessage implements P4RuntimeOuterClass.DigestEntry.ConfigOrBuilder
 a DigestList message is streamed when the following conditions are met:
 - there is at least one digest ready
 - the oldest digest in the list has been waiting for at least
 max_timeout_ns nanoseconds or we have gathered max_list_size digests
 already
 
Protobuf type p4.v1.DigestEntry.Config
See Also:
  • Field Details

    • MAX_TIMEOUT_NS_FIELD_NUMBER

      public static final int MAX_TIMEOUT_NS_FIELD_NUMBER
      See Also:
    • MAX_LIST_SIZE_FIELD_NUMBER

      public static final int MAX_LIST_SIZE_FIELD_NUMBER
      See Also:
    • ACK_TIMEOUT_NS_FIELD_NUMBER

      public static final int ACK_TIMEOUT_NS_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
    • getMaxTimeoutNs

      public long getMaxTimeoutNs()
       max timeout for outstanding digest data
       
      int64 max_timeout_ns = 1;
      Specified by:
      getMaxTimeoutNs in interface P4RuntimeOuterClass.DigestEntry.ConfigOrBuilder
      Returns:
      The maxTimeoutNs.
    • getMaxListSize

      public int getMaxListSize()
       max size for a digest list
       
      int32 max_list_size = 2;
      Specified by:
      getMaxListSize in interface P4RuntimeOuterClass.DigestEntry.ConfigOrBuilder
      Returns:
      The maxListSize.
    • getAckTimeoutNs

      public long getAckTimeoutNs()
       timeout for DigestListAck message
       
      int64 ack_timeout_ns = 3;
      Specified by:
      getAckTimeoutNs in interface P4RuntimeOuterClass.DigestEntry.ConfigOrBuilder
      Returns:
      The ackTimeoutNs.
    • 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.DigestEntry.Config parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

    • newBuilder

    • toBuilder

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

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

      public static P4RuntimeOuterClass.DigestEntry.Config getDefaultInstance()
    • parser

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

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