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

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

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

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

/**
 * 
 **
 * A transaction body to add a new consensus node to the network address book.
 *
 * This transaction body SHALL be considered a "privileged transaction".
 *
 * This message supports a transaction to create a new node in the network
 * address book. The transaction, once complete, enables a new consensus node
 * to join the network, and requires governing council authorization.
 *
 * - A `NodeCreateTransactionBody` MUST be signed by the governing council.
 * - A `NodeCreateTransactionBody` MUST be signed by the `Key` assigned to the
 *   `admin_key` field.
 * - The newly created node information SHALL be added to the network address
 *   book information in the network state.
 * - The new entry SHALL be created in "state" but SHALL NOT participate in
 *   network consensus and SHALL NOT be present in network "configuration"
 *   until the next "upgrade" transaction (as noted below).
 * - All new address book entries SHALL be added to the active network
 *   configuration during the next `freeze` transaction with the field
 *   `freeze_type` set to `PREPARE_UPGRADE`.
 *
 * ### Record Stream Effects
 * Upon completion the newly assigned `node_id` SHALL be in the transaction
 * receipt.
 * 
* * Protobuf type {@code com.hedera.hapi.node.addressbook.NodeCreateTransactionBody} */ public final class NodeCreateTransactionBody extends com.google.protobuf.GeneratedMessageLite< NodeCreateTransactionBody, NodeCreateTransactionBody.Builder> implements // @@protoc_insertion_point(message_implements:com.hedera.hapi.node.addressbook.NodeCreateTransactionBody) NodeCreateTransactionBodyOrBuilder { private NodeCreateTransactionBody() { description_ = ""; gossipEndpoint_ = emptyProtobufList(); serviceEndpoint_ = emptyProtobufList(); gossipCaCertificate_ = com.google.protobuf.ByteString.EMPTY; grpcCertificateHash_ = com.google.protobuf.ByteString.EMPTY; } private int bitField0_; public static final int ACCOUNT_ID_FIELD_NUMBER = 1; private com.hedera.hashgraph.sdk.proto.AccountID accountId_; /** *
   **
   * A Node account identifier.
   * <p>
   * This account identifier MUST be in the "account number" form.<br/>
   * This account identifier MUST NOT use the alias field.<br/>
   * If the identified account does not exist, this transaction SHALL fail.<br/>
   * Multiple nodes MAY share the same node account.<br/>
   * This field is REQUIRED.
   * 
