Package s2.v1
Class AppendAck.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<AppendAck.Builder>
-
- s2.v1.AppendAck.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,AppendAckOrBuilder
- Enclosing class:
- AppendAck
public static final class AppendAck.Builder extends com.google.protobuf.GeneratedMessage.Builder<AppendAck.Builder> implements AppendAckOrBuilder
Success response message to an Append request.
Protobuf types2.v1.AppendAck
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AppendAckbuild()AppendAckbuildPartial()AppendAck.Builderclear()AppendAck.BuilderclearEnd()Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended.AppendAck.BuilderclearStart()Sequence number and timestamp of the first record that was appended.AppendAck.BuilderclearTail()Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream.AppendAckgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StreamPositiongetEnd()Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended.StreamPosition.BuildergetEndBuilder()Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended.StreamPositionOrBuildergetEndOrBuilder()Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended.StreamPositiongetStart()Sequence number and timestamp of the first record that was appended.StreamPosition.BuildergetStartBuilder()Sequence number and timestamp of the first record that was appended.StreamPositionOrBuildergetStartOrBuilder()Sequence number and timestamp of the first record that was appended.StreamPositiongetTail()Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream.StreamPosition.BuildergetTailBuilder()Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream.StreamPositionOrBuildergetTailOrBuilder()Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream.booleanhasEnd()Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended.booleanhasStart()Sequence number and timestamp of the first record that was appended.booleanhasTail()Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AppendAck.BuildermergeEnd(StreamPosition value)Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended.AppendAck.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AppendAck.BuildermergeFrom(com.google.protobuf.Message other)AppendAck.BuildermergeFrom(AppendAck other)AppendAck.BuildermergeStart(StreamPosition value)Sequence number and timestamp of the first record that was appended.AppendAck.BuildermergeTail(StreamPosition value)Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream.AppendAck.BuildersetEnd(StreamPosition value)Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended.AppendAck.BuildersetEnd(StreamPosition.Builder builderForValue)Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended.AppendAck.BuildersetStart(StreamPosition value)Sequence number and timestamp of the first record that was appended.AppendAck.BuildersetStart(StreamPosition.Builder builderForValue)Sequence number and timestamp of the first record that was appended.AppendAck.BuildersetTail(StreamPosition value)Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream.AppendAck.BuildersetTail(StreamPosition.Builder builderForValue)Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AppendAck.Builder>
-
clear
public AppendAck.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AppendAck.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AppendAck.Builder>
-
getDefaultInstanceForType
public AppendAck getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AppendAck build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AppendAck buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public AppendAck.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AppendAck.Builder>
-
mergeFrom
public AppendAck.Builder mergeFrom(AppendAck other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AppendAck.Builder>
-
mergeFrom
public AppendAck.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AppendAck.Builder>- Throws:
java.io.IOException
-
hasStart
public boolean hasStart()
Sequence number and timestamp of the first record that was appended.
.s2.v1.StreamPosition start = 1;- Specified by:
hasStartin interfaceAppendAckOrBuilder- Returns:
- Whether the start field is set.
-
getStart
public StreamPosition getStart()
Sequence number and timestamp of the first record that was appended.
.s2.v1.StreamPosition start = 1;- Specified by:
getStartin interfaceAppendAckOrBuilder- Returns:
- The start.
-
setStart
public AppendAck.Builder setStart(StreamPosition value)
Sequence number and timestamp of the first record that was appended.
.s2.v1.StreamPosition start = 1;
-
setStart
public AppendAck.Builder setStart(StreamPosition.Builder builderForValue)
Sequence number and timestamp of the first record that was appended.
.s2.v1.StreamPosition start = 1;
-
mergeStart
public AppendAck.Builder mergeStart(StreamPosition value)
Sequence number and timestamp of the first record that was appended.
.s2.v1.StreamPosition start = 1;
-
clearStart
public AppendAck.Builder clearStart()
Sequence number and timestamp of the first record that was appended.
.s2.v1.StreamPosition start = 1;
-
getStartBuilder
public StreamPosition.Builder getStartBuilder()
Sequence number and timestamp of the first record that was appended.
.s2.v1.StreamPosition start = 1;
-
getStartOrBuilder
public StreamPositionOrBuilder getStartOrBuilder()
Sequence number and timestamp of the first record that was appended.
.s2.v1.StreamPosition start = 1;- Specified by:
getStartOrBuilderin interfaceAppendAckOrBuilder
-
hasEnd
public boolean hasEnd()
Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended. The difference between `end.seq_num` and `start.seq_num` will be the number of records appended.
.s2.v1.StreamPosition end = 2;- Specified by:
hasEndin interfaceAppendAckOrBuilder- Returns:
- Whether the end field is set.
-
getEnd
public StreamPosition getEnd()
Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended. The difference between `end.seq_num` and `start.seq_num` will be the number of records appended.
.s2.v1.StreamPosition end = 2;- Specified by:
getEndin interfaceAppendAckOrBuilder- Returns:
- The end.
-
setEnd
public AppendAck.Builder setEnd(StreamPosition value)
Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended. The difference between `end.seq_num` and `start.seq_num` will be the number of records appended.
.s2.v1.StreamPosition end = 2;
-
setEnd
public AppendAck.Builder setEnd(StreamPosition.Builder builderForValue)
Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended. The difference between `end.seq_num` and `start.seq_num` will be the number of records appended.
.s2.v1.StreamPosition end = 2;
-
mergeEnd
public AppendAck.Builder mergeEnd(StreamPosition value)
Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended. The difference between `end.seq_num` and `start.seq_num` will be the number of records appended.
.s2.v1.StreamPosition end = 2;
-
clearEnd
public AppendAck.Builder clearEnd()
Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended. The difference between `end.seq_num` and `start.seq_num` will be the number of records appended.
.s2.v1.StreamPosition end = 2;
-
getEndBuilder
public StreamPosition.Builder getEndBuilder()
Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended. The difference between `end.seq_num` and `start.seq_num` will be the number of records appended.
.s2.v1.StreamPosition end = 2;
-
getEndOrBuilder
public StreamPositionOrBuilder getEndOrBuilder()
Sequence number of the last record that was appended + 1, and timestamp of the last record that was appended. The difference between `end.seq_num` and `start.seq_num` will be the number of records appended.
.s2.v1.StreamPosition end = 2;- Specified by:
getEndOrBuilderin interfaceAppendAckOrBuilder
-
hasTail
public boolean hasTail()
Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream. This can be greater than the `end` position in case of concurrent appends.
.s2.v1.StreamPosition tail = 3;- Specified by:
hasTailin interfaceAppendAckOrBuilder- Returns:
- Whether the tail field is set.
-
getTail
public StreamPosition getTail()
Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream. This can be greater than the `end` position in case of concurrent appends.
.s2.v1.StreamPosition tail = 3;- Specified by:
getTailin interfaceAppendAckOrBuilder- Returns:
- The tail.
-
setTail
public AppendAck.Builder setTail(StreamPosition value)
Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream. This can be greater than the `end` position in case of concurrent appends.
.s2.v1.StreamPosition tail = 3;
-
setTail
public AppendAck.Builder setTail(StreamPosition.Builder builderForValue)
Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream. This can be greater than the `end` position in case of concurrent appends.
.s2.v1.StreamPosition tail = 3;
-
mergeTail
public AppendAck.Builder mergeTail(StreamPosition value)
Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream. This can be greater than the `end` position in case of concurrent appends.
.s2.v1.StreamPosition tail = 3;
-
clearTail
public AppendAck.Builder clearTail()
Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream. This can be greater than the `end` position in case of concurrent appends.
.s2.v1.StreamPosition tail = 3;
-
getTailBuilder
public StreamPosition.Builder getTailBuilder()
Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream. This can be greater than the `end` position in case of concurrent appends.
.s2.v1.StreamPosition tail = 3;
-
getTailOrBuilder
public StreamPositionOrBuilder getTailOrBuilder()
Sequence number that will be assigned to the next record on the stream, and timestamp of the last record on the stream. This can be greater than the `end` position in case of concurrent appends.
.s2.v1.StreamPosition tail = 3;- Specified by:
getTailOrBuilderin interfaceAppendAckOrBuilder
-
-