public final class StateInfo extends com.google.protobuf.GeneratedMessageV3 implements StateInfoOrBuilder
StateInfo is used for a peer to relay its state information to other peersProtobuf type
gossip.StateInfo
Modifier and Type | Class and Description |
---|---|
static class |
StateInfo.Builder
StateInfo is used for a peer to relay its state information
to other peers
|
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 |
CHANNEL_MAC_FIELD_NUMBER |
static int |
PKI_ID_FIELD_NUMBER |
static int |
PROPERTIES_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
com.google.protobuf.ByteString |
getChannelMAC()
channel_MAC is an authentication code that proves
that the peer that sent this message knows
the name of the channel.
|
static StateInfo |
getDefaultInstance() |
StateInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<StateInfo> |
getParserForType() |
com.google.protobuf.ByteString |
getPkiId()
bytes pki_id = 3 [json_name = "pkiId"]; |
Properties |
getProperties()
.gossip.Properties properties = 5 [json_name = "properties"]; |
PropertiesOrBuilder |
getPropertiesOrBuilder()
.gossip.Properties properties = 5 [json_name = "properties"]; |
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 |
hasProperties()
.gossip.Properties properties = 5 [json_name = "properties"]; |
boolean |
hasTimestamp()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"]; |
boolean |
isInitialized() |
static StateInfo.Builder |
newBuilder() |
static StateInfo.Builder |
newBuilder(StateInfo prototype) |
StateInfo.Builder |
newBuilderForType() |
static StateInfo |
parseDelimitedFrom(InputStream input) |
static StateInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StateInfo |
parseFrom(byte[] data) |
static StateInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StateInfo |
parseFrom(ByteBuffer data) |
static StateInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StateInfo |
parseFrom(com.google.protobuf.ByteString data) |
static StateInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StateInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StateInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StateInfo |
parseFrom(InputStream input) |
static StateInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<StateInfo> |
parser() |
StateInfo.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 TIMESTAMP_FIELD_NUMBER
public static final int PKI_ID_FIELD_NUMBER
public static final int CHANNEL_MAC_FIELD_NUMBER
public static final int PROPERTIES_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 hasTimestamp()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"];
hasTimestamp
in interface StateInfoOrBuilder
public PeerTime getTimestamp()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"];
getTimestamp
in interface StateInfoOrBuilder
public PeerTimeOrBuilder getTimestampOrBuilder()
.gossip.PeerTime timestamp = 2 [json_name = "timestamp"];
getTimestampOrBuilder
in interface StateInfoOrBuilder
public com.google.protobuf.ByteString getPkiId()
bytes pki_id = 3 [json_name = "pkiId"];
getPkiId
in interface StateInfoOrBuilder
public com.google.protobuf.ByteString getChannelMAC()
channel_MAC is an authentication code that proves that the peer that sent this message knows the name of the channel.
bytes channel_MAC = 4 [json_name = "channelMAC"];
getChannelMAC
in interface StateInfoOrBuilder
public boolean hasProperties()
.gossip.Properties properties = 5 [json_name = "properties"];
hasProperties
in interface StateInfoOrBuilder
public Properties getProperties()
.gossip.Properties properties = 5 [json_name = "properties"];
getProperties
in interface StateInfoOrBuilder
public PropertiesOrBuilder getPropertiesOrBuilder()
.gossip.Properties properties = 5 [json_name = "properties"];
getPropertiesOrBuilder
in interface StateInfoOrBuilder
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 StateInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StateInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StateInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StateInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StateInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StateInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StateInfo parseFrom(InputStream input) throws IOException
IOException
public static StateInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static StateInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static StateInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static StateInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static StateInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public StateInfo.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static StateInfo.Builder newBuilder()
public static StateInfo.Builder newBuilder(StateInfo prototype)
public StateInfo.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static StateInfo getDefaultInstance()
public static com.google.protobuf.Parser<StateInfo> parser()
public com.google.protobuf.Parser<StateInfo> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public StateInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.