* * .proto.AccountID account_id = 1; */ @java.lang.Override public boolean hasAccountId() { return ((bitField0_ & 0x00000001) != 0); } /** *
   **
   * A Node account identifier.
   * <p>
   * This account identifier MUST be in the "account number" form.<br/>
   * This account identifier MUST NOT use the alias field.<br/>
   * If the identified account does not exist, this transaction SHALL fail.<br/>
   * Multiple nodes MAY share the same node account.<br/>
   * This field is REQUIRED.
   * 
* * .proto.AccountID account_id = 1; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.AccountID getAccountId() { return accountId_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : accountId_; } /** *
   **
   * A Node account identifier.
   * <p>
   * This account identifier MUST be in the "account number" form.<br/>
   * This account identifier MUST NOT use the alias field.<br/>
   * If the identified account does not exist, this transaction SHALL fail.<br/>
   * Multiple nodes MAY share the same node account.<br/>
   * This field is REQUIRED.
   * 
* * .proto.AccountID account_id = 1; */ private void setAccountId(com.hedera.hashgraph.sdk.proto.AccountID value) { value.getClass(); accountId_ = value; bitField0_ |= 0x00000001; } /** *
   **
   * A Node account identifier.
   * <p>
   * This account identifier MUST be in the "account number" form.<br/>
   * This account identifier MUST NOT use the alias field.<br/>
   * If the identified account does not exist, this transaction SHALL fail.<br/>
   * Multiple nodes MAY share the same node account.<br/>
   * This field is REQUIRED.
   * 
* * .proto.AccountID account_id = 1; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeAccountId(com.hedera.hashgraph.sdk.proto.AccountID value) { value.getClass(); if (accountId_ != null && accountId_ != com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance()) { accountId_ = com.hedera.hashgraph.sdk.proto.AccountID.newBuilder(accountId_).mergeFrom(value).buildPartial(); } else { accountId_ = value; } bitField0_ |= 0x00000001; } /** *
   **
   * A Node account identifier.
   * <p>
   * This account identifier MUST be in the "account number" form.<br/>
   * This account identifier MUST NOT use the alias field.<br/>
   * If the identified account does not exist, this transaction SHALL fail.<br/>
   * Multiple nodes MAY share the same node account.<br/>
   * This field is REQUIRED.
   * 
* * .proto.AccountID account_id = 1; */ private void clearAccountId() { accountId_ = null; bitField0_ = (bitField0_ & ~0x00000001); } public static final int DESCRIPTION_FIELD_NUMBER = 2; private java.lang.String description_; /** *
   **
   * A short description of the node.
   * <p>
   * This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
   * This field is OPTIONAL.
   * 
* * string description = 2; * @return The description. */ @java.lang.Override public java.lang.String getDescription() { return description_; } /** *
   **
   * A short description of the node.
   * <p>
   * This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
   * This field is OPTIONAL.
   * 
* * string description = 2; * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { return com.google.protobuf.ByteString.copyFromUtf8(description_); } /** *
   **
   * A short description of the node.
   * <p>
   * This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
   * This field is OPTIONAL.
   * 
* * string description = 2; * @param value The description to set. */ private void setDescription( java.lang.String value) { java.lang.Class valueClass = value.getClass(); description_ = value; } /** *
   **
   * A short description of the node.
   * <p>
   * This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
   * This field is OPTIONAL.
   * 
* * string description = 2; */ private void clearDescription() { description_ = getDefaultInstance().getDescription(); } /** *
   **
   * A short description of the node.
   * <p>
   * This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
   * This field is OPTIONAL.
   * 
* * string description = 2; * @param value The bytes for description to set. */ private void setDescriptionBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); description_ = value.toStringUtf8(); } public static final int GOSSIP_ENDPOINT_FIELD_NUMBER = 3; private com.google.protobuf.Internal.ProtobufList gossipEndpoint_; /** *
   **
   * A list of service endpoints for gossip.
   * <p>
   * These endpoints SHALL represent the published endpoints to which other
   * consensus nodes may _gossip_ transactions.<br/>
   * These endpoints MUST specify a port.<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/>
   * If the network configuration value `gossipFqdnRestricted` is set, then
   * all endpoints in this list MUST 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
   * MUST NOT supply both values for the same endpoint.
   * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ @java.lang.Override public java.util.List getGossipEndpointList() { return gossipEndpoint_; } /** *
   **
   * A list of service endpoints for gossip.
   * <p>
   * These endpoints SHALL represent the published endpoints to which other
   * consensus nodes may _gossip_ transactions.<br/>
   * These endpoints MUST specify a port.<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/>
   * If the network configuration value `gossipFqdnRestricted` is set, then
   * all endpoints in this list MUST 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
   * MUST NOT supply both values for the same endpoint.
   * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ public java.util.List getGossipEndpointOrBuilderList() { return gossipEndpoint_; } /** *
   **
   * A list of service endpoints for gossip.
   * <p>
   * These endpoints SHALL represent the published endpoints to which other
   * consensus nodes may _gossip_ transactions.<br/>
   * These endpoints MUST specify a port.<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/>
   * If the network configuration value `gossipFqdnRestricted` is set, then
   * all endpoints in this list MUST 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
   * MUST NOT supply both values for the same endpoint.
   * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ @java.lang.Override public int getGossipEndpointCount() { return gossipEndpoint_.size(); } /** *
   **
   * A list of service endpoints for gossip.
   * <p>
   * These endpoints SHALL represent the published endpoints to which other
   * consensus nodes may _gossip_ transactions.<br/>
   * These endpoints MUST specify a port.<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/>
   * If the network configuration value `gossipFqdnRestricted` is set, then
   * all endpoints in this list MUST 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
   * MUST NOT supply both values for the same endpoint.
   * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.ServiceEndpoint getGossipEndpoint(int index) { return gossipEndpoint_.get(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/>
   * These endpoints MUST specify a port.<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/>
   * If the network configuration value `gossipFqdnRestricted` is set, then
   * all endpoints in this list MUST 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
   * MUST NOT supply both values for the same endpoint.
   * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ public com.hedera.hashgraph.sdk.proto.ServiceEndpointOrBuilder getGossipEndpointOrBuilder( int index) { return gossipEndpoint_.get(index); } private void ensureGossipEndpointIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = gossipEndpoint_; if (!tmp.isModifiable()) { gossipEndpoint_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** *
   **
   * A list of service endpoints for gossip.
   * <p>
   * These endpoints SHALL represent the published endpoints to which other
   * consensus nodes may _gossip_ transactions.<br/>
   * These endpoints MUST specify a port.<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/>
   * If the network configuration value `gossipFqdnRestricted` is set, then
   * all endpoints in this list MUST 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
   * MUST NOT supply both values for the same endpoint.
   * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ private void setGossipEndpoint( int index, com.hedera.hashgraph.sdk.proto.ServiceEndpoint value) { value.getClass(); ensureGossipEndpointIsMutable(); gossipEndpoint_.set(index, value); } /** *
   **
   * A list of service endpoints for gossip.
   * <p>
   * These endpoints SHALL represent the published endpoints to which other
   * consensus nodes may _gossip_ transactions.<br/>
   * These endpoints MUST specify a port.<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/>
   * If the network configuration value `gossipFqdnRestricted` is set, then
   * all endpoints in this list MUST 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
   * MUST NOT supply both values for the same endpoint.
   * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ private void addGossipEndpoint(com.hedera.hashgraph.sdk.proto.ServiceEndpoint value) { value.getClass(); ensureGossipEndpointIsMutable(); gossipEndpoint_.add(value); } /** *
   **
   * A list of service endpoints for gossip.
   * <p>
   * These endpoints SHALL represent the published endpoints to which other
   * consensus nodes may _gossip_ transactions.<br/>
   * These endpoints MUST specify a port.<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/>
   * If the network configuration value `gossipFqdnRestricted` is set, then
   * all endpoints in this list MUST 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
   * MUST NOT supply both values for the same endpoint.
   * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ private void addGossipEndpoint( int index, com.hedera.hashgraph.sdk.proto.ServiceEndpoint value) { value.getClass(); ensureGossipEndpointIsMutable(); gossipEndpoint_.add(index, value); } /** *
   **
   * A list of service endpoints for gossip.
   * <p>
   * These endpoints SHALL represent the published endpoints to which other
   * consensus nodes may _gossip_ transactions.<br/>
   * These endpoints MUST specify a port.<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/>
   * If the network configuration value `gossipFqdnRestricted` is set, then
   * all endpoints in this list MUST 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
   * MUST NOT supply both values for the same endpoint.
   * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ private void addAllGossipEndpoint( java.lang.Iterable values) { ensureGossipEndpointIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, gossipEndpoint_); } /** *
   **
   * A list of service endpoints for gossip.
   * <p>
   * These endpoints SHALL represent the published endpoints to which other
   * consensus nodes may _gossip_ transactions.<br/>
   * These endpoints MUST specify a port.<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/>
   * If the network configuration value `gossipFqdnRestricted` is set, then
   * all endpoints in this list MUST 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
   * MUST NOT supply both values for the same endpoint.
   * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ private void clearGossipEndpoint() { gossipEndpoint_ = emptyProtobufList(); } /** *
   **
   * A list of service endpoints for gossip.
   * <p>
   * These endpoints SHALL represent the published endpoints to which other
   * consensus nodes may _gossip_ transactions.<br/>
   * These endpoints MUST specify a port.<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/>
   * If the network configuration value `gossipFqdnRestricted` is set, then
   * all endpoints in this list MUST 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
   * MUST NOT supply both values for the same endpoint.
   * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ private void removeGossipEndpoint(int index) { ensureGossipEndpointIsMutable(); gossipEndpoint_.remove(index); } public static final int SERVICE_ENDPOINT_FIELD_NUMBER = 4; private com.google.protobuf.Internal.ProtobufList serviceEndpoint_; /** *
   **
   * A list of service endpoints for gRPC calls.
   * <p>
   * These endpoints SHALL represent the published gRPC endpoints to which
   * clients may submit transactions.<br/>
   * These endpoints MUST specify a port.<br/>
   * Endpoints in this list MAY supply either IP address or FQDN, but MUST
   * NOT supply both values for the same endpoint.<br/>
   * This list MUST NOT be empty.<br/>
   * This list MUST NOT contain more than `8` entries.
   * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ @java.lang.Override public java.util.List getServiceEndpointList() { return serviceEndpoint_; } /** *
   **
   * A list of service endpoints for gRPC calls.
   * <p>
   * These endpoints SHALL represent the published gRPC endpoints to which
   * clients may submit transactions.<br/>
   * These endpoints MUST specify a port.<br/>
   * Endpoints in this list MAY supply either IP address or FQDN, but MUST
   * NOT supply both values for the same endpoint.<br/>
   * This list MUST NOT be empty.<br/>
   * This list MUST NOT contain more than `8` entries.
   * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ public java.util.List getServiceEndpointOrBuilderList() { return serviceEndpoint_; } /** *
   **
   * A list of service endpoints for gRPC calls.
   * <p>
   * These endpoints SHALL represent the published gRPC endpoints to which
   * clients may submit transactions.<br/>
   * These endpoints MUST specify a port.<br/>
   * Endpoints in this list MAY supply either IP address or FQDN, but MUST
   * NOT supply both values for the same endpoint.<br/>
   * This list MUST NOT be empty.<br/>
   * This list MUST NOT contain more than `8` entries.
   * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ @java.lang.Override public int getServiceEndpointCount() { return serviceEndpoint_.size(); } /** *
   **
   * A list of service endpoints for gRPC calls.
   * <p>
   * These endpoints SHALL represent the published gRPC endpoints to which
   * clients may submit transactions.<br/>
   * These endpoints MUST specify a port.<br/>
   * Endpoints in this list MAY supply either IP address or FQDN, but MUST
   * NOT supply both values for the same endpoint.<br/>
   * This list MUST NOT be empty.<br/>
   * This list MUST NOT contain more than `8` entries.
   * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.ServiceEndpoint getServiceEndpoint(int index) { return serviceEndpoint_.get(index); } /** *
   **
   * A list of service endpoints for gRPC calls.
   * <p>
   * These endpoints SHALL represent the published gRPC endpoints to which
   * clients may submit transactions.<br/>
   * These endpoints MUST specify a port.<br/>
   * Endpoints in this list MAY supply either IP address or FQDN, but MUST
   * NOT supply both values for the same endpoint.<br/>
   * This list MUST NOT be empty.<br/>
   * This list MUST NOT contain more than `8` entries.
   * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ public com.hedera.hashgraph.sdk.proto.ServiceEndpointOrBuilder getServiceEndpointOrBuilder( int index) { return serviceEndpoint_.get(index); } private void ensureServiceEndpointIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = serviceEndpoint_; if (!tmp.isModifiable()) { serviceEndpoint_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** *
   **
   * A list of service endpoints for gRPC calls.
   * <p>
   * These endpoints SHALL represent the published gRPC endpoints to which
   * clients may submit transactions.<br/>
   * These endpoints MUST specify a port.<br/>
   * Endpoints in this list MAY supply either IP address or FQDN, but MUST
   * NOT supply both values for the same endpoint.<br/>
   * This list MUST NOT be empty.<br/>
   * This list MUST NOT contain more than `8` entries.
   * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ private void setServiceEndpoint( int index, com.hedera.hashgraph.sdk.proto.ServiceEndpoint value) { value.getClass(); ensureServiceEndpointIsMutable(); serviceEndpoint_.set(index, value); } /** *
   **
   * A list of service endpoints for gRPC calls.
   * <p>
   * These endpoints SHALL represent the published gRPC endpoints to which
   * clients may submit transactions.<br/>
   * These endpoints MUST specify a port.<br/>
   * Endpoints in this list MAY supply either IP address or FQDN, but MUST
   * NOT supply both values for the same endpoint.<br/>
   * This list MUST NOT be empty.<br/>
   * This list MUST NOT contain more than `8` entries.
   * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ private void addServiceEndpoint(com.hedera.hashgraph.sdk.proto.ServiceEndpoint value) { value.getClass(); ensureServiceEndpointIsMutable(); serviceEndpoint_.add(value); } /** *
   **
   * A list of service endpoints for gRPC calls.
   * <p>
   * These endpoints SHALL represent the published gRPC endpoints to which
   * clients may submit transactions.<br/>
   * These endpoints MUST specify a port.<br/>
   * Endpoints in this list MAY supply either IP address or FQDN, but MUST
   * NOT supply both values for the same endpoint.<br/>
   * This list MUST NOT be empty.<br/>
   * This list MUST NOT contain more than `8` entries.
   * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ private void addServiceEndpoint( int index, com.hedera.hashgraph.sdk.proto.ServiceEndpoint value) { value.getClass(); ensureServiceEndpointIsMutable(); serviceEndpoint_.add(index, value); } /** *
   **
   * A list of service endpoints for gRPC calls.
   * <p>
   * These endpoints SHALL represent the published gRPC endpoints to which
   * clients may submit transactions.<br/>
   * These endpoints MUST specify a port.<br/>
   * Endpoints in this list MAY supply either IP address or FQDN, but MUST
   * NOT supply both values for the same endpoint.<br/>
   * This list MUST NOT be empty.<br/>
   * This list MUST NOT contain more than `8` entries.
   * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ private void addAllServiceEndpoint( java.lang.Iterable values) { ensureServiceEndpointIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, serviceEndpoint_); } /** *
   **
   * A list of service endpoints for gRPC calls.
   * <p>
   * These endpoints SHALL represent the published gRPC endpoints to which
   * clients may submit transactions.<br/>
   * These endpoints MUST specify a port.<br/>
   * Endpoints in this list MAY supply either IP address or FQDN, but MUST
   * NOT supply both values for the same endpoint.<br/>
   * This list MUST NOT be empty.<br/>
   * This list MUST NOT contain more than `8` entries.
   * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ private void clearServiceEndpoint() { serviceEndpoint_ = emptyProtobufList(); } /** *
   **
   * A list of service endpoints for gRPC calls.
   * <p>
   * These endpoints SHALL represent the published gRPC endpoints to which
   * clients may submit transactions.<br/>
   * These endpoints MUST specify a port.<br/>
   * Endpoints in this list MAY supply either IP address or FQDN, but MUST
   * NOT supply both values for the same endpoint.<br/>
   * This list MUST NOT be empty.<br/>
   * This list MUST NOT contain more than `8` entries.
   * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ private void removeServiceEndpoint(int index) { ensureServiceEndpointIsMutable(); serviceEndpoint_.remove(index); } public static final int GOSSIP_CA_CERTIFICATE_FIELD_NUMBER = 5; private com.google.protobuf.ByteString gossipCaCertificate_; /** *
   **
   * 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.<br/>
   * This field is REQUIRED and MUST NOT be empty.
   * 
* * bytes gossip_ca_certificate = 5; * @return The gossipCaCertificate. */ @java.lang.Override public com.google.protobuf.ByteString getGossipCaCertificate() { return gossipCaCertificate_; } /** *
   **
   * 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.<br/>
   * This field is REQUIRED and MUST NOT be empty.
   * 
* * bytes gossip_ca_certificate = 5; * @param value The gossipCaCertificate to set. */ private void setGossipCaCertificate(com.google.protobuf.ByteString value) { java.lang.Class valueClass = value.getClass(); gossipCaCertificate_ = value; } /** *
   **
   * 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.<br/>
   * This field is REQUIRED and MUST NOT be empty.
   * 
* * bytes gossip_ca_certificate = 5; */ private void clearGossipCaCertificate() { gossipCaCertificate_ = getDefaultInstance().getGossipCaCertificate(); } public static final int GRPC_CERTIFICATE_HASH_FIELD_NUMBER = 6; private com.google.protobuf.ByteString grpcCertificateHash_; /** *
   **
   * 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/>
   * This field is OPTIONAL.
   * 
* * bytes grpc_certificate_hash = 6; * @return The grpcCertificateHash. */ @java.lang.Override public com.google.protobuf.ByteString getGrpcCertificateHash() { return grpcCertificateHash_; } /** *
   **
   * 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/>
   * This field is OPTIONAL.
   * 
* * bytes grpc_certificate_hash = 6; * @param value The grpcCertificateHash to set. */ private void setGrpcCertificateHash(com.google.protobuf.ByteString value) { java.lang.Class valueClass = value.getClass(); grpcCertificateHash_ = value; } /** *
   **
   * 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/>
   * This field is OPTIONAL.
   * 
* * bytes grpc_certificate_hash = 6; */ private void clearGrpcCertificateHash() { grpcCertificateHash_ = getDefaultInstance().getGrpcCertificateHash(); } public static final int ADMIN_KEY_FIELD_NUMBER = 7; private com.hedera.hashgraph.sdk.proto.Key adminKey_; /** *
   **
   * An administrative key controlled by the node operator.
   * <p>
   * This key MUST sign this transaction.<br/>
   * This key MUST sign each transaction to update this node.<br/>
   * This field MUST contain a valid `Key` value.<br/>
   * This field is REQUIRED and MUST NOT be set to an empty `KeyList`.
   * 
* * .proto.Key admin_key = 7; */ @java.lang.Override public boolean hasAdminKey() { return ((bitField0_ & 0x00000002) != 0); } /** *
   **
   * An administrative key controlled by the node operator.
   * <p>
   * This key MUST sign this transaction.<br/>
   * This key MUST sign each transaction to update this node.<br/>
   * This field MUST contain a valid `Key` value.<br/>
   * This field is REQUIRED and MUST NOT be set to an empty `KeyList`.
   * 
* * .proto.Key admin_key = 7; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Key getAdminKey() { return adminKey_ == null ? com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance() : adminKey_; } /** *
   **
   * An administrative key controlled by the node operator.
   * <p>
   * This key MUST sign this transaction.<br/>
   * This key MUST sign each transaction to update this node.<br/>
   * This field MUST contain a valid `Key` value.<br/>
   * This field is REQUIRED and MUST NOT be set to an empty `KeyList`.
   * 
* * .proto.Key admin_key = 7; */ private void setAdminKey(com.hedera.hashgraph.sdk.proto.Key value) { value.getClass(); adminKey_ = value; bitField0_ |= 0x00000002; } /** *
   **
   * An administrative key controlled by the node operator.
   * <p>
   * This key MUST sign this transaction.<br/>
   * This key MUST sign each transaction to update this node.<br/>
   * This field MUST contain a valid `Key` value.<br/>
   * This field is REQUIRED and MUST NOT be set to an empty `KeyList`.
   * 
* * .proto.Key admin_key = 7; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeAdminKey(com.hedera.hashgraph.sdk.proto.Key value) { value.getClass(); if (adminKey_ != null && adminKey_ != com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance()) { adminKey_ = com.hedera.hashgraph.sdk.proto.Key.newBuilder(adminKey_).mergeFrom(value).buildPartial(); } else { adminKey_ = value; } bitField0_ |= 0x00000002; } /** *
   **
   * An administrative key controlled by the node operator.
   * <p>
   * This key MUST sign this transaction.<br/>
   * This key MUST sign each transaction to update this node.<br/>
   * This field MUST contain a valid `Key` value.<br/>
   * This field is REQUIRED and MUST NOT be set to an empty `KeyList`.
   * 
* * .proto.Key admin_key = 7; */ private void clearAdminKey() { adminKey_ = null; bitField0_ = (bitField0_ & ~0x00000002); } public static com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** *
   **
   * A transaction body to add a new consensus node to the network address book.
   *
   * This transaction body SHALL be considered a "privileged transaction".
   *
   * This message supports a transaction to create a new node in the network
   * address book. The transaction, once complete, enables a new consensus node
   * to join the network, and requires governing council authorization.
   *
   * - A `NodeCreateTransactionBody` MUST be signed by the governing council.
   * - A `NodeCreateTransactionBody` MUST be signed by the `Key` assigned to the
   *   `admin_key` field.
   * - The newly created node information SHALL be added to the network address
   *   book information in the network state.
   * - The new entry SHALL be created in "state" but SHALL NOT participate in
   *   network consensus and SHALL NOT be present in network "configuration"
   *   until the next "upgrade" transaction (as noted below).
   * - All new address book entries SHALL be added to the active network
   *   configuration during the next `freeze` transaction with the field
   *   `freeze_type` set to `PREPARE_UPGRADE`.
   *
   * ### Record Stream Effects
   * Upon completion the newly assigned `node_id` SHALL be in the transaction
   * receipt.
   * 
