com.hederahashgraph.api.proto.java.NodeAddressOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: basic_types.proto
package com.hederahashgraph.api.proto.java;
public interface NodeAddressOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.NodeAddress)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The IP address of the Node with separator & octets encoded in UTF-8. Usage is deprecated,
* ServiceEndpoint is preferred to retrieve a node's list of IP addresses and ports
*
*
* bytes ipAddress = 1 [deprecated = true];
* @return The ipAddress.
*/
@java.lang.Deprecated com.google.protobuf.ByteString getIpAddress();
/**
*
**
* The port number of the grpc server for the node. Usage is deprecated, ServiceEndpoint is
* preferred to retrieve a node's list of IP addresses and ports
*
*
* int32 portno = 2 [deprecated = true];
* @return The portno.
*/
@java.lang.Deprecated int getPortno();
/**
*
**
* Usage is deprecated, nodeAccountId is preferred to retrieve a node's account ID
*
*
* bytes memo = 3 [deprecated = true];
* @return The memo.
*/
@java.lang.Deprecated com.google.protobuf.ByteString getMemo();
/**
*
**
* The node's X509 RSA public key used to sign stream files (e.g., record stream
* files). Precisely, this field is a string of hexadecimal characters which,
* translated to binary, are the public key's DER encoding.
*
*
* string RSA_PubKey = 4;
* @return The rSAPubKey.
*/
java.lang.String getRSAPubKey();
/**
*
**
* The node's X509 RSA public key used to sign stream files (e.g., record stream
* files). Precisely, this field is a string of hexadecimal characters which,
* translated to binary, are the public key's DER encoding.
*
*
* string RSA_PubKey = 4;
* @return The bytes for rSAPubKey.
*/
com.google.protobuf.ByteString
getRSAPubKeyBytes();
/**
*
**
* # A non-sequential identifier for the node
*
*
* int64 nodeId = 5;
* @return The nodeId.
*/
long getNodeId();
/**
*
**
* # The account to be paid for queries and transactions sent to this node
*
*
* .proto.AccountID nodeAccountId = 6;
* @return Whether the nodeAccountId field is set.
*/
boolean hasNodeAccountId();
/**
*
**
* # The account to be paid for queries and transactions sent to this node
*
*
* .proto.AccountID nodeAccountId = 6;
* @return The nodeAccountId.
*/
com.hederahashgraph.api.proto.java.AccountID getNodeAccountId();
/**
*
**
* # The account to be paid for queries and transactions sent to this node
*
*
* .proto.AccountID nodeAccountId = 6;
*/
com.hederahashgraph.api.proto.java.AccountIDOrBuilder getNodeAccountIdOrBuilder();
/**
*
**
* # Hash of the node's TLS certificate. Precisely, this field is a string of
* hexadecimal characters which, translated to binary, are the SHA-384 hash of
* the UTF-8 NFKD encoding of the node's TLS cert in PEM format. Its value can be
* used to verify the node's certificate it presents during TLS negotiations.
*
*
* bytes nodeCertHash = 7;
* @return The nodeCertHash.
*/
com.google.protobuf.ByteString getNodeCertHash();
/**
*
**
* # A node's service IP addresses and ports
*
*
* repeated .proto.ServiceEndpoint serviceEndpoint = 8;
*/
java.util.List
getServiceEndpointList();
/**
*
**
* # A node's service IP addresses and ports
*
*
* repeated .proto.ServiceEndpoint serviceEndpoint = 8;
*/
com.hederahashgraph.api.proto.java.ServiceEndpoint getServiceEndpoint(int index);
/**
*
**
* # A node's service IP addresses and ports
*
*
* repeated .proto.ServiceEndpoint serviceEndpoint = 8;
*/
int getServiceEndpointCount();
/**
*
**
* # A node's service IP addresses and ports
*
*
* repeated .proto.ServiceEndpoint serviceEndpoint = 8;
*/
java.util.List extends com.hederahashgraph.api.proto.java.ServiceEndpointOrBuilder>
getServiceEndpointOrBuilderList();
/**
*
**
* # A node's service IP addresses and ports
*
*
* repeated .proto.ServiceEndpoint serviceEndpoint = 8;
*/
com.hederahashgraph.api.proto.java.ServiceEndpointOrBuilder getServiceEndpointOrBuilder(
int index);
/**
*
**
* A description of the node, with UTF-8 encoding up to 100 bytes
*
*
* string description = 9;
* @return The description.
*/
java.lang.String getDescription();
/**
*
**
* A description of the node, with UTF-8 encoding up to 100 bytes
*
*
* string description = 9;
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
*
**
* [Deprecated] The amount of tinybars staked to the node
*
*
* int64 stake = 10 [deprecated = true];
* @return The stake.
*/
@java.lang.Deprecated long getStake();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy