public final class SeekInfo extends com.google.protobuf.GeneratedMessageV3 implements SeekInfoOrBuilder
SeekInfo specifies the range of requested blocks to return If the start position is not found, an error is immediately returned Otherwise, blocks are returned until a missing block is encountered, then behavior is dictated by the SeekBehavior specified.Protobuf type
orderer.SeekInfo
Modifier and Type | Class and Description |
---|---|
static class |
SeekInfo.Builder
SeekInfo specifies the range of requested blocks to return
If the start position is not found, an error is immediately returned
Otherwise, blocks are returned until a missing block is encountered, then behavior is dictated
by the SeekBehavior specified.
|
static class |
SeekInfo.SeekBehavior
If BLOCK_UNTIL_READY is specified, the reply will block until the requested blocks are available,
if FAIL_IF_NOT_READY is specified, the reply will return an error indicating that the block is not
found.
|
static class |
SeekInfo.SeekErrorResponse
SeekErrorTolerance indicates to the server how block provider errors should be tolerated.
|
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 |
BEHAVIOR_FIELD_NUMBER |
static int |
ERROR_RESPONSE_FIELD_NUMBER |
static int |
START_FIELD_NUMBER |
static int |
STOP_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
SeekInfo.SeekBehavior |
getBehavior()
The behavior when a missing block is encountered
|
int |
getBehaviorValue()
The behavior when a missing block is encountered
|
static SeekInfo |
getDefaultInstance() |
SeekInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
SeekInfo.SeekErrorResponse |
getErrorResponse()
How to respond to errors reported to the deliver service
|
int |
getErrorResponseValue()
How to respond to errors reported to the deliver service
|
com.google.protobuf.Parser<SeekInfo> |
getParserForType() |
int |
getSerializedSize() |
SeekPosition |
getStart()
The position to start the deliver from
|
SeekPositionOrBuilder |
getStartOrBuilder()
The position to start the deliver from
|
SeekPosition |
getStop()
The position to stop the deliver
|
SeekPositionOrBuilder |
getStopOrBuilder()
The position to stop the deliver
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasStart()
The position to start the deliver from
|
boolean |
hasStop()
The position to stop the deliver
|
boolean |
isInitialized() |
static SeekInfo.Builder |
newBuilder() |
static SeekInfo.Builder |
newBuilder(SeekInfo prototype) |
SeekInfo.Builder |
newBuilderForType() |
static SeekInfo |
parseDelimitedFrom(InputStream input) |
static SeekInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SeekInfo |
parseFrom(byte[] data) |
static SeekInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SeekInfo |
parseFrom(ByteBuffer data) |
static SeekInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SeekInfo |
parseFrom(com.google.protobuf.ByteString data) |
static SeekInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SeekInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SeekInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SeekInfo |
parseFrom(InputStream input) |
static SeekInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SeekInfo> |
parser() |
SeekInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
findInitializationErrors, getInitializationErrorString, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int START_FIELD_NUMBER
public static final int STOP_FIELD_NUMBER
public static final int BEHAVIOR_FIELD_NUMBER
public static final int ERROR_RESPONSE_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()
public boolean hasStart()
The position to start the deliver from
.orderer.SeekPosition start = 1 [json_name = "start"];
hasStart
in interface SeekInfoOrBuilder
public SeekPosition getStart()
The position to start the deliver from
.orderer.SeekPosition start = 1 [json_name = "start"];
getStart
in interface SeekInfoOrBuilder
public SeekPositionOrBuilder getStartOrBuilder()
The position to start the deliver from
.orderer.SeekPosition start = 1 [json_name = "start"];
getStartOrBuilder
in interface SeekInfoOrBuilder
public boolean hasStop()
The position to stop the deliver
.orderer.SeekPosition stop = 2 [json_name = "stop"];
hasStop
in interface SeekInfoOrBuilder
public SeekPosition getStop()
The position to stop the deliver
.orderer.SeekPosition stop = 2 [json_name = "stop"];
getStop
in interface SeekInfoOrBuilder
public SeekPositionOrBuilder getStopOrBuilder()
The position to stop the deliver
.orderer.SeekPosition stop = 2 [json_name = "stop"];
getStopOrBuilder
in interface SeekInfoOrBuilder
public int getBehaviorValue()
The behavior when a missing block is encountered
.orderer.SeekInfo.SeekBehavior behavior = 3 [json_name = "behavior"];
getBehaviorValue
in interface SeekInfoOrBuilder
public SeekInfo.SeekBehavior getBehavior()
The behavior when a missing block is encountered
.orderer.SeekInfo.SeekBehavior behavior = 3 [json_name = "behavior"];
getBehavior
in interface SeekInfoOrBuilder
public int getErrorResponseValue()
How to respond to errors reported to the deliver service
.orderer.SeekInfo.SeekErrorResponse error_response = 4 [json_name = "errorResponse"];
getErrorResponseValue
in interface SeekInfoOrBuilder
public SeekInfo.SeekErrorResponse getErrorResponse()
How to respond to errors reported to the deliver service
.orderer.SeekInfo.SeekErrorResponse error_response = 4 [json_name = "errorResponse"];
getErrorResponse
in interface SeekInfoOrBuilder
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 SeekInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SeekInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SeekInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SeekInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SeekInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SeekInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SeekInfo parseFrom(InputStream input) throws IOException
IOException
public static SeekInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static SeekInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static SeekInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static SeekInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static SeekInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public SeekInfo.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static SeekInfo.Builder newBuilder()
public static SeekInfo.Builder newBuilder(SeekInfo prototype)
public SeekInfo.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static SeekInfo getDefaultInstance()
public static com.google.protobuf.Parser<SeekInfo> parser()
public com.google.protobuf.Parser<SeekInfo> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public SeekInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.