Class Persistent.ReadReq.Nack.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadReq.Nack.Builder>
-
- com.eventstore.dbclient.proto.persistentsubscriptions.Persistent.ReadReq.Nack.Builder
-
- All Implemented Interfaces:
Persistent.ReadReq.NackOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Persistent.ReadReq.Nack
public static final class Persistent.ReadReq.Nack.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadReq.Nack.Builder> implements Persistent.ReadReq.NackOrBuilder
Protobuf typeevent_store.client.persistent_subscriptions.ReadReq.Nack
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Persistent.ReadReq.Nack.Builder
addAllIds(java.lang.Iterable<? extends Shared.UUID> values)
repeated .event_store.client.UUID ids = 2;
Persistent.ReadReq.Nack.Builder
addIds(int index, Shared.UUID value)
repeated .event_store.client.UUID ids = 2;
Persistent.ReadReq.Nack.Builder
addIds(int index, Shared.UUID.Builder builderForValue)
repeated .event_store.client.UUID ids = 2;
Persistent.ReadReq.Nack.Builder
addIds(Shared.UUID value)
repeated .event_store.client.UUID ids = 2;
Persistent.ReadReq.Nack.Builder
addIds(Shared.UUID.Builder builderForValue)
repeated .event_store.client.UUID ids = 2;
Shared.UUID.Builder
addIdsBuilder()
repeated .event_store.client.UUID ids = 2;
Shared.UUID.Builder
addIdsBuilder(int index)
repeated .event_store.client.UUID ids = 2;
Persistent.ReadReq.Nack.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Persistent.ReadReq.Nack
build()
Persistent.ReadReq.Nack
buildPartial()
Persistent.ReadReq.Nack.Builder
clear()
Persistent.ReadReq.Nack.Builder
clearAction()
.event_store.client.persistent_subscriptions.ReadReq.Nack.Action action = 3;
Persistent.ReadReq.Nack.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Persistent.ReadReq.Nack.Builder
clearId()
bytes id = 1;
Persistent.ReadReq.Nack.Builder
clearIds()
repeated .event_store.client.UUID ids = 2;
Persistent.ReadReq.Nack.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Persistent.ReadReq.Nack.Builder
clearReason()
string reason = 4;
Persistent.ReadReq.Nack.Builder
clone()
Persistent.ReadReq.Nack.Action
getAction()
.event_store.client.persistent_subscriptions.ReadReq.Nack.Action action = 3;
int
getActionValue()
.event_store.client.persistent_subscriptions.ReadReq.Nack.Action action = 3;
Persistent.ReadReq.Nack
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.ByteString
getId()
bytes id = 1;
Shared.UUID
getIds(int index)
repeated .event_store.client.UUID ids = 2;
Shared.UUID.Builder
getIdsBuilder(int index)
repeated .event_store.client.UUID ids = 2;
java.util.List<Shared.UUID.Builder>
getIdsBuilderList()
repeated .event_store.client.UUID ids = 2;
int
getIdsCount()
repeated .event_store.client.UUID ids = 2;
java.util.List<Shared.UUID>
getIdsList()
repeated .event_store.client.UUID ids = 2;
Shared.UUIDOrBuilder
getIdsOrBuilder(int index)
repeated .event_store.client.UUID ids = 2;
java.util.List<? extends Shared.UUIDOrBuilder>
getIdsOrBuilderList()
repeated .event_store.client.UUID ids = 2;
java.lang.String
getReason()
string reason = 4;
com.google.protobuf.ByteString
getReasonBytes()
string reason = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Persistent.ReadReq.Nack.Builder
mergeFrom(Persistent.ReadReq.Nack other)
Persistent.ReadReq.Nack.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Persistent.ReadReq.Nack.Builder
mergeFrom(com.google.protobuf.Message other)
Persistent.ReadReq.Nack.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Persistent.ReadReq.Nack.Builder
removeIds(int index)
repeated .event_store.client.UUID ids = 2;
Persistent.ReadReq.Nack.Builder
setAction(Persistent.ReadReq.Nack.Action value)
.event_store.client.persistent_subscriptions.ReadReq.Nack.Action action = 3;
Persistent.ReadReq.Nack.Builder
setActionValue(int value)
.event_store.client.persistent_subscriptions.ReadReq.Nack.Action action = 3;
Persistent.ReadReq.Nack.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Persistent.ReadReq.Nack.Builder
setId(com.google.protobuf.ByteString value)
bytes id = 1;
Persistent.ReadReq.Nack.Builder
setIds(int index, Shared.UUID value)
repeated .event_store.client.UUID ids = 2;
Persistent.ReadReq.Nack.Builder
setIds(int index, Shared.UUID.Builder builderForValue)
repeated .event_store.client.UUID ids = 2;
Persistent.ReadReq.Nack.Builder
setReason(java.lang.String value)
string reason = 4;
Persistent.ReadReq.Nack.Builder
setReasonBytes(com.google.protobuf.ByteString value)
string reason = 4;
Persistent.ReadReq.Nack.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Persistent.ReadReq.Nack.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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<Persistent.ReadReq.Nack.Builder>
-
clear
public Persistent.ReadReq.Nack.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<Persistent.ReadReq.Nack.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<Persistent.ReadReq.Nack.Builder>
-
getDefaultInstanceForType
public Persistent.ReadReq.Nack getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Persistent.ReadReq.Nack build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Persistent.ReadReq.Nack buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Persistent.ReadReq.Nack.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadReq.Nack.Builder>
-
setField
public Persistent.ReadReq.Nack.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadReq.Nack.Builder>
-
clearField
public Persistent.ReadReq.Nack.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadReq.Nack.Builder>
-
clearOneof
public Persistent.ReadReq.Nack.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadReq.Nack.Builder>
-
setRepeatedField
public Persistent.ReadReq.Nack.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadReq.Nack.Builder>
-
addRepeatedField
public Persistent.ReadReq.Nack.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadReq.Nack.Builder>
-
mergeFrom
public Persistent.ReadReq.Nack.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Persistent.ReadReq.Nack.Builder>
-
mergeFrom
public Persistent.ReadReq.Nack.Builder mergeFrom(Persistent.ReadReq.Nack other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadReq.Nack.Builder>
-
mergeFrom
public Persistent.ReadReq.Nack.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<Persistent.ReadReq.Nack.Builder>
- Throws:
java.io.IOException
-
getId
public com.google.protobuf.ByteString getId()
bytes id = 1;
- Specified by:
getId
in interfacePersistent.ReadReq.NackOrBuilder
- Returns:
- The id.
-
setId
public Persistent.ReadReq.Nack.Builder setId(com.google.protobuf.ByteString value)
bytes id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Persistent.ReadReq.Nack.Builder clearId()
bytes id = 1;
- Returns:
- This builder for chaining.
-
getIdsList
public java.util.List<Shared.UUID> getIdsList()
repeated .event_store.client.UUID ids = 2;
- Specified by:
getIdsList
in interfacePersistent.ReadReq.NackOrBuilder
-
getIdsCount
public int getIdsCount()
repeated .event_store.client.UUID ids = 2;
- Specified by:
getIdsCount
in interfacePersistent.ReadReq.NackOrBuilder
-
getIds
public Shared.UUID getIds(int index)
repeated .event_store.client.UUID ids = 2;
- Specified by:
getIds
in interfacePersistent.ReadReq.NackOrBuilder
-
setIds
public Persistent.ReadReq.Nack.Builder setIds(int index, Shared.UUID value)
repeated .event_store.client.UUID ids = 2;
-
setIds
public Persistent.ReadReq.Nack.Builder setIds(int index, Shared.UUID.Builder builderForValue)
repeated .event_store.client.UUID ids = 2;
-
addIds
public Persistent.ReadReq.Nack.Builder addIds(Shared.UUID value)
repeated .event_store.client.UUID ids = 2;
-
addIds
public Persistent.ReadReq.Nack.Builder addIds(int index, Shared.UUID value)
repeated .event_store.client.UUID ids = 2;
-
addIds
public Persistent.ReadReq.Nack.Builder addIds(Shared.UUID.Builder builderForValue)
repeated .event_store.client.UUID ids = 2;
-
addIds
public Persistent.ReadReq.Nack.Builder addIds(int index, Shared.UUID.Builder builderForValue)
repeated .event_store.client.UUID ids = 2;
-
addAllIds
public Persistent.ReadReq.Nack.Builder addAllIds(java.lang.Iterable<? extends Shared.UUID> values)
repeated .event_store.client.UUID ids = 2;
-
clearIds
public Persistent.ReadReq.Nack.Builder clearIds()
repeated .event_store.client.UUID ids = 2;
-
removeIds
public Persistent.ReadReq.Nack.Builder removeIds(int index)
repeated .event_store.client.UUID ids = 2;
-
getIdsBuilder
public Shared.UUID.Builder getIdsBuilder(int index)
repeated .event_store.client.UUID ids = 2;
-
getIdsOrBuilder
public Shared.UUIDOrBuilder getIdsOrBuilder(int index)
repeated .event_store.client.UUID ids = 2;
- Specified by:
getIdsOrBuilder
in interfacePersistent.ReadReq.NackOrBuilder
-
getIdsOrBuilderList
public java.util.List<? extends Shared.UUIDOrBuilder> getIdsOrBuilderList()
repeated .event_store.client.UUID ids = 2;
- Specified by:
getIdsOrBuilderList
in interfacePersistent.ReadReq.NackOrBuilder
-
addIdsBuilder
public Shared.UUID.Builder addIdsBuilder()
repeated .event_store.client.UUID ids = 2;
-
addIdsBuilder
public Shared.UUID.Builder addIdsBuilder(int index)
repeated .event_store.client.UUID ids = 2;
-
getIdsBuilderList
public java.util.List<Shared.UUID.Builder> getIdsBuilderList()
repeated .event_store.client.UUID ids = 2;
-
getActionValue
public int getActionValue()
.event_store.client.persistent_subscriptions.ReadReq.Nack.Action action = 3;
- Specified by:
getActionValue
in interfacePersistent.ReadReq.NackOrBuilder
- Returns:
- The enum numeric value on the wire for action.
-
setActionValue
public Persistent.ReadReq.Nack.Builder setActionValue(int value)
.event_store.client.persistent_subscriptions.ReadReq.Nack.Action action = 3;
- Parameters:
value
- The enum numeric value on the wire for action to set.- Returns:
- This builder for chaining.
-
getAction
public Persistent.ReadReq.Nack.Action getAction()
.event_store.client.persistent_subscriptions.ReadReq.Nack.Action action = 3;
- Specified by:
getAction
in interfacePersistent.ReadReq.NackOrBuilder
- Returns:
- The action.
-
setAction
public Persistent.ReadReq.Nack.Builder setAction(Persistent.ReadReq.Nack.Action value)
.event_store.client.persistent_subscriptions.ReadReq.Nack.Action action = 3;
- Parameters:
value
- The action to set.- Returns:
- This builder for chaining.
-
clearAction
public Persistent.ReadReq.Nack.Builder clearAction()
.event_store.client.persistent_subscriptions.ReadReq.Nack.Action action = 3;
- Returns:
- This builder for chaining.
-
getReason
public java.lang.String getReason()
string reason = 4;
- Specified by:
getReason
in interfacePersistent.ReadReq.NackOrBuilder
- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()
string reason = 4;
- Specified by:
getReasonBytes
in interfacePersistent.ReadReq.NackOrBuilder
- Returns:
- The bytes for reason.
-
setReason
public Persistent.ReadReq.Nack.Builder setReason(java.lang.String value)
string reason = 4;
- Parameters:
value
- The reason to set.- Returns:
- This builder for chaining.
-
clearReason
public Persistent.ReadReq.Nack.Builder clearReason()
string reason = 4;
- Returns:
- This builder for chaining.
-
setReasonBytes
public Persistent.ReadReq.Nack.Builder setReasonBytes(com.google.protobuf.ByteString value)
string reason = 4;
- Parameters:
value
- The bytes for reason to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Persistent.ReadReq.Nack.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadReq.Nack.Builder>
-
mergeUnknownFields
public final Persistent.ReadReq.Nack.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.ReadReq.Nack.Builder>
-
-