public final class AliveMessage extends com.google.protobuf.GeneratedMessageV3 implements AliveMessageOrBuilder
AliveMessage is sent to inform remote peers of a peer's existence and activityProtobuf type
gossip.AliveMessage
Modifier and Type | Class and Description |
---|---|
static class |
AliveMessage.Builder
AliveMessage is sent to inform remote peers
of a peer's existence and activity
|
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
IDENTITY_FIELD_NUMBER |
static int |
MEMBERSHIP_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static AliveMessage |
getDefaultInstance() |
AliveMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getIdentity()
bytes identity = 4 [json_name = "identity"]; |
Member |
getMembership()
.gossip.Member membership = 1 [json_name = "membership"]; |
MemberOrBuilder |
getMembershipOrBuilder()
.gossip.Member membership = 1 [json_name = "membership"]; |
com.google.protobuf.Parser<AliveMessage> |
getParserForType() |
int |
getSerializedSize() |
PeerTime |
getTimestamp()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"]; |
PeerTimeOrBuilder |
getTimestampOrBuilder()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"]; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMembership()
.gossip.Member membership = 1 [json_name = "membership"]; |
boolean |
hasTimestamp()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"]; |
boolean |
isInitialized() |
static AliveMessage.Builder |
newBuilder() |
static AliveMessage.Builder |
newBuilder(AliveMessage prototype) |
AliveMessage.Builder |
newBuilderForType() |
static AliveMessage |
parseDelimitedFrom(InputStream input) |
static AliveMessage |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AliveMessage |
parseFrom(byte[] data) |
static AliveMessage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AliveMessage |
parseFrom(ByteBuffer data) |
static AliveMessage |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AliveMessage |
parseFrom(com.google.protobuf.ByteString data) |
static AliveMessage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AliveMessage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AliveMessage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AliveMessage |
parseFrom(InputStream input) |
static AliveMessage |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AliveMessage> |
parser() |
AliveMessage.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
findInitializationErrors, getInitializationErrorString, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int MEMBERSHIP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int IDENTITY_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public boolean hasMembership()
.gossip.Member membership = 1 [json_name = "membership"];
hasMembership
in interface AliveMessageOrBuilder
public Member getMembership()
.gossip.Member membership = 1 [json_name = "membership"];
getMembership
in interface AliveMessageOrBuilder
public MemberOrBuilder getMembershipOrBuilder()
.gossip.Member membership = 1 [json_name = "membership"];
getMembershipOrBuilder
in interface AliveMessageOrBuilder
public boolean hasTimestamp()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"];
hasTimestamp
in interface AliveMessageOrBuilder
public PeerTime getTimestamp()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"];
getTimestamp
in interface AliveMessageOrBuilder
public PeerTimeOrBuilder getTimestampOrBuilder()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"];
getTimestampOrBuilder
in interface AliveMessageOrBuilder
public com.google.protobuf.ByteString getIdentity()
bytes identity = 4 [json_name = "identity"];
getIdentity
in interface AliveMessageOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static AliveMessage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AliveMessage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AliveMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AliveMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AliveMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AliveMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AliveMessage parseFrom(InputStream input) throws IOException
IOException
public static AliveMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static AliveMessage parseDelimitedFrom(InputStream input) throws IOException
IOException
public static AliveMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static AliveMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static AliveMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public AliveMessage.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static AliveMessage.Builder newBuilder()
public static AliveMessage.Builder newBuilder(AliveMessage prototype)
public AliveMessage.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static AliveMessage getDefaultInstance()
public static com.google.protobuf.Parser<AliveMessage> parser()
public com.google.protobuf.Parser<AliveMessage> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public AliveMessage getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.