Package io.hstream.internal
Class ReadSingleShardStreamRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ReadSingleShardStreamRequest.Builder>
-
- io.hstream.internal.ReadSingleShardStreamRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ReadSingleShardStreamRequestOrBuilder
,Cloneable
- Enclosing class:
- ReadSingleShardStreamRequest
public static final class ReadSingleShardStreamRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReadSingleShardStreamRequest.Builder> implements ReadSingleShardStreamRequestOrBuilder
Protobuf typehstream.server.ReadSingleShardStreamRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadSingleShardStreamRequest
build()
ReadSingleShardStreamRequest
buildPartial()
ReadSingleShardStreamRequest.Builder
clear()
ReadSingleShardStreamRequest.Builder
clearFrom()
.hstream.server.ShardOffset from = 3;
ReadSingleShardStreamRequest.Builder
clearMaxReadBatches()
Total number of batches reader read at mostReadSingleShardStreamRequest.Builder
clearReaderId()
string readerId = 1;
ReadSingleShardStreamRequest.Builder
clearStreamName()
string streamName = 2;
ReadSingleShardStreamRequest.Builder
clearUntil()
.hstream.server.ShardOffset until = 4;
ReadSingleShardStreamRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ShardOffset
getFrom()
.hstream.server.ShardOffset from = 3;
ShardOffset.Builder
getFromBuilder()
.hstream.server.ShardOffset from = 3;
ShardOffsetOrBuilder
getFromOrBuilder()
.hstream.server.ShardOffset 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;
ShardOffset
getUntil()
.hstream.server.ShardOffset until = 4;
ShardOffset.Builder
getUntilBuilder()
.hstream.server.ShardOffset until = 4;
ShardOffsetOrBuilder
getUntilOrBuilder()
.hstream.server.ShardOffset until = 4;
boolean
hasFrom()
.hstream.server.ShardOffset from = 3;
boolean
hasUntil()
.hstream.server.ShardOffset until = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ReadSingleShardStreamRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ReadSingleShardStreamRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ReadSingleShardStreamRequest.Builder
mergeFrom(ReadSingleShardStreamRequest other)
ReadSingleShardStreamRequest.Builder
mergeFrom(ShardOffset value)
.hstream.server.ShardOffset from = 3;
ReadSingleShardStreamRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ReadSingleShardStreamRequest.Builder
mergeUntil(ShardOffset value)
.hstream.server.ShardOffset until = 4;
ReadSingleShardStreamRequest.Builder
setFrom(ShardOffset value)
.hstream.server.ShardOffset from = 3;
ReadSingleShardStreamRequest.Builder
setFrom(ShardOffset.Builder builderForValue)
.hstream.server.ShardOffset from = 3;
ReadSingleShardStreamRequest.Builder
setMaxReadBatches(long value)
Total number of batches reader read at mostReadSingleShardStreamRequest.Builder
setReaderId(String value)
string readerId = 1;
ReadSingleShardStreamRequest.Builder
setReaderIdBytes(com.google.protobuf.ByteString value)
string readerId = 1;
ReadSingleShardStreamRequest.Builder
setStreamName(String value)
string streamName = 2;
ReadSingleShardStreamRequest.Builder
setStreamNameBytes(com.google.protobuf.ByteString value)
string streamName = 2;
ReadSingleShardStreamRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ReadSingleShardStreamRequest.Builder
setUntil(ShardOffset value)
.hstream.server.ShardOffset until = 4;
ReadSingleShardStreamRequest.Builder
setUntil(ShardOffset.Builder builderForValue)
.hstream.server.ShardOffset 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<ReadSingleShardStreamRequest.Builder>
-
clear
public ReadSingleShardStreamRequest.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<ReadSingleShardStreamRequest.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<ReadSingleShardStreamRequest.Builder>
-
getDefaultInstanceForType
public ReadSingleShardStreamRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReadSingleShardStreamRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReadSingleShardStreamRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ReadSingleShardStreamRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReadSingleShardStreamRequest.Builder>
-
mergeFrom
public ReadSingleShardStreamRequest.Builder mergeFrom(ReadSingleShardStreamRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadSingleShardStreamRequest.Builder>
-
mergeFrom
public ReadSingleShardStreamRequest.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<ReadSingleShardStreamRequest.Builder>
- Throws:
IOException
-
getReaderId
public String getReaderId()
string readerId = 1;
- Specified by:
getReaderId
in interfaceReadSingleShardStreamRequestOrBuilder
- Returns:
- The readerId.
-
getReaderIdBytes
public com.google.protobuf.ByteString getReaderIdBytes()
string readerId = 1;
- Specified by:
getReaderIdBytes
in interfaceReadSingleShardStreamRequestOrBuilder
- Returns:
- The bytes for readerId.
-
setReaderId
public ReadSingleShardStreamRequest.Builder setReaderId(String value)
string readerId = 1;
- Parameters:
value
- The readerId to set.- Returns:
- This builder for chaining.
-
clearReaderId
public ReadSingleShardStreamRequest.Builder clearReaderId()
string readerId = 1;
- Returns:
- This builder for chaining.
-
setReaderIdBytes
public ReadSingleShardStreamRequest.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 interfaceReadSingleShardStreamRequestOrBuilder
- Returns:
- The streamName.
-
getStreamNameBytes
public com.google.protobuf.ByteString getStreamNameBytes()
string streamName = 2;
- Specified by:
getStreamNameBytes
in interfaceReadSingleShardStreamRequestOrBuilder
- Returns:
- The bytes for streamName.
-
setStreamName
public ReadSingleShardStreamRequest.Builder setStreamName(String value)
string streamName = 2;
- Parameters:
value
- The streamName to set.- Returns:
- This builder for chaining.
-
clearStreamName
public ReadSingleShardStreamRequest.Builder clearStreamName()
string streamName = 2;
- Returns:
- This builder for chaining.
-
setStreamNameBytes
public ReadSingleShardStreamRequest.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.ShardOffset from = 3;
- Specified by:
hasFrom
in interfaceReadSingleShardStreamRequestOrBuilder
- Returns:
- Whether the from field is set.
-
getFrom
public ShardOffset getFrom()
.hstream.server.ShardOffset from = 3;
- Specified by:
getFrom
in interfaceReadSingleShardStreamRequestOrBuilder
- Returns:
- The from.
-
setFrom
public ReadSingleShardStreamRequest.Builder setFrom(ShardOffset value)
.hstream.server.ShardOffset from = 3;
-
setFrom
public ReadSingleShardStreamRequest.Builder setFrom(ShardOffset.Builder builderForValue)
.hstream.server.ShardOffset from = 3;
-
mergeFrom
public ReadSingleShardStreamRequest.Builder mergeFrom(ShardOffset value)
.hstream.server.ShardOffset from = 3;
-
clearFrom
public ReadSingleShardStreamRequest.Builder clearFrom()
.hstream.server.ShardOffset from = 3;
-
getFromBuilder
public ShardOffset.Builder getFromBuilder()
.hstream.server.ShardOffset from = 3;
-
getFromOrBuilder
public ShardOffsetOrBuilder getFromOrBuilder()
.hstream.server.ShardOffset from = 3;
- Specified by:
getFromOrBuilder
in interfaceReadSingleShardStreamRequestOrBuilder
-
hasUntil
public boolean hasUntil()
.hstream.server.ShardOffset until = 4;
- Specified by:
hasUntil
in interfaceReadSingleShardStreamRequestOrBuilder
- Returns:
- Whether the until field is set.
-
getUntil
public ShardOffset getUntil()
.hstream.server.ShardOffset until = 4;
- Specified by:
getUntil
in interfaceReadSingleShardStreamRequestOrBuilder
- Returns:
- The until.
-
setUntil
public ReadSingleShardStreamRequest.Builder setUntil(ShardOffset value)
.hstream.server.ShardOffset until = 4;
-
setUntil
public ReadSingleShardStreamRequest.Builder setUntil(ShardOffset.Builder builderForValue)
.hstream.server.ShardOffset until = 4;
-
mergeUntil
public ReadSingleShardStreamRequest.Builder mergeUntil(ShardOffset value)
.hstream.server.ShardOffset until = 4;
-
clearUntil
public ReadSingleShardStreamRequest.Builder clearUntil()
.hstream.server.ShardOffset until = 4;
-
getUntilBuilder
public ShardOffset.Builder getUntilBuilder()
.hstream.server.ShardOffset until = 4;
-
getUntilOrBuilder
public ShardOffsetOrBuilder getUntilOrBuilder()
.hstream.server.ShardOffset until = 4;
- Specified by:
getUntilOrBuilder
in interfaceReadSingleShardStreamRequestOrBuilder
-
getMaxReadBatches
public long getMaxReadBatches()
Total number of batches reader read at most
uint64 maxReadBatches = 5;
- Specified by:
getMaxReadBatches
in interfaceReadSingleShardStreamRequestOrBuilder
- Returns:
- The maxReadBatches.
-
setMaxReadBatches
public ReadSingleShardStreamRequest.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 ReadSingleShardStreamRequest.Builder clearMaxReadBatches()
Total number of batches reader read at most
uint64 maxReadBatches = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ReadSingleShardStreamRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadSingleShardStreamRequest.Builder>
-
mergeUnknownFields
public final ReadSingleShardStreamRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadSingleShardStreamRequest.Builder>
-
-