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