Package io.hstream.internal
Class ReadStreamRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ReadStreamRequest.Builder>
-
- io.hstream.internal.ReadStreamRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ReadStreamRequestOrBuilder
,Cloneable
- Enclosing class:
- ReadStreamRequest
public static final class ReadStreamRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReadStreamRequest.Builder> implements ReadStreamRequestOrBuilder
Protobuf typehstream.server.ReadStreamRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadStreamRequest
build()
ReadStreamRequest
buildPartial()
ReadStreamRequest.Builder
clear()
ReadStreamRequest.Builder
clearFrom()
.hstream.server.StreamOffset from = 3;
ReadStreamRequest.Builder
clearMaxReadBatches()
Total number of batches reader read at mostReadStreamRequest.Builder
clearReaderId()
string readerId = 1;
ReadStreamRequest.Builder
clearStreamName()
string streamName = 2;
ReadStreamRequest.Builder
clearUntil()
.hstream.server.StreamOffset until = 4;
ReadStreamRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
StreamOffset
getFrom()
.hstream.server.StreamOffset from = 3;
StreamOffset.Builder
getFromBuilder()
.hstream.server.StreamOffset from = 3;
StreamOffsetOrBuilder
getFromOrBuilder()
.hstream.server.StreamOffset from = 3;
long
getMaxReadBatches()
Total number of batches reader read at mostString
getReaderId()
string readerId = 1;
com.google.protobuf.ByteString
getReaderIdBytes()
string readerId = 1;
String
getStreamName()
string streamName = 2;
com.google.protobuf.ByteString
getStreamNameBytes()
string streamName = 2;
StreamOffset
getUntil()
.hstream.server.StreamOffset until = 4;
StreamOffset.Builder
getUntilBuilder()
.hstream.server.StreamOffset until = 4;
StreamOffsetOrBuilder
getUntilOrBuilder()
.hstream.server.StreamOffset until = 4;
boolean
hasFrom()
.hstream.server.StreamOffset from = 3;
boolean
hasUntil()
.hstream.server.StreamOffset until = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ReadStreamRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ReadStreamRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ReadStreamRequest.Builder
mergeFrom(ReadStreamRequest other)
ReadStreamRequest.Builder
mergeFrom(StreamOffset value)
.hstream.server.StreamOffset from = 3;
ReadStreamRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ReadStreamRequest.Builder
mergeUntil(StreamOffset value)
.hstream.server.StreamOffset until = 4;
ReadStreamRequest.Builder
setFrom(StreamOffset value)
.hstream.server.StreamOffset from = 3;
ReadStreamRequest.Builder
setFrom(StreamOffset.Builder builderForValue)
.hstream.server.StreamOffset from = 3;
ReadStreamRequest.Builder
setMaxReadBatches(long value)
Total number of batches reader read at mostReadStreamRequest.Builder
setReaderId(String value)
string readerId = 1;
ReadStreamRequest.Builder
setReaderIdBytes(com.google.protobuf.ByteString value)
string readerId = 1;
ReadStreamRequest.Builder
setStreamName(String value)
string streamName = 2;
ReadStreamRequest.Builder
setStreamNameBytes(com.google.protobuf.ByteString value)
string streamName = 2;
ReadStreamRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ReadStreamRequest.Builder
setUntil(StreamOffset value)
.hstream.server.StreamOffset until = 4;
ReadStreamRequest.Builder
setUntil(StreamOffset.Builder builderForValue)
.hstream.server.StreamOffset until = 4;
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadStreamRequest.Builder>
-
clear
public ReadStreamRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadStreamRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadStreamRequest.Builder>
-
getDefaultInstanceForType
public ReadStreamRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReadStreamRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReadStreamRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ReadStreamRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReadStreamRequest.Builder>
-
mergeFrom
public ReadStreamRequest.Builder mergeFrom(ReadStreamRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadStreamRequest.Builder>
-
mergeFrom
public ReadStreamRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReadStreamRequest.Builder>
- Throws:
IOException
-
getReaderId
public String getReaderId()
string readerId = 1;
- Specified by:
getReaderId
in interfaceReadStreamRequestOrBuilder
- Returns:
- The readerId.
-
getReaderIdBytes
public com.google.protobuf.ByteString getReaderIdBytes()
string readerId = 1;
- Specified by:
getReaderIdBytes
in interfaceReadStreamRequestOrBuilder
- Returns:
- The bytes for readerId.
-
setReaderId
public ReadStreamRequest.Builder setReaderId(String value)
string readerId = 1;
- Parameters:
value
- The readerId to set.- Returns:
- This builder for chaining.
-
clearReaderId
public ReadStreamRequest.Builder clearReaderId()
string readerId = 1;
- Returns:
- This builder for chaining.
-
setReaderIdBytes
public ReadStreamRequest.Builder setReaderIdBytes(com.google.protobuf.ByteString value)
string readerId = 1;
- Parameters:
value
- The bytes for readerId to set.- Returns:
- This builder for chaining.
-
getStreamName
public String getStreamName()
string streamName = 2;
- Specified by:
getStreamName
in interfaceReadStreamRequestOrBuilder
- Returns:
- The streamName.
-
getStreamNameBytes
public com.google.protobuf.ByteString getStreamNameBytes()
string streamName = 2;
- Specified by:
getStreamNameBytes
in interfaceReadStreamRequestOrBuilder
- Returns:
- The bytes for streamName.
-
setStreamName
public ReadStreamRequest.Builder setStreamName(String value)
string streamName = 2;
- Parameters:
value
- The streamName to set.- Returns:
- This builder for chaining.
-
clearStreamName
public ReadStreamRequest.Builder clearStreamName()
string streamName = 2;
- Returns:
- This builder for chaining.
-
setStreamNameBytes
public ReadStreamRequest.Builder setStreamNameBytes(com.google.protobuf.ByteString value)
string streamName = 2;
- Parameters:
value
- The bytes for streamName to set.- Returns:
- This builder for chaining.
-
hasFrom
public boolean hasFrom()
.hstream.server.StreamOffset from = 3;
- Specified by:
hasFrom
in interfaceReadStreamRequestOrBuilder
- Returns:
- Whether the from field is set.
-
getFrom
public StreamOffset getFrom()
.hstream.server.StreamOffset from = 3;
- Specified by:
getFrom
in interfaceReadStreamRequestOrBuilder
- Returns:
- The from.
-
setFrom
public ReadStreamRequest.Builder setFrom(StreamOffset value)
.hstream.server.StreamOffset from = 3;
-
setFrom
public ReadStreamRequest.Builder setFrom(StreamOffset.Builder builderForValue)
.hstream.server.StreamOffset from = 3;
-
mergeFrom
public ReadStreamRequest.Builder mergeFrom(StreamOffset value)
.hstream.server.StreamOffset from = 3;
-
clearFrom
public ReadStreamRequest.Builder clearFrom()
.hstream.server.StreamOffset from = 3;
-
getFromBuilder
public StreamOffset.Builder getFromBuilder()
.hstream.server.StreamOffset from = 3;
-
getFromOrBuilder
public StreamOffsetOrBuilder getFromOrBuilder()
.hstream.server.StreamOffset from = 3;
- Specified by:
getFromOrBuilder
in interfaceReadStreamRequestOrBuilder
-
hasUntil
public boolean hasUntil()
.hstream.server.StreamOffset until = 4;
- Specified by:
hasUntil
in interfaceReadStreamRequestOrBuilder
- Returns:
- Whether the until field is set.
-
getUntil
public StreamOffset getUntil()
.hstream.server.StreamOffset until = 4;
- Specified by:
getUntil
in interfaceReadStreamRequestOrBuilder
- Returns:
- The until.
-
setUntil
public ReadStreamRequest.Builder setUntil(StreamOffset value)
.hstream.server.StreamOffset until = 4;
-
setUntil
public ReadStreamRequest.Builder setUntil(StreamOffset.Builder builderForValue)
.hstream.server.StreamOffset until = 4;
-
mergeUntil
public ReadStreamRequest.Builder mergeUntil(StreamOffset value)
.hstream.server.StreamOffset until = 4;
-
clearUntil
public ReadStreamRequest.Builder clearUntil()
.hstream.server.StreamOffset until = 4;
-
getUntilBuilder
public StreamOffset.Builder getUntilBuilder()
.hstream.server.StreamOffset until = 4;
-
getUntilOrBuilder
public StreamOffsetOrBuilder getUntilOrBuilder()
.hstream.server.StreamOffset until = 4;
- Specified by:
getUntilOrBuilder
in interfaceReadStreamRequestOrBuilder
-
getMaxReadBatches
public long getMaxReadBatches()
Total number of batches reader read at most
uint64 maxReadBatches = 5;
- Specified by:
getMaxReadBatches
in interfaceReadStreamRequestOrBuilder
- Returns:
- The maxReadBatches.
-
setMaxReadBatches
public ReadStreamRequest.Builder setMaxReadBatches(long value)
Total number of batches reader read at most
uint64 maxReadBatches = 5;
- Parameters:
value
- The maxReadBatches to set.- Returns:
- This builder for chaining.
-
clearMaxReadBatches
public ReadStreamRequest.Builder clearMaxReadBatches()
Total number of batches reader read at most
uint64 maxReadBatches = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ReadStreamRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadStreamRequest.Builder>
-
mergeUnknownFields
public final ReadStreamRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadStreamRequest.Builder>
-
-