Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class ConstructionNodeId.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<ConstructionNodeId,ConstructionNodeId.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<ConstructionNodeId,ConstructionNodeId.Builder>
com.hedera.hashgraph.sdk.proto.ConstructionNodeId.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ConstructionNodeIdOrBuilder,Cloneable
- Enclosing class:
ConstructionNodeId
public static final class ConstructionNodeId.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ConstructionNodeId,ConstructionNodeId.Builder>
implements ConstructionNodeIdOrBuilder
* A construction-scoped node id.Protobuf type
com.hedera.hapi.node.state.history.ConstructionNodeId-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The unique id of a history proof construction.* The unique id of a node.long* The unique id of a history proof construction.long* The unique id of a node.setConstructionId(long value) * The unique id of a history proof construction.setNodeId(long value) * The unique id of a node.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getConstructionId
public long getConstructionId()* The unique id of a history proof construction.
uint64 construction_id = 1;- Specified by:
getConstructionIdin interfaceConstructionNodeIdOrBuilder- Returns:
- The constructionId.
-
setConstructionId
* The unique id of a history proof construction.
uint64 construction_id = 1;- Parameters:
value- The constructionId to set.- Returns:
- This builder for chaining.
-
clearConstructionId
* The unique id of a history proof construction.
uint64 construction_id = 1;- Returns:
- This builder for chaining.
-
getNodeId
public long getNodeId()* The unique id of a node.
uint64 node_id = 2;- Specified by:
getNodeIdin interfaceConstructionNodeIdOrBuilder- Returns:
- The nodeId.
-
setNodeId
* The unique id of a node.
uint64 node_id = 2;- Parameters:
value- The nodeId to set.- Returns:
- This builder for chaining.
-
clearNodeId
* The unique id of a node.
uint64 node_id = 2;- Returns:
- This builder for chaining.
-