Package io.axoniq.axonserver.grpc.event
Class ConfirmationWithConsistencyMarker.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<ConfirmationWithConsistencyMarker.Builder>
-
- io.axoniq.axonserver.grpc.event.ConfirmationWithConsistencyMarker.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ConfirmationWithConsistencyMarkerOrBuilder,Cloneable
- Enclosing class:
- ConfirmationWithConsistencyMarker
public static final class ConfirmationWithConsistencyMarker.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConfirmationWithConsistencyMarker.Builder> implements ConfirmationWithConsistencyMarkerOrBuilder
A confirmation to a request from the client, including an optional consistency marker to track the position of this confirmation in the Event Stream. The consistency_marker is only set for AppendEvent requests towards a DCB context.
Protobuf typeio.axoniq.axonserver.grpc.event.ConfirmationWithConsistencyMarker
-
-
Method Summary
-
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<ConfirmationWithConsistencyMarker.Builder>
-
clear
public ConfirmationWithConsistencyMarker.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<ConfirmationWithConsistencyMarker.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<ConfirmationWithConsistencyMarker.Builder>
-
getDefaultInstanceForType
public ConfirmationWithConsistencyMarker getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConfirmationWithConsistencyMarker build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConfirmationWithConsistencyMarker buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ConfirmationWithConsistencyMarker.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfirmationWithConsistencyMarker.Builder>
-
mergeFrom
public ConfirmationWithConsistencyMarker.Builder mergeFrom(ConfirmationWithConsistencyMarker other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConfirmationWithConsistencyMarker.Builder>
-
mergeFrom
public ConfirmationWithConsistencyMarker.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfirmationWithConsistencyMarker.Builder>- Throws:
IOException
-
getSuccess
public boolean getSuccess()
True when successful, otherwise false
bool success = 1;- Specified by:
getSuccessin interfaceConfirmationWithConsistencyMarkerOrBuilder- Returns:
- The success.
-
setSuccess
public ConfirmationWithConsistencyMarker.Builder setSuccess(boolean value)
True when successful, otherwise false
bool success = 1;- Parameters:
value- The success to set.- Returns:
- This builder for chaining.
-
clearSuccess
public ConfirmationWithConsistencyMarker.Builder clearSuccess()
True when successful, otherwise false
bool success = 1;- Returns:
- This builder for chaining.
-
hasConsistencyMarker
public boolean hasConsistencyMarker()
The consistency marker token
.io.axoniq.axonserver.grpc.event.ConsistencyMarker consistency_marker = 2;- Specified by:
hasConsistencyMarkerin interfaceConfirmationWithConsistencyMarkerOrBuilder- Returns:
- Whether the consistencyMarker field is set.
-
getConsistencyMarker
public ConsistencyMarker getConsistencyMarker()
The consistency marker token
.io.axoniq.axonserver.grpc.event.ConsistencyMarker consistency_marker = 2;- Specified by:
getConsistencyMarkerin interfaceConfirmationWithConsistencyMarkerOrBuilder- Returns:
- The consistencyMarker.
-
setConsistencyMarker
public ConfirmationWithConsistencyMarker.Builder setConsistencyMarker(ConsistencyMarker value)
The consistency marker token
.io.axoniq.axonserver.grpc.event.ConsistencyMarker consistency_marker = 2;
-
setConsistencyMarker
public ConfirmationWithConsistencyMarker.Builder setConsistencyMarker(ConsistencyMarker.Builder builderForValue)
The consistency marker token
.io.axoniq.axonserver.grpc.event.ConsistencyMarker consistency_marker = 2;
-
mergeConsistencyMarker
public ConfirmationWithConsistencyMarker.Builder mergeConsistencyMarker(ConsistencyMarker value)
The consistency marker token
.io.axoniq.axonserver.grpc.event.ConsistencyMarker consistency_marker = 2;
-
clearConsistencyMarker
public ConfirmationWithConsistencyMarker.Builder clearConsistencyMarker()
The consistency marker token
.io.axoniq.axonserver.grpc.event.ConsistencyMarker consistency_marker = 2;
-
getConsistencyMarkerBuilder
public ConsistencyMarker.Builder getConsistencyMarkerBuilder()
The consistency marker token
.io.axoniq.axonserver.grpc.event.ConsistencyMarker consistency_marker = 2;
-
getConsistencyMarkerOrBuilder
public ConsistencyMarkerOrBuilder getConsistencyMarkerOrBuilder()
The consistency marker token
.io.axoniq.axonserver.grpc.event.ConsistencyMarker consistency_marker = 2;- Specified by:
getConsistencyMarkerOrBuilderin interfaceConfirmationWithConsistencyMarkerOrBuilder
-
-