com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBodyOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: node_update.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface NodeUpdateTransactionBodyOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
**
* A consensus node identifier in the network state.
* <p>
* The node identified MUST exist in the network address book.<br/>
* The node identified MUST NOT be deleted.<br/>
* This value is REQUIRED.
*
*
* uint64 node_id = 1;
* @return The nodeId.
*/
long getNodeId();
/**
*
**
* An account identifier.
* <p>
* If set, this SHALL replace the node account identifier.<br/>
* If set, this transaction MUST be signed by the active `key` for _both_
* the current node account _and_ the identified new node account.
*
*
* .proto.AccountID account_id = 2;
* @return Whether the accountId field is set.
*/
boolean hasAccountId();
/**
*
**
* An account identifier.
* <p>
* If set, this SHALL replace the node account identifier.<br/>
* If set, this transaction MUST be signed by the active `key` for _both_
* the current node account _and_ the identified new node account.
*
*
* .proto.AccountID account_id = 2;
* @return The accountId.
*/
com.hedera.hashgraph.sdk.proto.AccountID getAccountId();
/**
*
**
* A short description of the node.
* <p>
* This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
* If set, this value SHALL replace the previous value.
*
*
* .google.protobuf.StringValue description = 3;
* @return Whether the description field is set.
*/
boolean hasDescription();
/**
*
**
* A short description of the node.
* <p>
* This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
* If set, this value SHALL replace the previous value.
*
*
* .google.protobuf.StringValue description = 3;
* @return The description.
*/
com.google.protobuf.StringValue getDescription();
/**
*
**
* A list of service endpoints for gossip.
* <p>
* If set, this list MUST meet the following requirements.
* <hr/>
* These endpoints SHALL represent the published endpoints to which other
* consensus nodes may _gossip_ transactions.<br/>
* These endpoints SHOULD NOT specify both address and DNS name.<br/>
* This list MUST NOT be empty.<br/>
* This list MUST NOT contain more than `10` entries.<br/>
* The first two entries in this list SHALL be the endpoints published to
* all consensus nodes.<br/>
* All other entries SHALL be reserved for future use.
* <p>
* Each network may have additional requirements for these endpoints.
* A client MUST check network-specific documentation for those
* details.<br/>
* <blockquote>Example<blockquote>
* Hedera Mainnet _requires_ that address be specified, and does not
* permit DNS name (FQDN) to be specified.<br/>
* Mainnet also requires that the first entry be an "internal" IP
* address and the second entry be an "external" IP address.
* </blockquote>
* <blockquote>
* Solo, however, _requires_ DNS name (FQDN) but also permits
* address.
* </blockquote></blockquote>
* <p>
* If set, the new list SHALL replace the existing list.
*
*
* repeated .proto.ServiceEndpoint gossip_endpoint = 4;
*/
java.util.List
getGossipEndpointList();
/**
*
**
* A list of service endpoints for gossip.
* <p>
* If set, this list MUST meet the following requirements.
* <hr/>
* These endpoints SHALL represent the published endpoints to which other
* consensus nodes may _gossip_ transactions.<br/>
* These endpoints SHOULD NOT specify both address and DNS name.<br/>
* This list MUST NOT be empty.<br/>
* This list MUST NOT contain more than `10` entries.<br/>
* The first two entries in this list SHALL be the endpoints published to
* all consensus nodes.<br/>
* All other entries SHALL be reserved for future use.
* <p>
* Each network may have additional requirements for these endpoints.
* A client MUST check network-specific documentation for those
* details.<br/>
* <blockquote>Example<blockquote>
* Hedera Mainnet _requires_ that address be specified, and does not
* permit DNS name (FQDN) to be specified.<br/>
* Mainnet also requires that the first entry be an "internal" IP
* address and the second entry be an "external" IP address.
* </blockquote>
* <blockquote>
* Solo, however, _requires_ DNS name (FQDN) but also permits
* address.
* </blockquote></blockquote>
* <p>
* If set, the new list SHALL replace the existing list.
*
*
* repeated .proto.ServiceEndpoint gossip_endpoint = 4;
*/
com.hedera.hashgraph.sdk.proto.ServiceEndpoint getGossipEndpoint(int index);
/**
*
**
* A list of service endpoints for gossip.
* <p>
* If set, this list MUST meet the following requirements.
* <hr/>
* These endpoints SHALL represent the published endpoints to which other
* consensus nodes may _gossip_ transactions.<br/>
* These endpoints SHOULD NOT specify both address and DNS name.<br/>
* This list MUST NOT be empty.<br/>
* This list MUST NOT contain more than `10` entries.<br/>
* The first two entries in this list SHALL be the endpoints published to
* all consensus nodes.<br/>
* All other entries SHALL be reserved for future use.
* <p>
* Each network may have additional requirements for these endpoints.
* A client MUST check network-specific documentation for those
* details.<br/>
* <blockquote>Example<blockquote>
* Hedera Mainnet _requires_ that address be specified, and does not
* permit DNS name (FQDN) to be specified.<br/>
* Mainnet also requires that the first entry be an "internal" IP
* address and the second entry be an "external" IP address.
* </blockquote>
* <blockquote>
* Solo, however, _requires_ DNS name (FQDN) but also permits
* address.
* </blockquote></blockquote>
* <p>
* If set, the new list SHALL replace the existing list.
*
*
* repeated .proto.ServiceEndpoint gossip_endpoint = 4;
*/
int getGossipEndpointCount();
/**
*
**
* A list of service endpoints for gRPC calls.
* <p>
* If set, this list MUST meet the following requirements.
* <hr/>
* These endpoints SHALL represent the published endpoints to which clients
* may submit transactions.<br/>
* These endpoints SHOULD specify address and port.<br/>
* These endpoints MAY specify a DNS name.<br/>
* These endpoints SHOULD NOT specify both address and DNS name.<br/>
* This list MUST NOT be empty.<br/>
* This list MUST NOT contain more than `8` entries.
* <p>
* Each network may have additional requirements for these endpoints.
* A client MUST check network-specific documentation for those
* details.
* <p>
* If set, the new list SHALL replace the existing list.
*
*
* repeated .proto.ServiceEndpoint service_endpoint = 5;
*/
java.util.List
getServiceEndpointList();
/**
*
**
* A list of service endpoints for gRPC calls.
* <p>
* If set, this list MUST meet the following requirements.
* <hr/>
* These endpoints SHALL represent the published endpoints to which clients
* may submit transactions.<br/>
* These endpoints SHOULD specify address and port.<br/>
* These endpoints MAY specify a DNS name.<br/>
* These endpoints SHOULD NOT specify both address and DNS name.<br/>
* This list MUST NOT be empty.<br/>
* This list MUST NOT contain more than `8` entries.
* <p>
* Each network may have additional requirements for these endpoints.
* A client MUST check network-specific documentation for those
* details.
* <p>
* If set, the new list SHALL replace the existing list.
*
*
* repeated .proto.ServiceEndpoint service_endpoint = 5;
*/
com.hedera.hashgraph.sdk.proto.ServiceEndpoint getServiceEndpoint(int index);
/**
*
**
* A list of service endpoints for gRPC calls.
* <p>
* If set, this list MUST meet the following requirements.
* <hr/>
* These endpoints SHALL represent the published endpoints to which clients
* may submit transactions.<br/>
* These endpoints SHOULD specify address and port.<br/>
* These endpoints MAY specify a DNS name.<br/>
* These endpoints SHOULD NOT specify both address and DNS name.<br/>
* This list MUST NOT be empty.<br/>
* This list MUST NOT contain more than `8` entries.
* <p>
* Each network may have additional requirements for these endpoints.
* A client MUST check network-specific documentation for those
* details.
* <p>
* If set, the new list SHALL replace the existing list.
*
*
* repeated .proto.ServiceEndpoint service_endpoint = 5;
*/
int getServiceEndpointCount();
/**
*
**
* A certificate used to sign gossip events.
* <p>
* This value MUST be a certificate of a type permitted for gossip
* signatures.<br/>
* This value MUST be the DER encoding of the certificate presented.
* <p>
* If set, the new value SHALL replace the existing bytes value.
*
*
* .google.protobuf.BytesValue gossip_ca_certificate = 6;
* @return Whether the gossipCaCertificate field is set.
*/
boolean hasGossipCaCertificate();
/**
*
**
* A certificate used to sign gossip events.
* <p>
* This value MUST be a certificate of a type permitted for gossip
* signatures.<br/>
* This value MUST be the DER encoding of the certificate presented.
* <p>
* If set, the new value SHALL replace the existing bytes value.
*
*
* .google.protobuf.BytesValue gossip_ca_certificate = 6;
* @return The gossipCaCertificate.
*/
com.google.protobuf.BytesValue getGossipCaCertificate();
/**
*
**
* A hash of the node gRPC TLS certificate.
* <p>
* This value MAY be used to verify the certificate presented by the node
* during TLS negotiation for gRPC.<br/>
* This value MUST be a SHA-384 hash.<br/>
* The TLS certificate to be hashed MUST first be in PEM format and MUST be
* encoded with UTF-8 NFKD encoding to a stream of bytes provided to
* the hash algorithm.<br/>
* <p>
* If set, the new value SHALL replace the existing hash value.
*
*
* .google.protobuf.BytesValue grpc_certificate_hash = 7;
* @return Whether the grpcCertificateHash field is set.
*/
boolean hasGrpcCertificateHash();
/**
*
**
* A hash of the node gRPC TLS certificate.
* <p>
* This value MAY be used to verify the certificate presented by the node
* during TLS negotiation for gRPC.<br/>
* This value MUST be a SHA-384 hash.<br/>
* The TLS certificate to be hashed MUST first be in PEM format and MUST be
* encoded with UTF-8 NFKD encoding to a stream of bytes provided to
* the hash algorithm.<br/>
* <p>
* If set, the new value SHALL replace the existing hash value.
*
*
* .google.protobuf.BytesValue grpc_certificate_hash = 7;
* @return The grpcCertificateHash.
*/
com.google.protobuf.BytesValue getGrpcCertificateHash();
/**
*
**
* An administrative key controlled by the node operator.
* <p>
* This field is OPTIONAL.<br/>
* If set, this key MUST sign this transaction.<br/>
* If set, this key MUST sign each subsequent transaction to
* update this node.<br/>
* If set, this field MUST contain a valid `Key` value.<br/>
* If set, this field MUST NOT be set to an empty `KeyList`.
*
*
* .proto.Key admin_key = 8;
* @return Whether the adminKey field is set.
*/
boolean hasAdminKey();
/**
*
**
* An administrative key controlled by the node operator.
* <p>
* This field is OPTIONAL.<br/>
* If set, this key MUST sign this transaction.<br/>
* If set, this key MUST sign each subsequent transaction to
* update this node.<br/>
* If set, this field MUST contain a valid `Key` value.<br/>
* If set, this field MUST NOT be set to an empty `KeyList`.
*
*
* .proto.Key admin_key = 8;
* @return The adminKey.
*/
com.hedera.hashgraph.sdk.proto.Key getAdminKey();
}