Package akka.remote
Class WireFormats.AcknowledgementInfo.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AcknowledgementInfo.Builder>
-
- akka.remote.WireFormats.AcknowledgementInfo.Builder
-
- All Implemented Interfaces:
akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,WireFormats.AcknowledgementInfoOrBuilder
,java.lang.Cloneable
- Enclosing class:
- WireFormats.AcknowledgementInfo
public static final class WireFormats.AcknowledgementInfo.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AcknowledgementInfo.Builder> implements WireFormats.AcknowledgementInfoOrBuilder
Protobuf typeAcknowledgementInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WireFormats.AcknowledgementInfo.Builder
addAllNacks(java.lang.Iterable<? extends java.lang.Long> values)
repeated fixed64 nacks = 2;
WireFormats.AcknowledgementInfo.Builder
addNacks(long value)
repeated fixed64 nacks = 2;
WireFormats.AcknowledgementInfo.Builder
addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
WireFormats.AcknowledgementInfo
build()
WireFormats.AcknowledgementInfo
buildPartial()
WireFormats.AcknowledgementInfo.Builder
clear()
WireFormats.AcknowledgementInfo.Builder
clearCumulativeAck()
required fixed64 cumulativeAck = 1;
WireFormats.AcknowledgementInfo.Builder
clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
WireFormats.AcknowledgementInfo.Builder
clearNacks()
repeated fixed64 nacks = 2;
WireFormats.AcknowledgementInfo.Builder
clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
WireFormats.AcknowledgementInfo.Builder
clone()
long
getCumulativeAck()
required fixed64 cumulativeAck = 1;
WireFormats.AcknowledgementInfo
getDefaultInstanceForType()
static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
akka.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
long
getNacks(int index)
repeated fixed64 nacks = 2;
int
getNacksCount()
repeated fixed64 nacks = 2;
java.util.List<java.lang.Long>
getNacksList()
repeated fixed64 nacks = 2;
boolean
hasCumulativeAck()
required fixed64 cumulativeAck = 1;
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
WireFormats.AcknowledgementInfo.Builder
mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
WireFormats.AcknowledgementInfo.Builder
mergeFrom(akka.protobufv3.internal.Message other)
WireFormats.AcknowledgementInfo.Builder
mergeFrom(WireFormats.AcknowledgementInfo other)
WireFormats.AcknowledgementInfo.Builder
mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
WireFormats.AcknowledgementInfo.Builder
setCumulativeAck(long value)
required fixed64 cumulativeAck = 1;
WireFormats.AcknowledgementInfo.Builder
setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
WireFormats.AcknowledgementInfo.Builder
setNacks(int index, long value)
repeated fixed64 nacks = 2;
WireFormats.AcknowledgementInfo.Builder
setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
WireFormats.AcknowledgementInfo.Builder
setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
-
Methods inherited from class akka.protobufv3.internal.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 akka.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class akka.protobufv3.internal.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 akka.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AcknowledgementInfo.Builder>
-
clear
public WireFormats.AcknowledgementInfo.Builder clear()
- Specified by:
clear
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AcknowledgementInfo.Builder>
-
getDescriptorForType
public akka.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AcknowledgementInfo.Builder>
-
getDefaultInstanceForType
public WireFormats.AcknowledgementInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public WireFormats.AcknowledgementInfo build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public WireFormats.AcknowledgementInfo buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public WireFormats.AcknowledgementInfo.Builder clone()
- Specified by:
clone
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AcknowledgementInfo.Builder>
-
setField
public WireFormats.AcknowledgementInfo.Builder setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AcknowledgementInfo.Builder>
-
clearField
public WireFormats.AcknowledgementInfo.Builder clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AcknowledgementInfo.Builder>
-
clearOneof
public WireFormats.AcknowledgementInfo.Builder clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AcknowledgementInfo.Builder>
-
setRepeatedField
public WireFormats.AcknowledgementInfo.Builder setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AcknowledgementInfo.Builder>
-
addRepeatedField
public WireFormats.AcknowledgementInfo.Builder addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AcknowledgementInfo.Builder>
-
mergeFrom
public WireFormats.AcknowledgementInfo.Builder mergeFrom(akka.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<WireFormats.AcknowledgementInfo.Builder>
-
mergeFrom
public WireFormats.AcknowledgementInfo.Builder mergeFrom(WireFormats.AcknowledgementInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AcknowledgementInfo.Builder>
-
mergeFrom
public WireFormats.AcknowledgementInfo.Builder mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<WireFormats.AcknowledgementInfo.Builder>
- Throws:
java.io.IOException
-
hasCumulativeAck
public boolean hasCumulativeAck()
required fixed64 cumulativeAck = 1;
- Specified by:
hasCumulativeAck
in interfaceWireFormats.AcknowledgementInfoOrBuilder
- Returns:
- Whether the cumulativeAck field is set.
-
getCumulativeAck
public long getCumulativeAck()
required fixed64 cumulativeAck = 1;
- Specified by:
getCumulativeAck
in interfaceWireFormats.AcknowledgementInfoOrBuilder
- Returns:
- The cumulativeAck.
-
setCumulativeAck
public WireFormats.AcknowledgementInfo.Builder setCumulativeAck(long value)
required fixed64 cumulativeAck = 1;
- Parameters:
value
- The cumulativeAck to set.- Returns:
- This builder for chaining.
-
clearCumulativeAck
public WireFormats.AcknowledgementInfo.Builder clearCumulativeAck()
required fixed64 cumulativeAck = 1;
- Returns:
- This builder for chaining.
-
getNacksList
public java.util.List<java.lang.Long> getNacksList()
repeated fixed64 nacks = 2;
- Specified by:
getNacksList
in interfaceWireFormats.AcknowledgementInfoOrBuilder
- Returns:
- A list containing the nacks.
-
getNacksCount
public int getNacksCount()
repeated fixed64 nacks = 2;
- Specified by:
getNacksCount
in interfaceWireFormats.AcknowledgementInfoOrBuilder
- Returns:
- The count of nacks.
-
getNacks
public long getNacks(int index)
repeated fixed64 nacks = 2;
- Specified by:
getNacks
in interfaceWireFormats.AcknowledgementInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The nacks at the given index.
-
setNacks
public WireFormats.AcknowledgementInfo.Builder setNacks(int index, long value)
repeated fixed64 nacks = 2;
- Parameters:
index
- The index to set the value at.value
- The nacks to set.- Returns:
- This builder for chaining.
-
addNacks
public WireFormats.AcknowledgementInfo.Builder addNacks(long value)
repeated fixed64 nacks = 2;
- Parameters:
value
- The nacks to add.- Returns:
- This builder for chaining.
-
addAllNacks
public WireFormats.AcknowledgementInfo.Builder addAllNacks(java.lang.Iterable<? extends java.lang.Long> values)
repeated fixed64 nacks = 2;
- Parameters:
values
- The nacks to add.- Returns:
- This builder for chaining.
-
clearNacks
public WireFormats.AcknowledgementInfo.Builder clearNacks()
repeated fixed64 nacks = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final WireFormats.AcknowledgementInfo.Builder setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AcknowledgementInfo.Builder>
-
mergeUnknownFields
public final WireFormats.AcknowledgementInfo.Builder mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.AcknowledgementInfo.Builder>
-
-