com.hedera.hashgraph.sdk.proto.NodeAddressOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: basic_types.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
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];
* @deprecated proto.NodeAddress.ipAddress is deprecated.
* See basic_types.proto;l=1446
* @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];
* @deprecated proto.NodeAddress.portno is deprecated.
* See basic_types.proto;l=1452
* @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];
* @deprecated proto.NodeAddress.memo is deprecated.
* See basic_types.proto;l=1457
* @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.hedera.hashgraph.sdk.proto.AccountID getNodeAccountId();
/**
*
**
* # The account to be paid for queries and transactions sent to this node
*
*
* .proto.AccountID nodeAccountId = 6;
*/
com.hedera.hashgraph.sdk.proto.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.hedera.hashgraph.sdk.proto.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.hedera.hashgraph.sdk.proto.ServiceEndpointOrBuilder>
getServiceEndpointOrBuilderList();
/**
*
**
* # A node's service IP addresses and ports
*
*
* repeated .proto.ServiceEndpoint serviceEndpoint = 8;
*/
com.hedera.hashgraph.sdk.proto.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];
* @deprecated proto.NodeAddress.stake is deprecated.
* See basic_types.proto;l=1497
* @return The stake.
*/
@java.lang.Deprecated long getStake();
}