Package io.hstream.internal
Class AppendResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AppendResponse.Builder>
-
- io.hstream.internal.AppendResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,AppendResponseOrBuilder
,Cloneable
- Enclosing class:
- AppendResponse
public static final class AppendResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AppendResponse.Builder> implements AppendResponseOrBuilder
Protobuf typehstream.server.AppendResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AppendResponse.Builder
addAllRecordIds(Iterable<? extends RecordId> values)
repeated .hstream.server.RecordId recordIds = 3;
AppendResponse.Builder
addRecordIds(int index, RecordId value)
repeated .hstream.server.RecordId recordIds = 3;
AppendResponse.Builder
addRecordIds(int index, RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 3;
AppendResponse.Builder
addRecordIds(RecordId value)
repeated .hstream.server.RecordId recordIds = 3;
AppendResponse.Builder
addRecordIds(RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 3;
RecordId.Builder
addRecordIdsBuilder()
repeated .hstream.server.RecordId recordIds = 3;
RecordId.Builder
addRecordIdsBuilder(int index)
repeated .hstream.server.RecordId recordIds = 3;
AppendResponse
build()
AppendResponse
buildPartial()
AppendResponse.Builder
clear()
AppendResponse.Builder
clearRecordIds()
repeated .hstream.server.RecordId recordIds = 3;
AppendResponse.Builder
clearShardId()
uint64 shardId = 2;
AppendResponse.Builder
clearStreamName()
string streamName = 1;
AppendResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
RecordId
getRecordIds(int index)
repeated .hstream.server.RecordId recordIds = 3;
RecordId.Builder
getRecordIdsBuilder(int index)
repeated .hstream.server.RecordId recordIds = 3;
List<RecordId.Builder>
getRecordIdsBuilderList()
repeated .hstream.server.RecordId recordIds = 3;
int
getRecordIdsCount()
repeated .hstream.server.RecordId recordIds = 3;
List<RecordId>
getRecordIdsList()
repeated .hstream.server.RecordId recordIds = 3;
RecordIdOrBuilder
getRecordIdsOrBuilder(int index)
repeated .hstream.server.RecordId recordIds = 3;
List<? extends RecordIdOrBuilder>
getRecordIdsOrBuilderList()
repeated .hstream.server.RecordId recordIds = 3;
long
getShardId()
uint64 shardId = 2;
String
getStreamName()
string streamName = 1;
com.google.protobuf.ByteString
getStreamNameBytes()
string streamName = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AppendResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AppendResponse.Builder
mergeFrom(com.google.protobuf.Message other)
AppendResponse.Builder
mergeFrom(AppendResponse other)
AppendResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AppendResponse.Builder
removeRecordIds(int index)
repeated .hstream.server.RecordId recordIds = 3;
AppendResponse.Builder
setRecordIds(int index, RecordId value)
repeated .hstream.server.RecordId recordIds = 3;
AppendResponse.Builder
setRecordIds(int index, RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 3;
AppendResponse.Builder
setShardId(long value)
uint64 shardId = 2;
AppendResponse.Builder
setStreamName(String value)
string streamName = 1;
AppendResponse.Builder
setStreamNameBytes(com.google.protobuf.ByteString value)
string streamName = 1;
AppendResponse.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<AppendResponse.Builder>
-
clear
public AppendResponse.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<AppendResponse.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<AppendResponse.Builder>
-
getDefaultInstanceForType
public AppendResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AppendResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AppendResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public AppendResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AppendResponse.Builder>
-
mergeFrom
public AppendResponse.Builder mergeFrom(AppendResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendResponse.Builder>
-
mergeFrom
public AppendResponse.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<AppendResponse.Builder>
- Throws:
IOException
-
getStreamName
public String getStreamName()
string streamName = 1;
- Specified by:
getStreamName
in interfaceAppendResponseOrBuilder
- Returns:
- The streamName.
-
getStreamNameBytes
public com.google.protobuf.ByteString getStreamNameBytes()
string streamName = 1;
- Specified by:
getStreamNameBytes
in interfaceAppendResponseOrBuilder
- Returns:
- The bytes for streamName.
-
setStreamName
public AppendResponse.Builder setStreamName(String value)
string streamName = 1;
- Parameters:
value
- The streamName to set.- Returns:
- This builder for chaining.
-
clearStreamName
public AppendResponse.Builder clearStreamName()
string streamName = 1;
- Returns:
- This builder for chaining.
-
setStreamNameBytes
public AppendResponse.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 interfaceAppendResponseOrBuilder
- Returns:
- The shardId.
-
setShardId
public AppendResponse.Builder setShardId(long value)
uint64 shardId = 2;
- Parameters:
value
- The shardId to set.- Returns:
- This builder for chaining.
-
clearShardId
public AppendResponse.Builder clearShardId()
uint64 shardId = 2;
- Returns:
- This builder for chaining.
-
getRecordIdsList
public List<RecordId> getRecordIdsList()
repeated .hstream.server.RecordId recordIds = 3;
- Specified by:
getRecordIdsList
in interfaceAppendResponseOrBuilder
-
getRecordIdsCount
public int getRecordIdsCount()
repeated .hstream.server.RecordId recordIds = 3;
- Specified by:
getRecordIdsCount
in interfaceAppendResponseOrBuilder
-
getRecordIds
public RecordId getRecordIds(int index)
repeated .hstream.server.RecordId recordIds = 3;
- Specified by:
getRecordIds
in interfaceAppendResponseOrBuilder
-
setRecordIds
public AppendResponse.Builder setRecordIds(int index, RecordId value)
repeated .hstream.server.RecordId recordIds = 3;
-
setRecordIds
public AppendResponse.Builder setRecordIds(int index, RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 3;
-
addRecordIds
public AppendResponse.Builder addRecordIds(RecordId value)
repeated .hstream.server.RecordId recordIds = 3;
-
addRecordIds
public AppendResponse.Builder addRecordIds(int index, RecordId value)
repeated .hstream.server.RecordId recordIds = 3;
-
addRecordIds
public AppendResponse.Builder addRecordIds(RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 3;
-
addRecordIds
public AppendResponse.Builder addRecordIds(int index, RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 3;
-
addAllRecordIds
public AppendResponse.Builder addAllRecordIds(Iterable<? extends RecordId> values)
repeated .hstream.server.RecordId recordIds = 3;
-
clearRecordIds
public AppendResponse.Builder clearRecordIds()
repeated .hstream.server.RecordId recordIds = 3;
-
removeRecordIds
public AppendResponse.Builder removeRecordIds(int index)
repeated .hstream.server.RecordId recordIds = 3;
-
getRecordIdsBuilder
public RecordId.Builder getRecordIdsBuilder(int index)
repeated .hstream.server.RecordId recordIds = 3;
-
getRecordIdsOrBuilder
public RecordIdOrBuilder getRecordIdsOrBuilder(int index)
repeated .hstream.server.RecordId recordIds = 3;
- Specified by:
getRecordIdsOrBuilder
in interfaceAppendResponseOrBuilder
-
getRecordIdsOrBuilderList
public List<? extends RecordIdOrBuilder> getRecordIdsOrBuilderList()
repeated .hstream.server.RecordId recordIds = 3;
- Specified by:
getRecordIdsOrBuilderList
in interfaceAppendResponseOrBuilder
-
addRecordIdsBuilder
public RecordId.Builder addRecordIdsBuilder()
repeated .hstream.server.RecordId recordIds = 3;
-
addRecordIdsBuilder
public RecordId.Builder addRecordIdsBuilder(int index)
repeated .hstream.server.RecordId recordIds = 3;
-
getRecordIdsBuilderList
public List<RecordId.Builder> getRecordIdsBuilderList()
repeated .hstream.server.RecordId recordIds = 3;
-
setUnknownFields
public final AppendResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendResponse.Builder>
-
mergeUnknownFields
public final AppendResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendResponse.Builder>
-
-