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 alreadyProtobuf 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public long getMaxTimeoutNs()
max timeout for outstanding digest data
int64 max_timeout_ns = 1;
getMaxTimeoutNs
in interface DigestEntry.ConfigOrBuilder
public int getMaxListSize()
max size for a digest list
int32 max_list_size = 2;
getMaxListSize
in interface DigestEntry.ConfigOrBuilder
public long getAckTimeoutNs()
timeout for DigestListAck message
int64 ack_timeout_ns = 3;
getAckTimeoutNs
in interface DigestEntry.ConfigOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static DigestEntry.Config parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DigestEntry.Config parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DigestEntry.Config parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DigestEntry.Config parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DigestEntry.Config parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DigestEntry.Config parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DigestEntry.Config parseFrom(InputStream input) throws IOException
IOException
public static DigestEntry.Config parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DigestEntry.Config parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DigestEntry.Config parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DigestEntry.Config parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static DigestEntry.Config parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public DigestEntry.Config.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected DigestEntry.Config.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public DigestEntry.Config getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2018 OpenDaylight. All rights reserved.