* * Protobuf type {@code com.hedera.hapi.node.addressbook.NodeCreateTransactionBody} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody, Builder> implements // @@protoc_insertion_point(builder_implements:com.hedera.hapi.node.addressbook.NodeCreateTransactionBody) com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBodyOrBuilder { // Construct using com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
     **
     * A Node account identifier.
     * <p>
     * This account identifier MUST be in the "account number" form.<br/>
     * This account identifier MUST NOT use the alias field.<br/>
     * If the identified account does not exist, this transaction SHALL fail.<br/>
     * Multiple nodes MAY share the same node account.<br/>
     * This field is REQUIRED.
     * 
* * .proto.AccountID account_id = 1; */ @java.lang.Override public boolean hasAccountId() { return instance.hasAccountId(); } /** *
     **
     * A Node account identifier.
     * <p>
     * This account identifier MUST be in the "account number" form.<br/>
     * This account identifier MUST NOT use the alias field.<br/>
     * If the identified account does not exist, this transaction SHALL fail.<br/>
     * Multiple nodes MAY share the same node account.<br/>
     * This field is REQUIRED.
     * 
* * .proto.AccountID account_id = 1; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.AccountID getAccountId() { return instance.getAccountId(); } /** *
     **
     * A Node account identifier.
     * <p>
     * This account identifier MUST be in the "account number" form.<br/>
     * This account identifier MUST NOT use the alias field.<br/>
     * If the identified account does not exist, this transaction SHALL fail.<br/>
     * Multiple nodes MAY share the same node account.<br/>
     * This field is REQUIRED.
     * 
* * .proto.AccountID account_id = 1; */ public Builder setAccountId(com.hedera.hashgraph.sdk.proto.AccountID value) { copyOnWrite(); instance.setAccountId(value); return this; } /** *
     **
     * A Node account identifier.
     * <p>
     * This account identifier MUST be in the "account number" form.<br/>
     * This account identifier MUST NOT use the alias field.<br/>
     * If the identified account does not exist, this transaction SHALL fail.<br/>
     * Multiple nodes MAY share the same node account.<br/>
     * This field is REQUIRED.
     * 
* * .proto.AccountID account_id = 1; */ public Builder setAccountId( com.hedera.hashgraph.sdk.proto.AccountID.Builder builderForValue) { copyOnWrite(); instance.setAccountId(builderForValue.build()); return this; } /** *
     **
     * A Node account identifier.
     * <p>
     * This account identifier MUST be in the "account number" form.<br/>
     * This account identifier MUST NOT use the alias field.<br/>
     * If the identified account does not exist, this transaction SHALL fail.<br/>
     * Multiple nodes MAY share the same node account.<br/>
     * This field is REQUIRED.
     * 
* * .proto.AccountID account_id = 1; */ public Builder mergeAccountId(com.hedera.hashgraph.sdk.proto.AccountID value) { copyOnWrite(); instance.mergeAccountId(value); return this; } /** *
     **
     * A Node account identifier.
     * <p>
     * This account identifier MUST be in the "account number" form.<br/>
     * This account identifier MUST NOT use the alias field.<br/>
     * If the identified account does not exist, this transaction SHALL fail.<br/>
     * Multiple nodes MAY share the same node account.<br/>
     * This field is REQUIRED.
     * 
* * .proto.AccountID account_id = 1; */ public Builder clearAccountId() { copyOnWrite(); instance.clearAccountId(); return this; } /** *
     **
     * A short description of the node.
     * <p>
     * This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
     * This field is OPTIONAL.
     * 
* * string description = 2; * @return The description. */ @java.lang.Override public java.lang.String getDescription() { return instance.getDescription(); } /** *
     **
     * A short description of the node.
     * <p>
     * This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
     * This field is OPTIONAL.
     * 
* * string description = 2; * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { return instance.getDescriptionBytes(); } /** *
     **
     * A short description of the node.
     * <p>
     * This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
     * This field is OPTIONAL.
     * 
* * string description = 2; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { copyOnWrite(); instance.setDescription(value); return this; } /** *
     **
     * A short description of the node.
     * <p>
     * This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
     * This field is OPTIONAL.
     * 
* * string description = 2; * @return This builder for chaining. */ public Builder clearDescription() { copyOnWrite(); instance.clearDescription(); return this; } /** *
     **
     * A short description of the node.
     * <p>
     * This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
     * This field is OPTIONAL.
     * 
* * string description = 2; * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setDescriptionBytes(value); return this; } /** *
     **
     * A list of service endpoints for gossip.
     * <p>
     * These endpoints SHALL represent the published endpoints to which other
     * consensus nodes may _gossip_ transactions.<br/>
     * These endpoints MUST specify a port.<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/>
     * If the network configuration value `gossipFqdnRestricted` is set, then
     * all endpoints in this list MUST 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
     * MUST NOT supply both values for the same endpoint.
     * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ @java.lang.Override public java.util.List getGossipEndpointList() { return java.util.Collections.unmodifiableList( instance.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/>
     * These endpoints MUST specify a port.<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/>
     * If the network configuration value `gossipFqdnRestricted` is set, then
     * all endpoints in this list MUST 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
     * MUST NOT supply both values for the same endpoint.
     * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ @java.lang.Override public int getGossipEndpointCount() { return instance.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/>
     * These endpoints MUST specify a port.<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/>
     * If the network configuration value `gossipFqdnRestricted` is set, then
     * all endpoints in this list MUST 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
     * MUST NOT supply both values for the same endpoint.
     * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.ServiceEndpoint getGossipEndpoint(int index) { return instance.getGossipEndpoint(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/>
     * These endpoints MUST specify a port.<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/>
     * If the network configuration value `gossipFqdnRestricted` is set, then
     * all endpoints in this list MUST 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
     * MUST NOT supply both values for the same endpoint.
     * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ public Builder setGossipEndpoint( int index, com.hedera.hashgraph.sdk.proto.ServiceEndpoint value) { copyOnWrite(); instance.setGossipEndpoint(index, value); return this; } /** *
     **
     * A list of service endpoints for gossip.
     * <p>
     * These endpoints SHALL represent the published endpoints to which other
     * consensus nodes may _gossip_ transactions.<br/>
     * These endpoints MUST specify a port.<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/>
     * If the network configuration value `gossipFqdnRestricted` is set, then
     * all endpoints in this list MUST 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
     * MUST NOT supply both values for the same endpoint.
     * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ public Builder setGossipEndpoint( int index, com.hedera.hashgraph.sdk.proto.ServiceEndpoint.Builder builderForValue) { copyOnWrite(); instance.setGossipEndpoint(index, builderForValue.build()); return this; } /** *
     **
     * A list of service endpoints for gossip.
     * <p>
     * These endpoints SHALL represent the published endpoints to which other
     * consensus nodes may _gossip_ transactions.<br/>
     * These endpoints MUST specify a port.<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/>
     * If the network configuration value `gossipFqdnRestricted` is set, then
     * all endpoints in this list MUST 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
     * MUST NOT supply both values for the same endpoint.
     * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ public Builder addGossipEndpoint(com.hedera.hashgraph.sdk.proto.ServiceEndpoint value) { copyOnWrite(); instance.addGossipEndpoint(value); return this; } /** *
     **
     * A list of service endpoints for gossip.
     * <p>
     * These endpoints SHALL represent the published endpoints to which other
     * consensus nodes may _gossip_ transactions.<br/>
     * These endpoints MUST specify a port.<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/>
     * If the network configuration value `gossipFqdnRestricted` is set, then
     * all endpoints in this list MUST 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
     * MUST NOT supply both values for the same endpoint.
     * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ public Builder addGossipEndpoint( int index, com.hedera.hashgraph.sdk.proto.ServiceEndpoint value) { copyOnWrite(); instance.addGossipEndpoint(index, value); return this; } /** *
     **
     * A list of service endpoints for gossip.
     * <p>
     * These endpoints SHALL represent the published endpoints to which other
     * consensus nodes may _gossip_ transactions.<br/>
     * These endpoints MUST specify a port.<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/>
     * If the network configuration value `gossipFqdnRestricted` is set, then
     * all endpoints in this list MUST 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
     * MUST NOT supply both values for the same endpoint.
     * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ public Builder addGossipEndpoint( com.hedera.hashgraph.sdk.proto.ServiceEndpoint.Builder builderForValue) { copyOnWrite(); instance.addGossipEndpoint(builderForValue.build()); return this; } /** *
     **
     * A list of service endpoints for gossip.
     * <p>
     * These endpoints SHALL represent the published endpoints to which other
     * consensus nodes may _gossip_ transactions.<br/>
     * These endpoints MUST specify a port.<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/>
     * If the network configuration value `gossipFqdnRestricted` is set, then
     * all endpoints in this list MUST 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
     * MUST NOT supply both values for the same endpoint.
     * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ public Builder addGossipEndpoint( int index, com.hedera.hashgraph.sdk.proto.ServiceEndpoint.Builder builderForValue) { copyOnWrite(); instance.addGossipEndpoint(index, builderForValue.build()); return this; } /** *
     **
     * A list of service endpoints for gossip.
     * <p>
     * These endpoints SHALL represent the published endpoints to which other
     * consensus nodes may _gossip_ transactions.<br/>
     * These endpoints MUST specify a port.<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/>
     * If the network configuration value `gossipFqdnRestricted` is set, then
     * all endpoints in this list MUST 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
     * MUST NOT supply both values for the same endpoint.
     * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ public Builder addAllGossipEndpoint( java.lang.Iterable values) { copyOnWrite(); instance.addAllGossipEndpoint(values); return this; } /** *
     **
     * A list of service endpoints for gossip.
     * <p>
     * These endpoints SHALL represent the published endpoints to which other
     * consensus nodes may _gossip_ transactions.<br/>
     * These endpoints MUST specify a port.<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/>
     * If the network configuration value `gossipFqdnRestricted` is set, then
     * all endpoints in this list MUST 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
     * MUST NOT supply both values for the same endpoint.
     * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ public Builder clearGossipEndpoint() { copyOnWrite(); instance.clearGossipEndpoint(); return this; } /** *
     **
     * A list of service endpoints for gossip.
     * <p>
     * These endpoints SHALL represent the published endpoints to which other
     * consensus nodes may _gossip_ transactions.<br/>
     * These endpoints MUST specify a port.<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/>
     * If the network configuration value `gossipFqdnRestricted` is set, then
     * all endpoints in this list MUST 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
     * MUST NOT supply both values for the same endpoint.
     * 
* * repeated .proto.ServiceEndpoint gossip_endpoint = 3; */ public Builder removeGossipEndpoint(int index) { copyOnWrite(); instance.removeGossipEndpoint(index); return this; } /** *
     **
     * A list of service endpoints for gRPC calls.
     * <p>
     * These endpoints SHALL represent the published gRPC endpoints to which
     * clients may submit transactions.<br/>
     * These endpoints MUST specify a port.<br/>
     * Endpoints in this list MAY supply either IP address or FQDN, but MUST
     * NOT supply both values for the same endpoint.<br/>
     * This list MUST NOT be empty.<br/>
     * This list MUST NOT contain more than `8` entries.
     * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ @java.lang.Override public java.util.List getServiceEndpointList() { return java.util.Collections.unmodifiableList( instance.getServiceEndpointList()); } /** *
     **
     * A list of service endpoints for gRPC calls.
     * <p>
     * These endpoints SHALL represent the published gRPC endpoints to which
     * clients may submit transactions.<br/>
     * These endpoints MUST specify a port.<br/>
     * Endpoints in this list MAY supply either IP address or FQDN, but MUST
     * NOT supply both values for the same endpoint.<br/>
     * This list MUST NOT be empty.<br/>
     * This list MUST NOT contain more than `8` entries.
     * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ @java.lang.Override public int getServiceEndpointCount() { return instance.getServiceEndpointCount(); }/** *
     **
     * A list of service endpoints for gRPC calls.
     * <p>
     * These endpoints SHALL represent the published gRPC endpoints to which
     * clients may submit transactions.<br/>
     * These endpoints MUST specify a port.<br/>
     * Endpoints in this list MAY supply either IP address or FQDN, but MUST
     * NOT supply both values for the same endpoint.<br/>
     * This list MUST NOT be empty.<br/>
     * This list MUST NOT contain more than `8` entries.
     * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.ServiceEndpoint getServiceEndpoint(int index) { return instance.getServiceEndpoint(index); } /** *
     **
     * A list of service endpoints for gRPC calls.
     * <p>
     * These endpoints SHALL represent the published gRPC endpoints to which
     * clients may submit transactions.<br/>
     * These endpoints MUST specify a port.<br/>
     * Endpoints in this list MAY supply either IP address or FQDN, but MUST
     * NOT supply both values for the same endpoint.<br/>
     * This list MUST NOT be empty.<br/>
     * This list MUST NOT contain more than `8` entries.
     * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ public Builder setServiceEndpoint( int index, com.hedera.hashgraph.sdk.proto.ServiceEndpoint value) { copyOnWrite(); instance.setServiceEndpoint(index, value); return this; } /** *
     **
     * A list of service endpoints for gRPC calls.
     * <p>
     * These endpoints SHALL represent the published gRPC endpoints to which
     * clients may submit transactions.<br/>
     * These endpoints MUST specify a port.<br/>
     * Endpoints in this list MAY supply either IP address or FQDN, but MUST
     * NOT supply both values for the same endpoint.<br/>
     * This list MUST NOT be empty.<br/>
     * This list MUST NOT contain more than `8` entries.
     * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ public Builder setServiceEndpoint( int index, com.hedera.hashgraph.sdk.proto.ServiceEndpoint.Builder builderForValue) { copyOnWrite(); instance.setServiceEndpoint(index, builderForValue.build()); return this; } /** *
     **
     * A list of service endpoints for gRPC calls.
     * <p>
     * These endpoints SHALL represent the published gRPC endpoints to which
     * clients may submit transactions.<br/>
     * These endpoints MUST specify a port.<br/>
     * Endpoints in this list MAY supply either IP address or FQDN, but MUST
     * NOT supply both values for the same endpoint.<br/>
     * This list MUST NOT be empty.<br/>
     * This list MUST NOT contain more than `8` entries.
     * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ public Builder addServiceEndpoint(com.hedera.hashgraph.sdk.proto.ServiceEndpoint value) { copyOnWrite(); instance.addServiceEndpoint(value); return this; } /** *
     **
     * A list of service endpoints for gRPC calls.
     * <p>
     * These endpoints SHALL represent the published gRPC endpoints to which
     * clients may submit transactions.<br/>
     * These endpoints MUST specify a port.<br/>
     * Endpoints in this list MAY supply either IP address or FQDN, but MUST
     * NOT supply both values for the same endpoint.<br/>
     * This list MUST NOT be empty.<br/>
     * This list MUST NOT contain more than `8` entries.
     * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ public Builder addServiceEndpoint( int index, com.hedera.hashgraph.sdk.proto.ServiceEndpoint value) { copyOnWrite(); instance.addServiceEndpoint(index, value); return this; } /** *
     **
     * A list of service endpoints for gRPC calls.
     * <p>
     * These endpoints SHALL represent the published gRPC endpoints to which
     * clients may submit transactions.<br/>
     * These endpoints MUST specify a port.<br/>
     * Endpoints in this list MAY supply either IP address or FQDN, but MUST
     * NOT supply both values for the same endpoint.<br/>
     * This list MUST NOT be empty.<br/>
     * This list MUST NOT contain more than `8` entries.
     * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ public Builder addServiceEndpoint( com.hedera.hashgraph.sdk.proto.ServiceEndpoint.Builder builderForValue) { copyOnWrite(); instance.addServiceEndpoint(builderForValue.build()); return this; } /** *
     **
     * A list of service endpoints for gRPC calls.
     * <p>
     * These endpoints SHALL represent the published gRPC endpoints to which
     * clients may submit transactions.<br/>
     * These endpoints MUST specify a port.<br/>
     * Endpoints in this list MAY supply either IP address or FQDN, but MUST
     * NOT supply both values for the same endpoint.<br/>
     * This list MUST NOT be empty.<br/>
     * This list MUST NOT contain more than `8` entries.
     * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ public Builder addServiceEndpoint( int index, com.hedera.hashgraph.sdk.proto.ServiceEndpoint.Builder builderForValue) { copyOnWrite(); instance.addServiceEndpoint(index, builderForValue.build()); return this; } /** *
     **
     * A list of service endpoints for gRPC calls.
     * <p>
     * These endpoints SHALL represent the published gRPC endpoints to which
     * clients may submit transactions.<br/>
     * These endpoints MUST specify a port.<br/>
     * Endpoints in this list MAY supply either IP address or FQDN, but MUST
     * NOT supply both values for the same endpoint.<br/>
     * This list MUST NOT be empty.<br/>
     * This list MUST NOT contain more than `8` entries.
     * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ public Builder addAllServiceEndpoint( java.lang.Iterable values) { copyOnWrite(); instance.addAllServiceEndpoint(values); return this; } /** *
     **
     * A list of service endpoints for gRPC calls.
     * <p>
     * These endpoints SHALL represent the published gRPC endpoints to which
     * clients may submit transactions.<br/>
     * These endpoints MUST specify a port.<br/>
     * Endpoints in this list MAY supply either IP address or FQDN, but MUST
     * NOT supply both values for the same endpoint.<br/>
     * This list MUST NOT be empty.<br/>
     * This list MUST NOT contain more than `8` entries.
     * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ public Builder clearServiceEndpoint() { copyOnWrite(); instance.clearServiceEndpoint(); return this; } /** *
     **
     * A list of service endpoints for gRPC calls.
     * <p>
     * These endpoints SHALL represent the published gRPC endpoints to which
     * clients may submit transactions.<br/>
     * These endpoints MUST specify a port.<br/>
     * Endpoints in this list MAY supply either IP address or FQDN, but MUST
     * NOT supply both values for the same endpoint.<br/>
     * This list MUST NOT be empty.<br/>
     * This list MUST NOT contain more than `8` entries.
     * 
* * repeated .proto.ServiceEndpoint service_endpoint = 4; */ public Builder removeServiceEndpoint(int index) { copyOnWrite(); instance.removeServiceEndpoint(index); return this; } /** *
     **
     * 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.<br/>
     * This field is REQUIRED and MUST NOT be empty.
     * 
* * bytes gossip_ca_certificate = 5; * @return The gossipCaCertificate. */ @java.lang.Override public com.google.protobuf.ByteString getGossipCaCertificate() { return instance.getGossipCaCertificate(); } /** *
     **
     * 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.<br/>
     * This field is REQUIRED and MUST NOT be empty.
     * 
* * bytes gossip_ca_certificate = 5; * @param value The gossipCaCertificate to set. * @return This builder for chaining. */ public Builder setGossipCaCertificate(com.google.protobuf.ByteString value) { copyOnWrite(); instance.setGossipCaCertificate(value); return this; } /** *
     **
     * 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.<br/>
     * This field is REQUIRED and MUST NOT be empty.
     * 
* * bytes gossip_ca_certificate = 5; * @return This builder for chaining. */ public Builder clearGossipCaCertificate() { copyOnWrite(); instance.clearGossipCaCertificate(); return this; } /** *
     **
     * 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/>
     * This field is OPTIONAL.
     * 
* * bytes grpc_certificate_hash = 6; * @return The grpcCertificateHash. */ @java.lang.Override public com.google.protobuf.ByteString getGrpcCertificateHash() { return instance.getGrpcCertificateHash(); } /** *
     **
     * 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/>
     * This field is OPTIONAL.
     * 
* * bytes grpc_certificate_hash = 6; * @param value The grpcCertificateHash to set. * @return This builder for chaining. */ public Builder setGrpcCertificateHash(com.google.protobuf.ByteString value) { copyOnWrite(); instance.setGrpcCertificateHash(value); return this; } /** *
     **
     * 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/>
     * This field is OPTIONAL.
     * 
* * bytes grpc_certificate_hash = 6; * @return This builder for chaining. */ public Builder clearGrpcCertificateHash() { copyOnWrite(); instance.clearGrpcCertificateHash(); return this; } /** *
     **
     * An administrative key controlled by the node operator.
     * <p>
     * This key MUST sign this transaction.<br/>
     * This key MUST sign each transaction to update this node.<br/>
     * This field MUST contain a valid `Key` value.<br/>
     * This field is REQUIRED and MUST NOT be set to an empty `KeyList`.
     * 
* * .proto.Key admin_key = 7; */ @java.lang.Override public boolean hasAdminKey() { return instance.hasAdminKey(); } /** *
     **
     * An administrative key controlled by the node operator.
     * <p>
     * This key MUST sign this transaction.<br/>
     * This key MUST sign each transaction to update this node.<br/>
     * This field MUST contain a valid `Key` value.<br/>
     * This field is REQUIRED and MUST NOT be set to an empty `KeyList`.
     * 
* * .proto.Key admin_key = 7; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Key getAdminKey() { return instance.getAdminKey(); } /** *
     **
     * An administrative key controlled by the node operator.
     * <p>
     * This key MUST sign this transaction.<br/>
     * This key MUST sign each transaction to update this node.<br/>
     * This field MUST contain a valid `Key` value.<br/>
     * This field is REQUIRED and MUST NOT be set to an empty `KeyList`.
     * 
* * .proto.Key admin_key = 7; */ public Builder setAdminKey(com.hedera.hashgraph.sdk.proto.Key value) { copyOnWrite(); instance.setAdminKey(value); return this; } /** *
     **
     * An administrative key controlled by the node operator.
     * <p>
     * This key MUST sign this transaction.<br/>
     * This key MUST sign each transaction to update this node.<br/>
     * This field MUST contain a valid `Key` value.<br/>
     * This field is REQUIRED and MUST NOT be set to an empty `KeyList`.
     * 
* * .proto.Key admin_key = 7; */ public Builder setAdminKey( com.hedera.hashgraph.sdk.proto.Key.Builder builderForValue) { copyOnWrite(); instance.setAdminKey(builderForValue.build()); return this; } /** *
     **
     * An administrative key controlled by the node operator.
     * <p>
     * This key MUST sign this transaction.<br/>
     * This key MUST sign each transaction to update this node.<br/>
     * This field MUST contain a valid `Key` value.<br/>
     * This field is REQUIRED and MUST NOT be set to an empty `KeyList`.
     * 
* * .proto.Key admin_key = 7; */ public Builder mergeAdminKey(com.hedera.hashgraph.sdk.proto.Key value) { copyOnWrite(); instance.mergeAdminKey(value); return this; } /** *
     **
     * An administrative key controlled by the node operator.
     * <p>
     * This key MUST sign this transaction.<br/>
     * This key MUST sign each transaction to update this node.<br/>
     * This field MUST contain a valid `Key` value.<br/>
     * This field is REQUIRED and MUST NOT be set to an empty `KeyList`.
     * 
* * .proto.Key admin_key = 7; */ public Builder clearAdminKey() { copyOnWrite(); instance.clearAdminKey(); return this; } // @@protoc_insertion_point(builder_scope:com.hedera.hapi.node.addressbook.NodeCreateTransactionBody) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "accountId_", "description_", "gossipEndpoint_", com.hedera.hashgraph.sdk.proto.ServiceEndpoint.class, "serviceEndpoint_", com.hedera.hashgraph.sdk.proto.ServiceEndpoint.class, "gossipCaCertificate_", "grpcCertificateHash_", "adminKey_", }; java.lang.String info = "\u0000\u0007\u0000\u0001\u0001\u0007\u0007\u0000\u0002\u0000\u0001\u1009\u0000\u0002" + "\u0208\u0003\u001b\u0004\u001b\u0005\n\u0006\n\u0007\u1009\u0001"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:com.hedera.hapi.node.addressbook.NodeCreateTransactionBody) private static final com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody DEFAULT_INSTANCE; static { NodeCreateTransactionBody defaultInstance = new NodeCreateTransactionBody(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( NodeCreateTransactionBody.class, defaultInstance); } public static com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy