Package io.hstream.internal
Class ReceivedRecord.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ReceivedRecord.Builder>
-
- io.hstream.internal.ReceivedRecord.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ReceivedRecordOrBuilder
,Cloneable
- Enclosing class:
- ReceivedRecord
public static final class ReceivedRecord.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReceivedRecord.Builder> implements ReceivedRecordOrBuilder
Protobuf typehstream.server.ReceivedRecord
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReceivedRecord.Builder
addAllRecordIds(Iterable<? extends RecordId> values)
repeated .hstream.server.RecordId recordIds = 1;
ReceivedRecord.Builder
addRecordIds(int index, RecordId value)
repeated .hstream.server.RecordId recordIds = 1;
ReceivedRecord.Builder
addRecordIds(int index, RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 1;
ReceivedRecord.Builder
addRecordIds(RecordId value)
repeated .hstream.server.RecordId recordIds = 1;
ReceivedRecord.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;
ReceivedRecord
build()
ReceivedRecord
buildPartial()
ReceivedRecord.Builder
clear()
ReceivedRecord.Builder
clearRecord()
.hstream.server.BatchedRecord record = 2;
ReceivedRecord.Builder
clearRecordIds()
repeated .hstream.server.RecordId recordIds = 1;
ReceivedRecord
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
BatchedRecord
getRecord()
.hstream.server.BatchedRecord record = 2;
BatchedRecord.Builder
getRecordBuilder()
.hstream.server.BatchedRecord record = 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;
BatchedRecordOrBuilder
getRecordOrBuilder()
.hstream.server.BatchedRecord record = 2;
boolean
hasRecord()
.hstream.server.BatchedRecord record = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ReceivedRecord.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ReceivedRecord.Builder
mergeFrom(com.google.protobuf.Message other)
ReceivedRecord.Builder
mergeFrom(ReceivedRecord other)
ReceivedRecord.Builder
mergeRecord(BatchedRecord value)
.hstream.server.BatchedRecord record = 2;
ReceivedRecord.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ReceivedRecord.Builder
removeRecordIds(int index)
repeated .hstream.server.RecordId recordIds = 1;
ReceivedRecord.Builder
setRecord(BatchedRecord value)
.hstream.server.BatchedRecord record = 2;
ReceivedRecord.Builder
setRecord(BatchedRecord.Builder builderForValue)
.hstream.server.BatchedRecord record = 2;
ReceivedRecord.Builder
setRecordIds(int index, RecordId value)
repeated .hstream.server.RecordId recordIds = 1;
ReceivedRecord.Builder
setRecordIds(int index, RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 1;
ReceivedRecord.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<ReceivedRecord.Builder>
-
clear
public ReceivedRecord.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<ReceivedRecord.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<ReceivedRecord.Builder>
-
getDefaultInstanceForType
public ReceivedRecord getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReceivedRecord build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReceivedRecord buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ReceivedRecord.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReceivedRecord.Builder>
-
mergeFrom
public ReceivedRecord.Builder mergeFrom(ReceivedRecord other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceivedRecord.Builder>
-
mergeFrom
public ReceivedRecord.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<ReceivedRecord.Builder>
- Throws:
IOException
-
getRecordIdsList
public List<RecordId> getRecordIdsList()
repeated .hstream.server.RecordId recordIds = 1;
- Specified by:
getRecordIdsList
in interfaceReceivedRecordOrBuilder
-
getRecordIdsCount
public int getRecordIdsCount()
repeated .hstream.server.RecordId recordIds = 1;
- Specified by:
getRecordIdsCount
in interfaceReceivedRecordOrBuilder
-
getRecordIds
public RecordId getRecordIds(int index)
repeated .hstream.server.RecordId recordIds = 1;
- Specified by:
getRecordIds
in interfaceReceivedRecordOrBuilder
-
setRecordIds
public ReceivedRecord.Builder setRecordIds(int index, RecordId value)
repeated .hstream.server.RecordId recordIds = 1;
-
setRecordIds
public ReceivedRecord.Builder setRecordIds(int index, RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 1;
-
addRecordIds
public ReceivedRecord.Builder addRecordIds(RecordId value)
repeated .hstream.server.RecordId recordIds = 1;
-
addRecordIds
public ReceivedRecord.Builder addRecordIds(int index, RecordId value)
repeated .hstream.server.RecordId recordIds = 1;
-
addRecordIds
public ReceivedRecord.Builder addRecordIds(RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 1;
-
addRecordIds
public ReceivedRecord.Builder addRecordIds(int index, RecordId.Builder builderForValue)
repeated .hstream.server.RecordId recordIds = 1;
-
addAllRecordIds
public ReceivedRecord.Builder addAllRecordIds(Iterable<? extends RecordId> values)
repeated .hstream.server.RecordId recordIds = 1;
-
clearRecordIds
public ReceivedRecord.Builder clearRecordIds()
repeated .hstream.server.RecordId recordIds = 1;
-
removeRecordIds
public ReceivedRecord.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 interfaceReceivedRecordOrBuilder
-
getRecordIdsOrBuilderList
public List<? extends RecordIdOrBuilder> getRecordIdsOrBuilderList()
repeated .hstream.server.RecordId recordIds = 1;
- Specified by:
getRecordIdsOrBuilderList
in interfaceReceivedRecordOrBuilder
-
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;
-
hasRecord
public boolean hasRecord()
.hstream.server.BatchedRecord record = 2;
- Specified by:
hasRecord
in interfaceReceivedRecordOrBuilder
- Returns:
- Whether the record field is set.
-
getRecord
public BatchedRecord getRecord()
.hstream.server.BatchedRecord record = 2;
- Specified by:
getRecord
in interfaceReceivedRecordOrBuilder
- Returns:
- The record.
-
setRecord
public ReceivedRecord.Builder setRecord(BatchedRecord value)
.hstream.server.BatchedRecord record = 2;
-
setRecord
public ReceivedRecord.Builder setRecord(BatchedRecord.Builder builderForValue)
.hstream.server.BatchedRecord record = 2;
-
mergeRecord
public ReceivedRecord.Builder mergeRecord(BatchedRecord value)
.hstream.server.BatchedRecord record = 2;
-
clearRecord
public ReceivedRecord.Builder clearRecord()
.hstream.server.BatchedRecord record = 2;
-
getRecordBuilder
public BatchedRecord.Builder getRecordBuilder()
.hstream.server.BatchedRecord record = 2;
-
getRecordOrBuilder
public BatchedRecordOrBuilder getRecordOrBuilder()
.hstream.server.BatchedRecord record = 2;
- Specified by:
getRecordOrBuilder
in interfaceReceivedRecordOrBuilder
-
setUnknownFields
public final ReceivedRecord.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceivedRecord.Builder>
-
mergeUnknownFields
public final ReceivedRecord.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceivedRecord.Builder>
-
-