Module com.hedera.hashgraph.sdk
Class CrsPublicationTransactionBody.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<CrsPublicationTransactionBody,CrsPublicationTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<CrsPublicationTransactionBody,CrsPublicationTransactionBody.Builder>
com.hedera.hapi.services.auxiliary.hints.legacy.CrsPublicationTransactionBody.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,CrsPublicationTransactionBodyOrBuilder,Cloneable
- Enclosing class:
CrsPublicationTransactionBody
public static final class CrsPublicationTransactionBody.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<CrsPublicationTransactionBody,CrsPublicationTransactionBody.Builder>
implements CrsPublicationTransactionBodyOrBuilder
* A transaction body to publish a node's Common Reference String (CRS) to the network. This is used when node wants to update to reach the final CRS for network to use the hinTS protocolProtobuf type
com.hedera.hapi.services.auxiliary.hints.CrsPublicationTransactionBody-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The party's generated random CRS.* The party's proof of the CRS update.com.google.protobuf.ByteString* The party's generated random CRS.com.google.protobuf.ByteStringgetProof()* The party's proof of the CRS update.setNewCrs(com.google.protobuf.ByteString value) * The party's generated random CRS.setProof(com.google.protobuf.ByteString value) * The party's proof of the CRS update.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
-
getNewCrs
public com.google.protobuf.ByteString getNewCrs()* The party's generated random CRS.
bytes new_crs = 1;- Specified by:
getNewCrsin interfaceCrsPublicationTransactionBodyOrBuilder- Returns:
- The newCrs.
-
setNewCrs
* The party's generated random CRS.
bytes new_crs = 1;- Parameters:
value- The newCrs to set.- Returns:
- This builder for chaining.
-
clearNewCrs
* The party's generated random CRS.
bytes new_crs = 1;- Returns:
- This builder for chaining.
-
getProof
public com.google.protobuf.ByteString getProof()* The party's proof of the CRS update.
bytes proof = 2;- Specified by:
getProofin interfaceCrsPublicationTransactionBodyOrBuilder- Returns:
- The proof.
-
setProof
* The party's proof of the CRS update.
bytes proof = 2;- Parameters:
value- The proof to set.- Returns:
- This builder for chaining.
-
clearProof
* The party's proof of the CRS update.
bytes proof = 2;- Returns:
- This builder for chaining.
-