All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hedera.hashgraph.sdk.proto.RosterEntryOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.40.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: roster.proto

// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;

public interface RosterEntryOrBuilder extends
    // @@protoc_insertion_point(interface_extends:com.hedera.hapi.node.state.roster.RosterEntry)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   **
   * 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; * @return The nodeId. */ long getNodeId(); /** *
   **
   * 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; * @return The weight. */ long getWeight(); /** *
   **
   * 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; * @return The gossipCaCertificate. */ com.google.protobuf.ByteString getGossipCaCertificate(); /** *
   **
   * An elliptic curve public encryption key.<br/>
   * This is currently an ALT_BN128 curve, but the elliptic curve
   * type may change in the future. For example,
   * if the Ethereum ecosystem creates precompiles for BLS12_381,
   * we may switch to that curve.
   * <p>
   * This value SHALL be specified according to EIP-196 and EIP-197 standards,
   * See <a href='https://eips.ethereum.org/EIPS/eip-196#encoding'>EIP-196</a> and
   * <a href='https://eips.ethereum.org/EIPS/eip-197#encoding'>EIP-197</a><br/>
   * This field is _initially_ OPTIONAL (i.e. it can be unset _when created_)
   * but once set, it is REQUIRED thereafter.
   * 
* * bytes tss_encryption_key = 4; * @return The tssEncryptionKey. */ com.google.protobuf.ByteString getTssEncryptionKey(); /** *
   **
   * 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; */ java.util.List 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; */ com.hedera.hashgraph.sdk.proto.ServiceEndpoint getGossipEndpoint(int index); /** *
   **
   * 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; */ 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; */ java.util.List 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; */ com.hedera.hashgraph.sdk.proto.ServiceEndpointOrBuilder getGossipEndpointOrBuilder( int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy