Package io.hstream.internal
Class ReadStreamByKeyResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ReadStreamByKeyResponse.Builder>
-
- io.hstream.internal.ReadStreamByKeyResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ReadStreamByKeyResponseOrBuilder
,Cloneable
- Enclosing class:
- ReadStreamByKeyResponse
public static final class ReadStreamByKeyResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReadStreamByKeyResponse.Builder> implements ReadStreamByKeyResponseOrBuilder
Protobuf typehstream.server.ReadStreamByKeyResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadStreamByKeyResponse.Builder
addAllReceivedRecords(Iterable<? extends HStreamRecord> values)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
ReadStreamByKeyResponse.Builder
addAllRecordIds(Iterable<? extends RecordId> values)
repeated .hstream.server.RecordId recordIds = 1;
ReadStreamByKeyResponse.Builder
addReceivedRecords(int index, HStreamRecord value)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
ReadStreamByKeyResponse.Builder
addReceivedRecords(int index, HStreamRecord.Builder builderForValue)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
ReadStreamByKeyResponse.Builder
addReceivedRecords(HStreamRecord value)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
ReadStreamByKeyResponse.Builder
addReceivedRecords(HStreamRecord.Builder builderForValue)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
HStreamRecord.Builder
addReceivedRecordsBuilder()
repeated .hstream.server.HStreamRecord receivedRecords = 2;
HStreamRecord.Builder
addReceivedRecordsBuilder(int index)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
ReadStreamByKeyResponse.Builder
addRecordIds(int index, RecordId value)
repeated .hstream.server.RecordId recordIds = 1;
ReadStreamByKeyResponse.Builder
addRecordIds(int index, RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 1;
ReadStreamByKeyResponse.Builder
addRecordIds(RecordId value)
repeated .hstream.server.RecordId recordIds = 1;
ReadStreamByKeyResponse.Builder
addRecordIds(RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 1;
RecordId.Builder
addRecordIdsBuilder()
repeated .hstream.server.RecordId recordIds = 1;
RecordId.Builder
addRecordIdsBuilder(int index)
repeated .hstream.server.RecordId recordIds = 1;
ReadStreamByKeyResponse
build()
ReadStreamByKeyResponse
buildPartial()
ReadStreamByKeyResponse.Builder
clear()
ReadStreamByKeyResponse.Builder
clearReceivedRecords()
repeated .hstream.server.HStreamRecord receivedRecords = 2;
ReadStreamByKeyResponse.Builder
clearRecordIds()
repeated .hstream.server.RecordId recordIds = 1;
ReadStreamByKeyResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
HStreamRecord
getReceivedRecords(int index)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
HStreamRecord.Builder
getReceivedRecordsBuilder(int index)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
List<HStreamRecord.Builder>
getReceivedRecordsBuilderList()
repeated .hstream.server.HStreamRecord receivedRecords = 2;
int
getReceivedRecordsCount()
repeated .hstream.server.HStreamRecord receivedRecords = 2;
List<HStreamRecord>
getReceivedRecordsList()
repeated .hstream.server.HStreamRecord receivedRecords = 2;
HStreamRecordOrBuilder
getReceivedRecordsOrBuilder(int index)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
List<? extends HStreamRecordOrBuilder>
getReceivedRecordsOrBuilderList()
repeated .hstream.server.HStreamRecord receivedRecords = 2;
RecordId
getRecordIds(int index)
repeated .hstream.server.RecordId recordIds = 1;
RecordId.Builder
getRecordIdsBuilder(int index)
repeated .hstream.server.RecordId recordIds = 1;
List<RecordId.Builder>
getRecordIdsBuilderList()
repeated .hstream.server.RecordId recordIds = 1;
int
getRecordIdsCount()
repeated .hstream.server.RecordId recordIds = 1;
List<RecordId>
getRecordIdsList()
repeated .hstream.server.RecordId recordIds = 1;
RecordIdOrBuilder
getRecordIdsOrBuilder(int index)
repeated .hstream.server.RecordId recordIds = 1;
List<? extends RecordIdOrBuilder>
getRecordIdsOrBuilderList()
repeated .hstream.server.RecordId recordIds = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ReadStreamByKeyResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ReadStreamByKeyResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ReadStreamByKeyResponse.Builder
mergeFrom(ReadStreamByKeyResponse other)
ReadStreamByKeyResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ReadStreamByKeyResponse.Builder
removeReceivedRecords(int index)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
ReadStreamByKeyResponse.Builder
removeRecordIds(int index)
repeated .hstream.server.RecordId recordIds = 1;
ReadStreamByKeyResponse.Builder
setReceivedRecords(int index, HStreamRecord value)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
ReadStreamByKeyResponse.Builder
setReceivedRecords(int index, HStreamRecord.Builder builderForValue)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
ReadStreamByKeyResponse.Builder
setRecordIds(int index, RecordId value)
repeated .hstream.server.RecordId recordIds = 1;
ReadStreamByKeyResponse.Builder
setRecordIds(int index, RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 1;
ReadStreamByKeyResponse.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<ReadStreamByKeyResponse.Builder>
-
clear
public ReadStreamByKeyResponse.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<ReadStreamByKeyResponse.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<ReadStreamByKeyResponse.Builder>
-
getDefaultInstanceForType
public ReadStreamByKeyResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReadStreamByKeyResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReadStreamByKeyResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ReadStreamByKeyResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReadStreamByKeyResponse.Builder>
-
mergeFrom
public ReadStreamByKeyResponse.Builder mergeFrom(ReadStreamByKeyResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadStreamByKeyResponse.Builder>
-
mergeFrom
public ReadStreamByKeyResponse.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<ReadStreamByKeyResponse.Builder>
- Throws:
IOException
-
getRecordIdsList
public List<RecordId> getRecordIdsList()
repeated .hstream.server.RecordId recordIds = 1;
- Specified by:
getRecordIdsList
in interfaceReadStreamByKeyResponseOrBuilder
-
getRecordIdsCount
public int getRecordIdsCount()
repeated .hstream.server.RecordId recordIds = 1;
- Specified by:
getRecordIdsCount
in interfaceReadStreamByKeyResponseOrBuilder
-
getRecordIds
public RecordId getRecordIds(int index)
repeated .hstream.server.RecordId recordIds = 1;
- Specified by:
getRecordIds
in interfaceReadStreamByKeyResponseOrBuilder
-
setRecordIds
public ReadStreamByKeyResponse.Builder setRecordIds(int index, RecordId value)
repeated .hstream.server.RecordId recordIds = 1;
-
setRecordIds
public ReadStreamByKeyResponse.Builder setRecordIds(int index, RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 1;
-
addRecordIds
public ReadStreamByKeyResponse.Builder addRecordIds(RecordId value)
repeated .hstream.server.RecordId recordIds = 1;
-
addRecordIds
public ReadStreamByKeyResponse.Builder addRecordIds(int index, RecordId value)
repeated .hstream.server.RecordId recordIds = 1;
-
addRecordIds
public ReadStreamByKeyResponse.Builder addRecordIds(RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 1;
-
addRecordIds
public ReadStreamByKeyResponse.Builder addRecordIds(int index, RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 1;
-
addAllRecordIds
public ReadStreamByKeyResponse.Builder addAllRecordIds(Iterable<? extends RecordId> values)
repeated .hstream.server.RecordId recordIds = 1;
-
clearRecordIds
public ReadStreamByKeyResponse.Builder clearRecordIds()
repeated .hstream.server.RecordId recordIds = 1;
-
removeRecordIds
public ReadStreamByKeyResponse.Builder removeRecordIds(int index)
repeated .hstream.server.RecordId recordIds = 1;
-
getRecordIdsBuilder
public RecordId.Builder getRecordIdsBuilder(int index)
repeated .hstream.server.RecordId recordIds = 1;
-
getRecordIdsOrBuilder
public RecordIdOrBuilder getRecordIdsOrBuilder(int index)
repeated .hstream.server.RecordId recordIds = 1;
- Specified by:
getRecordIdsOrBuilder
in interfaceReadStreamByKeyResponseOrBuilder
-
getRecordIdsOrBuilderList
public List<? extends RecordIdOrBuilder> getRecordIdsOrBuilderList()
repeated .hstream.server.RecordId recordIds = 1;
- Specified by:
getRecordIdsOrBuilderList
in interfaceReadStreamByKeyResponseOrBuilder
-
addRecordIdsBuilder
public RecordId.Builder addRecordIdsBuilder()
repeated .hstream.server.RecordId recordIds = 1;
-
addRecordIdsBuilder
public RecordId.Builder addRecordIdsBuilder(int index)
repeated .hstream.server.RecordId recordIds = 1;
-
getRecordIdsBuilderList
public List<RecordId.Builder> getRecordIdsBuilderList()
repeated .hstream.server.RecordId recordIds = 1;
-
getReceivedRecordsList
public List<HStreamRecord> getReceivedRecordsList()
repeated .hstream.server.HStreamRecord receivedRecords = 2;
- Specified by:
getReceivedRecordsList
in interfaceReadStreamByKeyResponseOrBuilder
-
getReceivedRecordsCount
public int getReceivedRecordsCount()
repeated .hstream.server.HStreamRecord receivedRecords = 2;
- Specified by:
getReceivedRecordsCount
in interfaceReadStreamByKeyResponseOrBuilder
-
getReceivedRecords
public HStreamRecord getReceivedRecords(int index)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
- Specified by:
getReceivedRecords
in interfaceReadStreamByKeyResponseOrBuilder
-
setReceivedRecords
public ReadStreamByKeyResponse.Builder setReceivedRecords(int index, HStreamRecord value)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
-
setReceivedRecords
public ReadStreamByKeyResponse.Builder setReceivedRecords(int index, HStreamRecord.Builder builderForValue)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
-
addReceivedRecords
public ReadStreamByKeyResponse.Builder addReceivedRecords(HStreamRecord value)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
-
addReceivedRecords
public ReadStreamByKeyResponse.Builder addReceivedRecords(int index, HStreamRecord value)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
-
addReceivedRecords
public ReadStreamByKeyResponse.Builder addReceivedRecords(HStreamRecord.Builder builderForValue)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
-
addReceivedRecords
public ReadStreamByKeyResponse.Builder addReceivedRecords(int index, HStreamRecord.Builder builderForValue)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
-
addAllReceivedRecords
public ReadStreamByKeyResponse.Builder addAllReceivedRecords(Iterable<? extends HStreamRecord> values)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
-
clearReceivedRecords
public ReadStreamByKeyResponse.Builder clearReceivedRecords()
repeated .hstream.server.HStreamRecord receivedRecords = 2;
-
removeReceivedRecords
public ReadStreamByKeyResponse.Builder removeReceivedRecords(int index)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
-
getReceivedRecordsBuilder
public HStreamRecord.Builder getReceivedRecordsBuilder(int index)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
-
getReceivedRecordsOrBuilder
public HStreamRecordOrBuilder getReceivedRecordsOrBuilder(int index)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
- Specified by:
getReceivedRecordsOrBuilder
in interfaceReadStreamByKeyResponseOrBuilder
-
getReceivedRecordsOrBuilderList
public List<? extends HStreamRecordOrBuilder> getReceivedRecordsOrBuilderList()
repeated .hstream.server.HStreamRecord receivedRecords = 2;
- Specified by:
getReceivedRecordsOrBuilderList
in interfaceReadStreamByKeyResponseOrBuilder
-
addReceivedRecordsBuilder
public HStreamRecord.Builder addReceivedRecordsBuilder()
repeated .hstream.server.HStreamRecord receivedRecords = 2;
-
addReceivedRecordsBuilder
public HStreamRecord.Builder addReceivedRecordsBuilder(int index)
repeated .hstream.server.HStreamRecord receivedRecords = 2;
-
getReceivedRecordsBuilderList
public List<HStreamRecord.Builder> getReceivedRecordsBuilderList()
repeated .hstream.server.HStreamRecord receivedRecords = 2;
-
setUnknownFields
public final ReadStreamByKeyResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadStreamByKeyResponse.Builder>
-
mergeUnknownFields
public final ReadStreamByKeyResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadStreamByKeyResponse.Builder>
-
-