Package io.hstream.internal
Class CreateShardReaderResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CreateShardReaderResponse.Builder>
-
- io.hstream.internal.CreateShardReaderResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,CreateShardReaderResponseOrBuilder
,Cloneable
- Enclosing class:
- CreateShardReaderResponse
public static final class CreateShardReaderResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateShardReaderResponse.Builder> implements CreateShardReaderResponseOrBuilder
Protobuf typehstream.server.CreateShardReaderResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateShardReaderResponse
build()
CreateShardReaderResponse
buildPartial()
CreateShardReaderResponse.Builder
clear()
CreateShardReaderResponse.Builder
clearReaderId()
string readerId = 4;
CreateShardReaderResponse.Builder
clearShardId()
uint64 shardId = 2;
CreateShardReaderResponse.Builder
clearShardOffset()
.hstream.server.ShardOffset shardOffset = 3;
CreateShardReaderResponse.Builder
clearStreamName()
string streamName = 1;
CreateShardReaderResponse.Builder
clearTimeout()
uint32 timeout = 5;
CreateShardReaderResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getReaderId()
string readerId = 4;
com.google.protobuf.ByteString
getReaderIdBytes()
string readerId = 4;
long
getShardId()
uint64 shardId = 2;
ShardOffset
getShardOffset()
.hstream.server.ShardOffset shardOffset = 3;
ShardOffset.Builder
getShardOffsetBuilder()
.hstream.server.ShardOffset shardOffset = 3;
ShardOffsetOrBuilder
getShardOffsetOrBuilder()
.hstream.server.ShardOffset shardOffset = 3;
String
getStreamName()
string streamName = 1;
com.google.protobuf.ByteString
getStreamNameBytes()
string streamName = 1;
int
getTimeout()
uint32 timeout = 5;
boolean
hasShardOffset()
.hstream.server.ShardOffset shardOffset = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CreateShardReaderResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CreateShardReaderResponse.Builder
mergeFrom(com.google.protobuf.Message other)
CreateShardReaderResponse.Builder
mergeFrom(CreateShardReaderResponse other)
CreateShardReaderResponse.Builder
mergeShardOffset(ShardOffset value)
.hstream.server.ShardOffset shardOffset = 3;
CreateShardReaderResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CreateShardReaderResponse.Builder
setReaderId(String value)
string readerId = 4;
CreateShardReaderResponse.Builder
setReaderIdBytes(com.google.protobuf.ByteString value)
string readerId = 4;
CreateShardReaderResponse.Builder
setShardId(long value)
uint64 shardId = 2;
CreateShardReaderResponse.Builder
setShardOffset(ShardOffset value)
.hstream.server.ShardOffset shardOffset = 3;
CreateShardReaderResponse.Builder
setShardOffset(ShardOffset.Builder builderForValue)
.hstream.server.ShardOffset shardOffset = 3;
CreateShardReaderResponse.Builder
setStreamName(String value)
string streamName = 1;
CreateShardReaderResponse.Builder
setStreamNameBytes(com.google.protobuf.ByteString value)
string streamName = 1;
CreateShardReaderResponse.Builder
setTimeout(int value)
uint32 timeout = 5;
CreateShardReaderResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
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<CreateShardReaderResponse.Builder>
-
clear
public CreateShardReaderResponse.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<CreateShardReaderResponse.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<CreateShardReaderResponse.Builder>
-
getDefaultInstanceForType
public CreateShardReaderResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CreateShardReaderResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CreateShardReaderResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public CreateShardReaderResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CreateShardReaderResponse.Builder>
-
mergeFrom
public CreateShardReaderResponse.Builder mergeFrom(CreateShardReaderResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateShardReaderResponse.Builder>
-
mergeFrom
public CreateShardReaderResponse.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<CreateShardReaderResponse.Builder>
- Throws:
IOException
-
getStreamName
public String getStreamName()
string streamName = 1;
- Specified by:
getStreamName
in interfaceCreateShardReaderResponseOrBuilder
- Returns:
- The streamName.
-
getStreamNameBytes
public com.google.protobuf.ByteString getStreamNameBytes()
string streamName = 1;
- Specified by:
getStreamNameBytes
in interfaceCreateShardReaderResponseOrBuilder
- Returns:
- The bytes for streamName.
-
setStreamName
public CreateShardReaderResponse.Builder setStreamName(String value)
string streamName = 1;
- Parameters:
value
- The streamName to set.- Returns:
- This builder for chaining.
-
clearStreamName
public CreateShardReaderResponse.Builder clearStreamName()
string streamName = 1;
- Returns:
- This builder for chaining.
-
setStreamNameBytes
public CreateShardReaderResponse.Builder setStreamNameBytes(com.google.protobuf.ByteString value)
string streamName = 1;
- Parameters:
value
- The bytes for streamName to set.- Returns:
- This builder for chaining.
-
getShardId
public long getShardId()
uint64 shardId = 2;
- Specified by:
getShardId
in interfaceCreateShardReaderResponseOrBuilder
- Returns:
- The shardId.
-
setShardId
public CreateShardReaderResponse.Builder setShardId(long value)
uint64 shardId = 2;
- Parameters:
value
- The shardId to set.- Returns:
- This builder for chaining.
-
clearShardId
public CreateShardReaderResponse.Builder clearShardId()
uint64 shardId = 2;
- Returns:
- This builder for chaining.
-
hasShardOffset
public boolean hasShardOffset()
.hstream.server.ShardOffset shardOffset = 3;
- Specified by:
hasShardOffset
in interfaceCreateShardReaderResponseOrBuilder
- Returns:
- Whether the shardOffset field is set.
-
getShardOffset
public ShardOffset getShardOffset()
.hstream.server.ShardOffset shardOffset = 3;
- Specified by:
getShardOffset
in interfaceCreateShardReaderResponseOrBuilder
- Returns:
- The shardOffset.
-
setShardOffset
public CreateShardReaderResponse.Builder setShardOffset(ShardOffset value)
.hstream.server.ShardOffset shardOffset = 3;
-
setShardOffset
public CreateShardReaderResponse.Builder setShardOffset(ShardOffset.Builder builderForValue)
.hstream.server.ShardOffset shardOffset = 3;
-
mergeShardOffset
public CreateShardReaderResponse.Builder mergeShardOffset(ShardOffset value)
.hstream.server.ShardOffset shardOffset = 3;
-
clearShardOffset
public CreateShardReaderResponse.Builder clearShardOffset()
.hstream.server.ShardOffset shardOffset = 3;
-
getShardOffsetBuilder
public ShardOffset.Builder getShardOffsetBuilder()
.hstream.server.ShardOffset shardOffset = 3;
-
getShardOffsetOrBuilder
public ShardOffsetOrBuilder getShardOffsetOrBuilder()
.hstream.server.ShardOffset shardOffset = 3;
- Specified by:
getShardOffsetOrBuilder
in interfaceCreateShardReaderResponseOrBuilder
-
getReaderId
public String getReaderId()
string readerId = 4;
- Specified by:
getReaderId
in interfaceCreateShardReaderResponseOrBuilder
- Returns:
- The readerId.
-
getReaderIdBytes
public com.google.protobuf.ByteString getReaderIdBytes()
string readerId = 4;
- Specified by:
getReaderIdBytes
in interfaceCreateShardReaderResponseOrBuilder
- Returns:
- The bytes for readerId.
-
setReaderId
public CreateShardReaderResponse.Builder setReaderId(String value)
string readerId = 4;
- Parameters:
value
- The readerId to set.- Returns:
- This builder for chaining.
-
clearReaderId
public CreateShardReaderResponse.Builder clearReaderId()
string readerId = 4;
- Returns:
- This builder for chaining.
-
setReaderIdBytes
public CreateShardReaderResponse.Builder setReaderIdBytes(com.google.protobuf.ByteString value)
string readerId = 4;
- Parameters:
value
- The bytes for readerId to set.- Returns:
- This builder for chaining.
-
getTimeout
public int getTimeout()
uint32 timeout = 5;
- Specified by:
getTimeout
in interfaceCreateShardReaderResponseOrBuilder
- Returns:
- The timeout.
-
setTimeout
public CreateShardReaderResponse.Builder setTimeout(int value)
uint32 timeout = 5;
- Parameters:
value
- The timeout to set.- Returns:
- This builder for chaining.
-
clearTimeout
public CreateShardReaderResponse.Builder clearTimeout()
uint32 timeout = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final CreateShardReaderResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateShardReaderResponse.Builder>
-
mergeUnknownFields
public final CreateShardReaderResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateShardReaderResponse.Builder>
-
-