Package akka.cluster.protobuf.msg
Class ClusterMessages.HeartBeatResponse.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.HeartBeatResponse.Builder>
-
- akka.cluster.protobuf.msg.ClusterMessages.HeartBeatResponse.Builder
-
- All Implemented Interfaces:
ClusterMessages.HeartBeatResponseOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ClusterMessages.HeartBeatResponse
public static final class ClusterMessages.HeartBeatResponse.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.HeartBeatResponse.Builder> implements ClusterMessages.HeartBeatResponseOrBuilder
Prior to version 2.5.24 HeartbeatRsp Sends an UniqueAddress Version 2.5.24 can deserialize this message but does not send it.
Protobuf typeHeartBeatResponse
-
-
Method Summary
-
Methods inherited from class akka.protobufv3.internal.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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<ClusterMessages.HeartBeatResponse.Builder>
-
clear
public ClusterMessages.HeartBeatResponse.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<ClusterMessages.HeartBeatResponse.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<ClusterMessages.HeartBeatResponse.Builder>
-
getDefaultInstanceForType
public ClusterMessages.HeartBeatResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public ClusterMessages.HeartBeatResponse build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ClusterMessages.HeartBeatResponse buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public ClusterMessages.HeartBeatResponse.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<ClusterMessages.HeartBeatResponse.Builder>
-
setField
public ClusterMessages.HeartBeatResponse.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<ClusterMessages.HeartBeatResponse.Builder>
-
clearField
public ClusterMessages.HeartBeatResponse.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<ClusterMessages.HeartBeatResponse.Builder>
-
clearOneof
public ClusterMessages.HeartBeatResponse.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<ClusterMessages.HeartBeatResponse.Builder>
-
setRepeatedField
public ClusterMessages.HeartBeatResponse.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<ClusterMessages.HeartBeatResponse.Builder>
-
addRepeatedField
public ClusterMessages.HeartBeatResponse.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<ClusterMessages.HeartBeatResponse.Builder>
-
mergeFrom
public ClusterMessages.HeartBeatResponse.Builder mergeFrom(akka.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<ClusterMessages.HeartBeatResponse.Builder>
-
mergeFrom
public ClusterMessages.HeartBeatResponse.Builder mergeFrom(ClusterMessages.HeartBeatResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.HeartBeatResponse.Builder>
-
mergeFrom
public ClusterMessages.HeartBeatResponse.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<ClusterMessages.HeartBeatResponse.Builder>
- Throws:
java.io.IOException
-
hasFrom
public boolean hasFrom()
required .UniqueAddress from = 1;
- Specified by:
hasFrom
in interfaceClusterMessages.HeartBeatResponseOrBuilder
- Returns:
- Whether the from field is set.
-
getFrom
public ClusterMessages.UniqueAddress getFrom()
required .UniqueAddress from = 1;
- Specified by:
getFrom
in interfaceClusterMessages.HeartBeatResponseOrBuilder
- Returns:
- The from.
-
setFrom
public ClusterMessages.HeartBeatResponse.Builder setFrom(ClusterMessages.UniqueAddress value)
required .UniqueAddress from = 1;
-
setFrom
public ClusterMessages.HeartBeatResponse.Builder setFrom(ClusterMessages.UniqueAddress.Builder builderForValue)
required .UniqueAddress from = 1;
-
mergeFrom
public ClusterMessages.HeartBeatResponse.Builder mergeFrom(ClusterMessages.UniqueAddress value)
required .UniqueAddress from = 1;
-
clearFrom
public ClusterMessages.HeartBeatResponse.Builder clearFrom()
required .UniqueAddress from = 1;
-
getFromBuilder
public ClusterMessages.UniqueAddress.Builder getFromBuilder()
required .UniqueAddress from = 1;
-
getFromOrBuilder
public ClusterMessages.UniqueAddressOrBuilder getFromOrBuilder()
required .UniqueAddress from = 1;
- Specified by:
getFromOrBuilder
in interfaceClusterMessages.HeartBeatResponseOrBuilder
-
hasSequenceNr
public boolean hasSequenceNr()
optional int64 sequenceNr = 2;
- Specified by:
hasSequenceNr
in interfaceClusterMessages.HeartBeatResponseOrBuilder
- Returns:
- Whether the sequenceNr field is set.
-
getSequenceNr
public long getSequenceNr()
optional int64 sequenceNr = 2;
- Specified by:
getSequenceNr
in interfaceClusterMessages.HeartBeatResponseOrBuilder
- Returns:
- The sequenceNr.
-
setSequenceNr
public ClusterMessages.HeartBeatResponse.Builder setSequenceNr(long value)
optional int64 sequenceNr = 2;
- Parameters:
value
- The sequenceNr to set.- Returns:
- This builder for chaining.
-
clearSequenceNr
public ClusterMessages.HeartBeatResponse.Builder clearSequenceNr()
optional int64 sequenceNr = 2;
- Returns:
- This builder for chaining.
-
hasCreationTime
public boolean hasCreationTime()
optional int64 creationTime = 3;
- Specified by:
hasCreationTime
in interfaceClusterMessages.HeartBeatResponseOrBuilder
- Returns:
- Whether the creationTime field is set.
-
getCreationTime
public long getCreationTime()
optional int64 creationTime = 3;
- Specified by:
getCreationTime
in interfaceClusterMessages.HeartBeatResponseOrBuilder
- Returns:
- The creationTime.
-
setCreationTime
public ClusterMessages.HeartBeatResponse.Builder setCreationTime(long value)
optional int64 creationTime = 3;
- Parameters:
value
- The creationTime to set.- Returns:
- This builder for chaining.
-
clearCreationTime
public ClusterMessages.HeartBeatResponse.Builder clearCreationTime()
optional int64 creationTime = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClusterMessages.HeartBeatResponse.Builder setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.HeartBeatResponse.Builder>
-
mergeUnknownFields
public final ClusterMessages.HeartBeatResponse.Builder mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.HeartBeatResponse.Builder>
-
-