Package akka.cluster.protobuf.msg
Class ClusterMessages.Heartbeat.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Heartbeat.Builder>
-
- akka.cluster.protobuf.msg.ClusterMessages.Heartbeat.Builder
-
- All Implemented Interfaces:
ClusterMessages.HeartbeatOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ClusterMessages.Heartbeat
public static final class ClusterMessages.Heartbeat.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Heartbeat.Builder> implements ClusterMessages.HeartbeatOrBuilder
Prior to version 2.5.24 Heartbeat sends an Address Version 2.5.24 can deserialize this message but does not send it.
Protobuf typeHeartbeat
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterMessages.Heartbeat.Builder
addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterMessages.Heartbeat
build()
ClusterMessages.Heartbeat
buildPartial()
ClusterMessages.Heartbeat.Builder
clear()
ClusterMessages.Heartbeat.Builder
clearCreationTime()
optional sint64 creationTime = 3;
ClusterMessages.Heartbeat.Builder
clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
ClusterMessages.Heartbeat.Builder
clearFrom()
required .Address from = 1;
ClusterMessages.Heartbeat.Builder
clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
ClusterMessages.Heartbeat.Builder
clearSequenceNr()
optional int64 sequenceNr = 2;
ClusterMessages.Heartbeat.Builder
clone()
long
getCreationTime()
optional sint64 creationTime = 3;
ClusterMessages.Heartbeat
getDefaultInstanceForType()
static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
akka.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
ClusterMessages.Address
getFrom()
required .Address from = 1;
ClusterMessages.Address.Builder
getFromBuilder()
required .Address from = 1;
ClusterMessages.AddressOrBuilder
getFromOrBuilder()
required .Address from = 1;
long
getSequenceNr()
optional int64 sequenceNr = 2;
boolean
hasCreationTime()
optional sint64 creationTime = 3;
boolean
hasFrom()
required .Address from = 1;
boolean
hasSequenceNr()
optional int64 sequenceNr = 2;
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ClusterMessages.Heartbeat.Builder
mergeFrom(ClusterMessages.Address value)
required .Address from = 1;
ClusterMessages.Heartbeat.Builder
mergeFrom(ClusterMessages.Heartbeat other)
ClusterMessages.Heartbeat.Builder
mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ClusterMessages.Heartbeat.Builder
mergeFrom(akka.protobufv3.internal.Message other)
ClusterMessages.Heartbeat.Builder
mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterMessages.Heartbeat.Builder
setCreationTime(long value)
optional sint64 creationTime = 3;
ClusterMessages.Heartbeat.Builder
setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterMessages.Heartbeat.Builder
setFrom(ClusterMessages.Address value)
required .Address from = 1;
ClusterMessages.Heartbeat.Builder
setFrom(ClusterMessages.Address.Builder builderForValue)
required .Address from = 1;
ClusterMessages.Heartbeat.Builder
setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ClusterMessages.Heartbeat.Builder
setSequenceNr(long value)
optional int64 sequenceNr = 2;
ClusterMessages.Heartbeat.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, 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.Heartbeat.Builder>
-
clear
public ClusterMessages.Heartbeat.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.Heartbeat.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.Heartbeat.Builder>
-
getDefaultInstanceForType
public ClusterMessages.Heartbeat getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public ClusterMessages.Heartbeat build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ClusterMessages.Heartbeat buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public ClusterMessages.Heartbeat.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.Heartbeat.Builder>
-
setField
public ClusterMessages.Heartbeat.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.Heartbeat.Builder>
-
clearField
public ClusterMessages.Heartbeat.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.Heartbeat.Builder>
-
clearOneof
public ClusterMessages.Heartbeat.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.Heartbeat.Builder>
-
setRepeatedField
public ClusterMessages.Heartbeat.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.Heartbeat.Builder>
-
addRepeatedField
public ClusterMessages.Heartbeat.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.Heartbeat.Builder>
-
mergeFrom
public ClusterMessages.Heartbeat.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.Heartbeat.Builder>
-
mergeFrom
public ClusterMessages.Heartbeat.Builder mergeFrom(ClusterMessages.Heartbeat other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Heartbeat.Builder>
-
mergeFrom
public ClusterMessages.Heartbeat.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.Heartbeat.Builder>
- Throws:
java.io.IOException
-
hasFrom
public boolean hasFrom()
required .Address from = 1;
- Specified by:
hasFrom
in interfaceClusterMessages.HeartbeatOrBuilder
- Returns:
- Whether the from field is set.
-
getFrom
public ClusterMessages.Address getFrom()
required .Address from = 1;
- Specified by:
getFrom
in interfaceClusterMessages.HeartbeatOrBuilder
- Returns:
- The from.
-
setFrom
public ClusterMessages.Heartbeat.Builder setFrom(ClusterMessages.Address value)
required .Address from = 1;
-
setFrom
public ClusterMessages.Heartbeat.Builder setFrom(ClusterMessages.Address.Builder builderForValue)
required .Address from = 1;
-
mergeFrom
public ClusterMessages.Heartbeat.Builder mergeFrom(ClusterMessages.Address value)
required .Address from = 1;
-
clearFrom
public ClusterMessages.Heartbeat.Builder clearFrom()
required .Address from = 1;
-
getFromBuilder
public ClusterMessages.Address.Builder getFromBuilder()
required .Address from = 1;
-
getFromOrBuilder
public ClusterMessages.AddressOrBuilder getFromOrBuilder()
required .Address from = 1;
- Specified by:
getFromOrBuilder
in interfaceClusterMessages.HeartbeatOrBuilder
-
hasSequenceNr
public boolean hasSequenceNr()
optional int64 sequenceNr = 2;
- Specified by:
hasSequenceNr
in interfaceClusterMessages.HeartbeatOrBuilder
- Returns:
- Whether the sequenceNr field is set.
-
getSequenceNr
public long getSequenceNr()
optional int64 sequenceNr = 2;
- Specified by:
getSequenceNr
in interfaceClusterMessages.HeartbeatOrBuilder
- Returns:
- The sequenceNr.
-
setSequenceNr
public ClusterMessages.Heartbeat.Builder setSequenceNr(long value)
optional int64 sequenceNr = 2;
- Parameters:
value
- The sequenceNr to set.- Returns:
- This builder for chaining.
-
clearSequenceNr
public ClusterMessages.Heartbeat.Builder clearSequenceNr()
optional int64 sequenceNr = 2;
- Returns:
- This builder for chaining.
-
hasCreationTime
public boolean hasCreationTime()
optional sint64 creationTime = 3;
- Specified by:
hasCreationTime
in interfaceClusterMessages.HeartbeatOrBuilder
- Returns:
- Whether the creationTime field is set.
-
getCreationTime
public long getCreationTime()
optional sint64 creationTime = 3;
- Specified by:
getCreationTime
in interfaceClusterMessages.HeartbeatOrBuilder
- Returns:
- The creationTime.
-
setCreationTime
public ClusterMessages.Heartbeat.Builder setCreationTime(long value)
optional sint64 creationTime = 3;
- Parameters:
value
- The creationTime to set.- Returns:
- This builder for chaining.
-
clearCreationTime
public ClusterMessages.Heartbeat.Builder clearCreationTime()
optional sint64 creationTime = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClusterMessages.Heartbeat.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.Heartbeat.Builder>
-
mergeUnknownFields
public final ClusterMessages.Heartbeat.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.Heartbeat.Builder>
-
-