public static final class EventWithToken.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EventWithToken.Builder> implements EventWithTokenOrBuilder
Message wrapping an Event and a Tracking TokenProtobuf type
io.axoniq.axonserver.grpc.event.EventWithToken
Modifier and Type | Method and Description |
---|---|
EventWithToken.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EventWithToken |
build() |
EventWithToken |
buildPartial() |
EventWithToken.Builder |
clear() |
EventWithToken.Builder |
clearEvent()
The actual Event Message
|
EventWithToken.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EventWithToken.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EventWithToken.Builder |
clearToken()
The Token representing the position of this Event in the Stream
|
EventWithToken.Builder |
clone() |
EventWithToken |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Event |
getEvent()
The actual Event Message
|
Event.Builder |
getEventBuilder()
The actual Event Message
|
EventOrBuilder |
getEventOrBuilder()
The actual Event Message
|
long |
getToken()
The Token representing the position of this Event in the Stream
|
boolean |
hasEvent()
The actual Event Message
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EventWithToken.Builder |
mergeEvent(Event value)
The actual Event Message
|
EventWithToken.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EventWithToken.Builder |
mergeFrom(EventWithToken other) |
EventWithToken.Builder |
mergeFrom(com.google.protobuf.Message other) |
EventWithToken.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EventWithToken.Builder |
setEvent(Event.Builder builderForValue)
The actual Event Message
|
EventWithToken.Builder |
setEvent(Event value)
The actual Event Message
|
EventWithToken.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EventWithToken.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
EventWithToken.Builder |
setToken(long value)
The Token representing the position of this Event in the Stream
|
EventWithToken.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<EventWithToken.Builder>
public EventWithToken.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<EventWithToken.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<EventWithToken.Builder>
public EventWithToken getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public EventWithToken build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public EventWithToken buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public EventWithToken.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<EventWithToken.Builder>
public EventWithToken.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<EventWithToken.Builder>
public EventWithToken.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<EventWithToken.Builder>
public EventWithToken.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<EventWithToken.Builder>
public EventWithToken.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<EventWithToken.Builder>
public EventWithToken.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<EventWithToken.Builder>
public EventWithToken.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EventWithToken.Builder>
public EventWithToken.Builder mergeFrom(EventWithToken other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<EventWithToken.Builder>
public EventWithToken.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EventWithToken.Builder>
IOException
public long getToken()
The Token representing the position of this Event in the Stream
int64 token = 1;
getToken
in interface EventWithTokenOrBuilder
public EventWithToken.Builder setToken(long value)
The Token representing the position of this Event in the Stream
int64 token = 1;
public EventWithToken.Builder clearToken()
The Token representing the position of this Event in the Stream
int64 token = 1;
public boolean hasEvent()
The actual Event Message
.io.axoniq.axonserver.grpc.event.Event event = 2;
hasEvent
in interface EventWithTokenOrBuilder
public Event getEvent()
The actual Event Message
.io.axoniq.axonserver.grpc.event.Event event = 2;
getEvent
in interface EventWithTokenOrBuilder
public EventWithToken.Builder setEvent(Event value)
The actual Event Message
.io.axoniq.axonserver.grpc.event.Event event = 2;
public EventWithToken.Builder setEvent(Event.Builder builderForValue)
The actual Event Message
.io.axoniq.axonserver.grpc.event.Event event = 2;
public EventWithToken.Builder mergeEvent(Event value)
The actual Event Message
.io.axoniq.axonserver.grpc.event.Event event = 2;
public EventWithToken.Builder clearEvent()
The actual Event Message
.io.axoniq.axonserver.grpc.event.Event event = 2;
public Event.Builder getEventBuilder()
The actual Event Message
.io.axoniq.axonserver.grpc.event.Event event = 2;
public EventOrBuilder getEventOrBuilder()
The actual Event Message
.io.axoniq.axonserver.grpc.event.Event event = 2;
getEventOrBuilder
in interface EventWithTokenOrBuilder
public final EventWithToken.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EventWithToken.Builder>
public final EventWithToken.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EventWithToken.Builder>
Copyright © 2010–2020. All rights reserved.