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