public static final class DigestEntry.Config extends com.google.protobuf.GeneratedMessageV3 implements 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| Modifier and Type | Class and Description |
|---|---|
static class |
DigestEntry.Config.Builder
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
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ACK_TIMEOUT_NS_FIELD_NUMBER |
static int |
MAX_LIST_SIZE_FIELD_NUMBER |
static int |
MAX_TIMEOUT_NS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getAckTimeoutNs()
timeout for DigestListAck message
|
static DigestEntry.Config |
getDefaultInstance() |
DigestEntry.Config |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getMaxListSize()
max size for a digest list
|
long |
getMaxTimeoutNs()
max timeout for outstanding digest data
|
com.google.protobuf.Parser<DigestEntry.Config> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DigestEntry.Config.Builder |
newBuilder() |
static DigestEntry.Config.Builder |
newBuilder(DigestEntry.Config prototype) |
DigestEntry.Config.Builder |
newBuilderForType() |
protected DigestEntry.Config.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static DigestEntry.Config |
parseDelimitedFrom(InputStream input) |
static DigestEntry.Config |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DigestEntry.Config |
parseFrom(byte[] data) |
static DigestEntry.Config |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DigestEntry.Config |
parseFrom(ByteBuffer data) |
static DigestEntry.Config |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DigestEntry.Config |
parseFrom(com.google.protobuf.ByteString data) |
static DigestEntry.Config |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DigestEntry.Config |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DigestEntry.Config |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DigestEntry.Config |
parseFrom(InputStream input) |
static DigestEntry.Config |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DigestEntry.Config> |
parser() |
DigestEntry.Config.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MAX_TIMEOUT_NS_FIELD_NUMBER
public static final int MAX_LIST_SIZE_FIELD_NUMBER
public static final int ACK_TIMEOUT_NS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public long getMaxTimeoutNs()
max timeout for outstanding digest data
int64 max_timeout_ns = 1;getMaxTimeoutNs in interface DigestEntry.ConfigOrBuilderpublic int getMaxListSize()
max size for a digest list
int32 max_list_size = 2;getMaxListSize in interface DigestEntry.ConfigOrBuilderpublic long getAckTimeoutNs()
timeout for DigestListAck message
int64 ack_timeout_ns = 3;getAckTimeoutNs in interface DigestEntry.ConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DigestEntry.Config parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DigestEntry.Config parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DigestEntry.Config parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DigestEntry.Config parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DigestEntry.Config parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DigestEntry.Config parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DigestEntry.Config parseFrom(InputStream input) throws IOException
IOExceptionpublic static DigestEntry.Config parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DigestEntry.Config parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DigestEntry.Config parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DigestEntry.Config parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DigestEntry.Config parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DigestEntry.Config.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DigestEntry.Config.Builder newBuilder()
public static DigestEntry.Config.Builder newBuilder(DigestEntry.Config prototype)
public DigestEntry.Config.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DigestEntry.Config.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DigestEntry.Config getDefaultInstance()
public static com.google.protobuf.Parser<DigestEntry.Config> parser()
public com.google.protobuf.Parser<DigestEntry.Config> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DigestEntry.Config getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 OpenDaylight. All rights reserved.