public static final class SeekInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SeekInfo.Builder> 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 | Method and Description |
---|---|
SeekInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SeekInfo |
build() |
SeekInfo |
buildPartial() |
SeekInfo.Builder |
clear() |
SeekInfo.Builder |
clearBehavior()
The behavior when a missing block is encountered
|
SeekInfo.Builder |
clearErrorResponse()
How to respond to errors reported to the deliver service
|
SeekInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SeekInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SeekInfo.Builder |
clearStart()
The position to start the deliver from
|
SeekInfo.Builder |
clearStop()
The position to stop the deliver
|
SeekInfo.Builder |
clone() |
SeekInfo.SeekBehavior |
getBehavior()
The behavior when a missing block is encountered
|
int |
getBehaviorValue()
The behavior when a missing block is encountered
|
SeekInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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
|
SeekPosition |
getStart()
The position to start the deliver from
|
SeekPosition.Builder |
getStartBuilder()
The position to start the deliver from
|
SeekPositionOrBuilder |
getStartOrBuilder()
The position to start the deliver from
|
SeekPosition |
getStop()
The position to stop the deliver
|
SeekPosition.Builder |
getStopBuilder()
The position to stop the deliver
|
SeekPositionOrBuilder |
getStopOrBuilder()
The position to stop the deliver
|
boolean |
hasStart()
The position to start the deliver from
|
boolean |
hasStop()
The position to stop the deliver
|
boolean |
isInitialized() |
SeekInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SeekInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
SeekInfo.Builder |
mergeFrom(SeekInfo other) |
SeekInfo.Builder |
mergeStart(SeekPosition value)
The position to start the deliver from
|
SeekInfo.Builder |
mergeStop(SeekPosition value)
The position to stop the deliver
|
SeekInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SeekInfo.Builder |
setBehavior(SeekInfo.SeekBehavior value)
The behavior when a missing block is encountered
|
SeekInfo.Builder |
setBehaviorValue(int value)
The behavior when a missing block is encountered
|
SeekInfo.Builder |
setErrorResponse(SeekInfo.SeekErrorResponse value)
How to respond to errors reported to the deliver service
|
SeekInfo.Builder |
setErrorResponseValue(int value)
How to respond to errors reported to the deliver service
|
SeekInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SeekInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SeekInfo.Builder |
setStart(SeekPosition.Builder builderForValue)
The position to start the deliver from
|
SeekInfo.Builder |
setStart(SeekPosition value)
The position to start the deliver from
|
SeekInfo.Builder |
setStop(SeekPosition.Builder builderForValue)
The position to stop the deliver
|
SeekInfo.Builder |
setStop(SeekPosition value)
The position to stop the deliver
|
SeekInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public SeekInfo.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<SeekInfo.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<SeekInfo.Builder>
public SeekInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SeekInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SeekInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SeekInfo.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<SeekInfo.Builder>
public SeekInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<SeekInfo.Builder>
public SeekInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<SeekInfo.Builder>
public SeekInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<SeekInfo.Builder>
public SeekInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SeekInfo.Builder>
public SeekInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SeekInfo.Builder>
public SeekInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SeekInfo.Builder>
public SeekInfo.Builder mergeFrom(SeekInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<SeekInfo.Builder>
public SeekInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SeekInfo.Builder>
IOException
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 SeekInfo.Builder setStart(SeekPosition value)
The position to start the deliver from
.orderer.SeekPosition start = 1 [json_name = "start"];
public SeekInfo.Builder setStart(SeekPosition.Builder builderForValue)
The position to start the deliver from
.orderer.SeekPosition start = 1 [json_name = "start"];
public SeekInfo.Builder mergeStart(SeekPosition value)
The position to start the deliver from
.orderer.SeekPosition start = 1 [json_name = "start"];
public SeekInfo.Builder clearStart()
The position to start the deliver from
.orderer.SeekPosition start = 1 [json_name = "start"];
public SeekPosition.Builder getStartBuilder()
The position to start the deliver from
.orderer.SeekPosition start = 1 [json_name = "start"];
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 SeekInfo.Builder setStop(SeekPosition value)
The position to stop the deliver
.orderer.SeekPosition stop = 2 [json_name = "stop"];
public SeekInfo.Builder setStop(SeekPosition.Builder builderForValue)
The position to stop the deliver
.orderer.SeekPosition stop = 2 [json_name = "stop"];
public SeekInfo.Builder mergeStop(SeekPosition value)
The position to stop the deliver
.orderer.SeekPosition stop = 2 [json_name = "stop"];
public SeekInfo.Builder clearStop()
The position to stop the deliver
.orderer.SeekPosition stop = 2 [json_name = "stop"];
public SeekPosition.Builder getStopBuilder()
The position to stop the deliver
.orderer.SeekPosition stop = 2 [json_name = "stop"];
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.Builder setBehaviorValue(int value)
The behavior when a missing block is encountered
.orderer.SeekInfo.SeekBehavior behavior = 3 [json_name = "behavior"];
value
- The enum numeric value on the wire for behavior to set.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 SeekInfo.Builder setBehavior(SeekInfo.SeekBehavior value)
The behavior when a missing block is encountered
.orderer.SeekInfo.SeekBehavior behavior = 3 [json_name = "behavior"];
value
- The behavior to set.public SeekInfo.Builder clearBehavior()
The behavior when a missing block is encountered
.orderer.SeekInfo.SeekBehavior behavior = 3 [json_name = "behavior"];
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.Builder setErrorResponseValue(int value)
How to respond to errors reported to the deliver service
.orderer.SeekInfo.SeekErrorResponse error_response = 4 [json_name = "errorResponse"];
value
- The enum numeric value on the wire for errorResponse to set.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 SeekInfo.Builder setErrorResponse(SeekInfo.SeekErrorResponse value)
How to respond to errors reported to the deliver service
.orderer.SeekInfo.SeekErrorResponse error_response = 4 [json_name = "errorResponse"];
value
- The errorResponse to set.public SeekInfo.Builder clearErrorResponse()
How to respond to errors reported to the deliver service
.orderer.SeekInfo.SeekErrorResponse error_response = 4 [json_name = "errorResponse"];
public final SeekInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SeekInfo.Builder>
public final SeekInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SeekInfo.Builder>
Copyright © 2022. All rights reserved.