java.lang.Object
com.google.protobuf.AbstractMessageLite<RosterEntry,RosterEntry.Builder>
com.google.protobuf.GeneratedMessageLite<RosterEntry,RosterEntry.Builder>
com.hedera.hashgraph.sdk.proto.RosterEntry
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,RosterEntryOrBuilder
@Generated
public final class RosterEntry
extends com.google.protobuf.GeneratedMessageLite<RosterEntry,RosterEntry.Builder>
implements RosterEntryOrBuilder
* A single roster entry in the network state. Each roster entry SHALL encapsulate the elements required to manage node participation in the Threshold Signature Scheme (TSS).<br/> All fields are REQUIRED.Protobuf type
com.hedera.hapi.node.state.roster.RosterEntry-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* A single roster entry in the network state.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static RosterEntrycom.google.protobuf.ByteString* An RSA public certificate used for signing gossip events.getGossipEndpoint(int index) * A list of service endpoints for gossip.int* A list of service endpoints for gossip.* A list of service endpoints for gossip.getGossipEndpointOrBuilder(int index) * A list of service endpoints for gossip.List<? extends ServiceEndpointOrBuilder> * A list of service endpoints for gossip.long* A consensus node identifier.long* A consensus weight.static RosterEntry.Builderstatic RosterEntry.BuildernewBuilder(RosterEntry prototype) static RosterEntryparseDelimitedFrom(InputStream input) static RosterEntryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RosterEntryparseFrom(byte[] data) static RosterEntryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RosterEntryparseFrom(com.google.protobuf.ByteString data) static RosterEntryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RosterEntryparseFrom(com.google.protobuf.CodedInputStream input) static RosterEntryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RosterEntryparseFrom(InputStream input) static RosterEntryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RosterEntryparseFrom(ByteBuffer data) static RosterEntryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RosterEntry> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
NODE_ID_FIELD_NUMBER
public static final int NODE_ID_FIELD_NUMBER- See Also:
-
WEIGHT_FIELD_NUMBER
public static final int WEIGHT_FIELD_NUMBER- See Also:
-
GOSSIP_CA_CERTIFICATE_FIELD_NUMBER
public static final int GOSSIP_CA_CERTIFICATE_FIELD_NUMBER- See Also:
-
GOSSIP_ENDPOINT_FIELD_NUMBER
public static final int GOSSIP_ENDPOINT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getNodeId
public long getNodeId()* A consensus node identifier. <p> Node identifiers SHALL be unique _within_ a ledger, and MUST NOT be repeated _between_ shards and realms.
uint64 node_id = 1;- Specified by:
getNodeIdin interfaceRosterEntryOrBuilder- Returns:
- The nodeId.
-
getWeight
public long getWeight()* A consensus weight. <p> Each node SHALL have a weight of zero or more in consensus calculations.<br/> The sum of the weights of all nodes in the roster SHALL form the total weight of the system, and each node's individual weight SHALL be proportional to that sum.<br/>
uint64 weight = 2;- Specified by:
getWeightin interfaceRosterEntryOrBuilder- Returns:
- The weight.
-
getGossipCaCertificate
public com.google.protobuf.ByteString getGossipCaCertificate()* An RSA public certificate used for signing gossip events. <p> This value SHALL be a certificate of a type permitted for gossip signatures.<br/> This value SHALL be the DER encoding of the certificate presented.<br/> This field is REQUIRED and MUST NOT be empty.
bytes gossip_ca_certificate = 3;- Specified by:
getGossipCaCertificatein interfaceRosterEntryOrBuilder- Returns:
- The gossipCaCertificate.
-
getGossipEndpointList
* A list of service endpoints for gossip. <p> These endpoints SHALL represent the published endpoints to which other consensus nodes may _gossip_ transactions.<br/> If the network configuration value `gossipFqdnRestricted` is set, then all endpoints in this list SHALL supply only IP address.<br/> If the network configuration value `gossipFqdnRestricted` is _not_ set, then endpoints in this list MAY supply either IP address or FQDN, but SHALL NOT supply both values for the same endpoint.<br/> This list SHALL NOT be empty.<br/>
repeated .proto.ServiceEndpoint gossip_endpoint = 5;- Specified by:
getGossipEndpointListin interfaceRosterEntryOrBuilder
-
getGossipEndpointOrBuilderList
* A list of service endpoints for gossip. <p> These endpoints SHALL represent the published endpoints to which other consensus nodes may _gossip_ transactions.<br/> If the network configuration value `gossipFqdnRestricted` is set, then all endpoints in this list SHALL supply only IP address.<br/> If the network configuration value `gossipFqdnRestricted` is _not_ set, then endpoints in this list MAY supply either IP address or FQDN, but SHALL NOT supply both values for the same endpoint.<br/> This list SHALL NOT be empty.<br/>
repeated .proto.ServiceEndpoint gossip_endpoint = 5; -
getGossipEndpointCount
public int getGossipEndpointCount()* A list of service endpoints for gossip. <p> These endpoints SHALL represent the published endpoints to which other consensus nodes may _gossip_ transactions.<br/> If the network configuration value `gossipFqdnRestricted` is set, then all endpoints in this list SHALL supply only IP address.<br/> If the network configuration value `gossipFqdnRestricted` is _not_ set, then endpoints in this list MAY supply either IP address or FQDN, but SHALL NOT supply both values for the same endpoint.<br/> This list SHALL NOT be empty.<br/>
repeated .proto.ServiceEndpoint gossip_endpoint = 5;- Specified by:
getGossipEndpointCountin interfaceRosterEntryOrBuilder
-
getGossipEndpoint
* A list of service endpoints for gossip. <p> These endpoints SHALL represent the published endpoints to which other consensus nodes may _gossip_ transactions.<br/> If the network configuration value `gossipFqdnRestricted` is set, then all endpoints in this list SHALL supply only IP address.<br/> If the network configuration value `gossipFqdnRestricted` is _not_ set, then endpoints in this list MAY supply either IP address or FQDN, but SHALL NOT supply both values for the same endpoint.<br/> This list SHALL NOT be empty.<br/>
repeated .proto.ServiceEndpoint gossip_endpoint = 5;- Specified by:
getGossipEndpointin interfaceRosterEntryOrBuilder
-
getGossipEndpointOrBuilder
* A list of service endpoints for gossip. <p> These endpoints SHALL represent the published endpoints to which other consensus nodes may _gossip_ transactions.<br/> If the network configuration value `gossipFqdnRestricted` is set, then all endpoints in this list SHALL supply only IP address.<br/> If the network configuration value `gossipFqdnRestricted` is _not_ set, then endpoints in this list MAY supply either IP address or FQDN, but SHALL NOT supply both values for the same endpoint.<br/> This list SHALL NOT be empty.<br/>
repeated .proto.ServiceEndpoint gossip_endpoint = 5; -
parseFrom
public static RosterEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RosterEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RosterEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RosterEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RosterEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RosterEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RosterEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RosterEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RosterEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<RosterEntry,RosterEntry.Builder>
-
getDefaultInstance
-
parser
-