Package io.hstream.internal
Class ReadStreamByKeyRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ReadStreamByKeyRequest.Builder>
-
- io.hstream.internal.ReadStreamByKeyRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ReadStreamByKeyRequestOrBuilder
,Cloneable
- Enclosing class:
- ReadStreamByKeyRequest
public static final class ReadStreamByKeyRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReadStreamByKeyRequest.Builder> implements ReadStreamByKeyRequestOrBuilder
Protobuf typehstream.server.ReadStreamByKeyRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadStreamByKeyRequest
build()
ReadStreamByKeyRequest
buildPartial()
ReadStreamByKeyRequest.Builder
clear()
ReadStreamByKeyRequest.Builder
clearFrom()
.hstream.server.ShardOffset from = 4;
ReadStreamByKeyRequest.Builder
clearKey()
string key = 3;
ReadStreamByKeyRequest.Builder
clearReaderId()
string readerId = 1;
ReadStreamByKeyRequest.Builder
clearReadRecordCount()
total record return in next round readReadStreamByKeyRequest.Builder
clearStreamName()
string streamName = 2;
ReadStreamByKeyRequest.Builder
clearUntil()
.hstream.server.ShardOffset until = 5;
ReadStreamByKeyRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ShardOffset
getFrom()
.hstream.server.ShardOffset from = 4;
ShardOffset.Builder
getFromBuilder()
.hstream.server.ShardOffset from = 4;
ShardOffsetOrBuilder
getFromOrBuilder()
.hstream.server.ShardOffset from = 4;
String
getKey()
string key = 3;
com.google.protobuf.ByteString
getKeyBytes()
string key = 3;
String
getReaderId()
string readerId = 1;
com.google.protobuf.ByteString
getReaderIdBytes()
string readerId = 1;
long
getReadRecordCount()
total record return in next round readString
getStreamName()
string streamName = 2;
com.google.protobuf.ByteString
getStreamNameBytes()
string streamName = 2;
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 = 4;
boolean
hasUntil()
.hstream.server.ShardOffset until = 5;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ReadStreamByKeyRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ReadStreamByKeyRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ReadStreamByKeyRequest.Builder
mergeFrom(ReadStreamByKeyRequest other)
ReadStreamByKeyRequest.Builder
mergeFrom(ShardOffset value)
.hstream.server.ShardOffset from = 4;
ReadStreamByKeyRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ReadStreamByKeyRequest.Builder
mergeUntil(ShardOffset value)
.hstream.server.ShardOffset until = 5;
ReadStreamByKeyRequest.Builder
setFrom(ShardOffset value)
.hstream.server.ShardOffset from = 4;
ReadStreamByKeyRequest.Builder
setFrom(ShardOffset.Builder builderForValue)
.hstream.server.ShardOffset from = 4;
ReadStreamByKeyRequest.Builder
setKey(String value)
string key = 3;
ReadStreamByKeyRequest.Builder
setKeyBytes(com.google.protobuf.ByteString value)
string key = 3;
ReadStreamByKeyRequest.Builder
setReaderId(String value)
string readerId = 1;
ReadStreamByKeyRequest.Builder
setReaderIdBytes(com.google.protobuf.ByteString value)
string readerId = 1;
ReadStreamByKeyRequest.Builder
setReadRecordCount(long value)
total record return in next round readReadStreamByKeyRequest.Builder
setStreamName(String value)
string streamName = 2;
ReadStreamByKeyRequest.Builder
setStreamNameBytes(com.google.protobuf.ByteString value)
string streamName = 2;
ReadStreamByKeyRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ReadStreamByKeyRequest.Builder
setUntil(ShardOffset value)
.hstream.server.ShardOffset until = 5;
ReadStreamByKeyRequest.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<ReadStreamByKeyRequest.Builder>
-
clear
public ReadStreamByKeyRequest.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<ReadStreamByKeyRequest.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<ReadStreamByKeyRequest.Builder>
-
getDefaultInstanceForType
public ReadStreamByKeyRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReadStreamByKeyRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReadStreamByKeyRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ReadStreamByKeyRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReadStreamByKeyRequest.Builder>
-
mergeFrom
public ReadStreamByKeyRequest.Builder mergeFrom(ReadStreamByKeyRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadStreamByKeyRequest.Builder>
-
mergeFrom
public ReadStreamByKeyRequest.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<ReadStreamByKeyRequest.Builder>
- Throws:
IOException
-
getReaderId
public String getReaderId()
string readerId = 1;
- Specified by:
getReaderId
in interfaceReadStreamByKeyRequestOrBuilder
- Returns:
- The readerId.
-
getReaderIdBytes
public com.google.protobuf.ByteString getReaderIdBytes()
string readerId = 1;
- Specified by:
getReaderIdBytes
in interfaceReadStreamByKeyRequestOrBuilder
- Returns:
- The bytes for readerId.
-
setReaderId
public ReadStreamByKeyRequest.Builder setReaderId(String value)
string readerId = 1;
- Parameters:
value
- The readerId to set.- Returns:
- This builder for chaining.
-
clearReaderId
public ReadStreamByKeyRequest.Builder clearReaderId()
string readerId = 1;
- Returns:
- This builder for chaining.
-
setReaderIdBytes
public ReadStreamByKeyRequest.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 interfaceReadStreamByKeyRequestOrBuilder
- Returns:
- The streamName.
-
getStreamNameBytes
public com.google.protobuf.ByteString getStreamNameBytes()
string streamName = 2;
- Specified by:
getStreamNameBytes
in interfaceReadStreamByKeyRequestOrBuilder
- Returns:
- The bytes for streamName.
-
setStreamName
public ReadStreamByKeyRequest.Builder setStreamName(String value)
string streamName = 2;
- Parameters:
value
- The streamName to set.- Returns:
- This builder for chaining.
-
clearStreamName
public ReadStreamByKeyRequest.Builder clearStreamName()
string streamName = 2;
- Returns:
- This builder for chaining.
-
setStreamNameBytes
public ReadStreamByKeyRequest.Builder setStreamNameBytes(com.google.protobuf.ByteString value)
string streamName = 2;
- Parameters:
value
- The bytes for streamName to set.- Returns:
- This builder for chaining.
-
getKey
public String getKey()
string key = 3;
- Specified by:
getKey
in interfaceReadStreamByKeyRequestOrBuilder
- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()
string key = 3;
- Specified by:
getKeyBytes
in interfaceReadStreamByKeyRequestOrBuilder
- Returns:
- The bytes for key.
-
setKey
public ReadStreamByKeyRequest.Builder setKey(String value)
string key = 3;
- Parameters:
value
- The key to set.- Returns:
- This builder for chaining.
-
clearKey
public ReadStreamByKeyRequest.Builder clearKey()
string key = 3;
- Returns:
- This builder for chaining.
-
setKeyBytes
public ReadStreamByKeyRequest.Builder setKeyBytes(com.google.protobuf.ByteString value)
string key = 3;
- Parameters:
value
- The bytes for key to set.- Returns:
- This builder for chaining.
-
hasFrom
public boolean hasFrom()
.hstream.server.ShardOffset from = 4;
- Specified by:
hasFrom
in interfaceReadStreamByKeyRequestOrBuilder
- Returns:
- Whether the from field is set.
-
getFrom
public ShardOffset getFrom()
.hstream.server.ShardOffset from = 4;
- Specified by:
getFrom
in interfaceReadStreamByKeyRequestOrBuilder
- Returns:
- The from.
-
setFrom
public ReadStreamByKeyRequest.Builder setFrom(ShardOffset value)
.hstream.server.ShardOffset from = 4;
-
setFrom
public ReadStreamByKeyRequest.Builder setFrom(ShardOffset.Builder builderForValue)
.hstream.server.ShardOffset from = 4;
-
mergeFrom
public ReadStreamByKeyRequest.Builder mergeFrom(ShardOffset value)
.hstream.server.ShardOffset from = 4;
-
clearFrom
public ReadStreamByKeyRequest.Builder clearFrom()
.hstream.server.ShardOffset from = 4;
-
getFromBuilder
public ShardOffset.Builder getFromBuilder()
.hstream.server.ShardOffset from = 4;
-
getFromOrBuilder
public ShardOffsetOrBuilder getFromOrBuilder()
.hstream.server.ShardOffset from = 4;
- Specified by:
getFromOrBuilder
in interfaceReadStreamByKeyRequestOrBuilder
-
hasUntil
public boolean hasUntil()
.hstream.server.ShardOffset until = 5;
- Specified by:
hasUntil
in interfaceReadStreamByKeyRequestOrBuilder
- Returns:
- Whether the until field is set.
-
getUntil
public ShardOffset getUntil()
.hstream.server.ShardOffset until = 5;
- Specified by:
getUntil
in interfaceReadStreamByKeyRequestOrBuilder
- Returns:
- The until.
-
setUntil
public ReadStreamByKeyRequest.Builder setUntil(ShardOffset value)
.hstream.server.ShardOffset until = 5;
-
setUntil
public ReadStreamByKeyRequest.Builder setUntil(ShardOffset.Builder builderForValue)
.hstream.server.ShardOffset until = 5;
-
mergeUntil
public ReadStreamByKeyRequest.Builder mergeUntil(ShardOffset value)
.hstream.server.ShardOffset until = 5;
-
clearUntil
public ReadStreamByKeyRequest.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 interfaceReadStreamByKeyRequestOrBuilder
-
getReadRecordCount
public long getReadRecordCount()
total record return in next round read
uint64 readRecordCount = 6;
- Specified by:
getReadRecordCount
in interfaceReadStreamByKeyRequestOrBuilder
- Returns:
- The readRecordCount.
-
setReadRecordCount
public ReadStreamByKeyRequest.Builder setReadRecordCount(long value)
total record return in next round read
uint64 readRecordCount = 6;
- Parameters:
value
- The readRecordCount to set.- Returns:
- This builder for chaining.
-
clearReadRecordCount
public ReadStreamByKeyRequest.Builder clearReadRecordCount()
total record return in next round read
uint64 readRecordCount = 6;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ReadStreamByKeyRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadStreamByKeyRequest.Builder>
-
mergeUnknownFields
public final ReadStreamByKeyRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadStreamByKeyRequest.Builder>
-
-