Package io.hstream.internal
Class AppendRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AppendRequest.Builder>
-
- io.hstream.internal.AppendRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,AppendRequestOrBuilder
,Cloneable
- Enclosing class:
- AppendRequest
public static final class AppendRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AppendRequest.Builder> implements AppendRequestOrBuilder
Protobuf typehstream.server.AppendRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AppendRequest
build()
AppendRequest
buildPartial()
AppendRequest.Builder
clear()
AppendRequest.Builder
clearRecords()
.hstream.server.BatchedRecord records = 3;
AppendRequest.Builder
clearShardId()
uint64 shardId = 2;
AppendRequest.Builder
clearStreamName()
string streamName = 1;
AppendRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
BatchedRecord
getRecords()
.hstream.server.BatchedRecord records = 3;
BatchedRecord.Builder
getRecordsBuilder()
.hstream.server.BatchedRecord records = 3;
BatchedRecordOrBuilder
getRecordsOrBuilder()
.hstream.server.BatchedRecord records = 3;
long
getShardId()
uint64 shardId = 2;
String
getStreamName()
string streamName = 1;
com.google.protobuf.ByteString
getStreamNameBytes()
string streamName = 1;
boolean
hasRecords()
.hstream.server.BatchedRecord records = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AppendRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AppendRequest.Builder
mergeFrom(com.google.protobuf.Message other)
AppendRequest.Builder
mergeFrom(AppendRequest other)
AppendRequest.Builder
mergeRecords(BatchedRecord value)
.hstream.server.BatchedRecord records = 3;
AppendRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AppendRequest.Builder
setRecords(BatchedRecord value)
.hstream.server.BatchedRecord records = 3;
AppendRequest.Builder
setRecords(BatchedRecord.Builder builderForValue)
.hstream.server.BatchedRecord records = 3;
AppendRequest.Builder
setShardId(long value)
uint64 shardId = 2;
AppendRequest.Builder
setStreamName(String value)
string streamName = 1;
AppendRequest.Builder
setStreamNameBytes(com.google.protobuf.ByteString value)
string streamName = 1;
AppendRequest.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<AppendRequest.Builder>
-
clear
public AppendRequest.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<AppendRequest.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<AppendRequest.Builder>
-
getDefaultInstanceForType
public AppendRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AppendRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AppendRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public AppendRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AppendRequest.Builder>
-
mergeFrom
public AppendRequest.Builder mergeFrom(AppendRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRequest.Builder>
-
mergeFrom
public AppendRequest.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<AppendRequest.Builder>
- Throws:
IOException
-
getStreamName
public String getStreamName()
string streamName = 1;
- Specified by:
getStreamName
in interfaceAppendRequestOrBuilder
- Returns:
- The streamName.
-
getStreamNameBytes
public com.google.protobuf.ByteString getStreamNameBytes()
string streamName = 1;
- Specified by:
getStreamNameBytes
in interfaceAppendRequestOrBuilder
- Returns:
- The bytes for streamName.
-
setStreamName
public AppendRequest.Builder setStreamName(String value)
string streamName = 1;
- Parameters:
value
- The streamName to set.- Returns:
- This builder for chaining.
-
clearStreamName
public AppendRequest.Builder clearStreamName()
string streamName = 1;
- Returns:
- This builder for chaining.
-
setStreamNameBytes
public AppendRequest.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 interfaceAppendRequestOrBuilder
- Returns:
- The shardId.
-
setShardId
public AppendRequest.Builder setShardId(long value)
uint64 shardId = 2;
- Parameters:
value
- The shardId to set.- Returns:
- This builder for chaining.
-
clearShardId
public AppendRequest.Builder clearShardId()
uint64 shardId = 2;
- Returns:
- This builder for chaining.
-
hasRecords
public boolean hasRecords()
.hstream.server.BatchedRecord records = 3;
- Specified by:
hasRecords
in interfaceAppendRequestOrBuilder
- Returns:
- Whether the records field is set.
-
getRecords
public BatchedRecord getRecords()
.hstream.server.BatchedRecord records = 3;
- Specified by:
getRecords
in interfaceAppendRequestOrBuilder
- Returns:
- The records.
-
setRecords
public AppendRequest.Builder setRecords(BatchedRecord value)
.hstream.server.BatchedRecord records = 3;
-
setRecords
public AppendRequest.Builder setRecords(BatchedRecord.Builder builderForValue)
.hstream.server.BatchedRecord records = 3;
-
mergeRecords
public AppendRequest.Builder mergeRecords(BatchedRecord value)
.hstream.server.BatchedRecord records = 3;
-
clearRecords
public AppendRequest.Builder clearRecords()
.hstream.server.BatchedRecord records = 3;
-
getRecordsBuilder
public BatchedRecord.Builder getRecordsBuilder()
.hstream.server.BatchedRecord records = 3;
-
getRecordsOrBuilder
public BatchedRecordOrBuilder getRecordsOrBuilder()
.hstream.server.BatchedRecord records = 3;
- Specified by:
getRecordsOrBuilder
in interfaceAppendRequestOrBuilder
-
setUnknownFields
public final AppendRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRequest.Builder>
-
mergeUnknownFields
public final AppendRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRequest.Builder>
-
-